| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2025-08-20 | std.c.darwin: cleanup, expose everything in std.c | Justus Klausecker | |
| This mainly just moves stuff around. Justifications for other changes: * `KEVENT.FLAGS` is backed by `c_uint` because that's what the `kevent64` flags param takes (according to the 'latest' manpage from 2008) * `MACH_RCV_NOTIFY` is a legacy name and `MACH_RCV_OVERWRITE` is deprecated (xnu/osfmk/mach/message.h), so I removed them. They were 0 anyway and thus couldn't be represented as a packed struct field. * `MACH.RCV` and `MACH.SEND` are technically the same 'type' because they can both be supplied at the same time to `mach_msg`. I decided to still keep them separate because naming works out better that way and all flags except for `MACH_MSG_STRICT_REPLY` aren't shared anyway. Both are part of a packed union `mach_msg_option_t` which supplies a helper function to combine the two types. * `PT` is backed by `c_int` because that's what `ptrace` takes as a request arg (according to the latest manpage from 2015) | |||
| 2025-03-24 | lib/std: PermissionDenied/AccessDenied cleanup and fallout | Pat Tullmann | |
| This PR consistently maps .ACCES into AccessDenied and .PERM into PermissionDenied. AccessDenied is returned if the file mode bit (user/group/other rwx bits) disallow access (errno was `EACCES`). PermissionDenied is returned if something else denies access (errno was `EPERM`) (immutable bit, SELinux, capabilities, etc). This somewhat subtle distinction is a POSIX thing. Most of the change is updating std.posix Error Sets to contain both errors, and then propagating the pair up through caller Error Sets. Fixes #16782 | |||
| 2024-12-16 | std.c.darwin.posix_spawn: fix signature | mlugg | |
| And change corresponding signature in `DarwinPosixSpawn`. | |||
| 2024-03-19 | fix compilation failures found by CI | Andrew Kelley | |
| 2024-03-19 | extract std.posix from std.os | Andrew Kelley | |
| closes #5019 | |||
