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)
Fri, Sep 18, 12:47 PM
Unknown Object (File)
Thu, Sep 17, 1:40 PM
Unknown Object (File)
Wed, Sep 9, 5:39 PM
Unknown Object (File)
Tue, Sep 8, 10:01 AM
Unknown Object (File)
Mon, Aug 31, 1:14 AM
Unknown Object (File)
Sat, Aug 29, 6:00 PM
Unknown Object (File)
Aug 23 2026, 7:01 AM
Unknown Object (File)
Aug 16 2026, 4:59 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