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)
Sat, May 9, 4:19 PM
Unknown Object (File)
Sat, May 9, 4:14 PM
Unknown Object (File)
Wed, Apr 29, 1:23 PM
Unknown Object (File)
Wed, Apr 29, 1:13 PM
Unknown Object (File)
Wed, Apr 29, 7:14 AM
Unknown Object (File)
Wed, Apr 29, 7:08 AM
Unknown Object (File)
Tue, Apr 28, 7:38 PM
Unknown Object (File)
Tue, Apr 28, 7:29 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