Page MenuHomeFreeBSD

Update posix_spawn for POSIX 2024
ClosedPublic

Authored by kib on Thu, Apr 2, 8:12 AM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Apr 17, 2:50 AM
Unknown Object (File)
Wed, Apr 15, 1:44 PM
Unknown Object (File)
Wed, Apr 15, 12:45 PM
Unknown Object (File)
Tue, Apr 14, 10:32 AM
Unknown Object (File)
Tue, Apr 14, 4:05 AM
Unknown Object (File)
Tue, Apr 14, 1:12 AM
Unknown Object (File)
Tue, Apr 14, 12:06 AM
Unknown Object (File)
Mon, Apr 13, 11:38 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 Skipped
Unit
Tests Skipped

Event Timeline

kib requested review of this revision.Thu, Apr 2, 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.Thu, Apr 2, 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.Fri, Apr 3, 3:05 AM
This revision is now accepted and ready to land.Fri, Apr 3, 7:45 AM