Page MenuHomeFreeBSD

diff3: prefer posix_spawn over pdfork/execlp
ClosedPublic

Authored by bapt on Mar 25 2026, 10:09 AM.
Tags
None
Referenced Files
F167470921: D56075.diff
Sat, Aug 22, 12:31 AM
Unknown Object (File)
Wed, Aug 19, 3:54 PM
Unknown Object (File)
Wed, Aug 19, 2:28 PM
Unknown Object (File)
Tue, Aug 18, 8:43 PM
Unknown Object (File)
Tue, Aug 18, 8:36 PM
Unknown Object (File)
Tue, Aug 18, 5:14 PM
Unknown Object (File)
Tue, Aug 18, 5:13 PM
Unknown Object (File)
Mon, Aug 17, 11:18 PM
Subscribers

Diff Detail

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

Event Timeline

bapt requested review of this revision.Mar 25 2026, 10:09 AM

Unrelated note: it seems that pipe fds leak to both pd13 and pd23 processes. This is perhaps not too important but just not accurate. And since we care about 'security' by entering cap mode, ability of the children to affect input of siblings or parent might be considered undesirable.

usr.bin/diff3/diff3.c
1092

Spurious blank line

This revision is now accepted and ready to land.Mar 25 2026, 9:57 PM
This revision was automatically updated to reflect the committed changes.