Page MenuHomeFreeBSD

Update posix_spawn for POSIX 2024
ClosedPublic

Authored by kib on Apr 2 2026, 8:12 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, May 17, 12:13 AM
Unknown Object (File)
Thu, May 14, 9:39 AM
Unknown Object (File)
Thu, May 14, 6:22 AM
Unknown Object (File)
Thu, May 14, 4:47 AM
Unknown Object (File)
Wed, May 13, 6:49 PM
Unknown Object (File)
Wed, May 13, 6:49 PM
Unknown Object (File)
Sun, May 10, 5:37 PM
Unknown Object (File)
Sat, May 9, 4:19 PM
Subscribers

Details

Summary
posix_spawn_file_action_addopen.3: ignoring close failure is now approved


posix_spawn: actions chdir and fchdir are now required by POSIX

Drop the _np suffix.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

kib requested review of this revision.Apr 2 2026, 8:12 AM

Apart from the manpage nits, LGTM.

lib/libc/gen/posix_spawn.3
449

This also needs a posix_spawn_file_actions_addchdir entry.

451

Hm, was this one also standardized?

This revision is now accepted and ready to land.Apr 2 2026, 7:25 PM
kib marked 2 inline comments as done.

Fix manpage.
Switch test to use non-_np names.

This revision now requires review to proceed.Apr 3 2026, 3:05 AM
This revision is now accepted and ready to land.Apr 3 2026, 7:45 AM