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)
Thu, Aug 13, 1:08 AM
Unknown Object (File)
Thu, Aug 13, 12:40 AM
Unknown Object (File)
Thu, Aug 13, 12:29 AM
Unknown Object (File)
Wed, Aug 12, 7:06 PM
Unknown Object (File)
Tue, Aug 11, 10:00 PM
Unknown Object (File)
Tue, Aug 11, 6:31 PM
Unknown Object (File)
Tue, Aug 11, 6:30 PM
Unknown Object (File)
Mon, Aug 10, 11:55 AM
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