mirror of
https://github.com/apple/container.git
synced 2026-10-13 09:39:18 +00:00
Replace the old platform-gated Signals helper in ContainerizationOS with a Signal struct in Containerization. Signal provides named constants for common signals (.kill, .term, etc.), platform-specific namespaces (Signal.Linux for rtmin/stkflt/pwr, Signal.Darwin for emt/info), string parsing, and ExpressibleByIntegerLiteral support. LinuxContainer, LinuxProcess, and LinuxPod kill APIs now take Signal instead of raw Int32.
OS
This target contains general useful OS related definitions or wrappers.