Page MenuHomeFreeBSD

diff3: prefer posix_spawn over pdfork/execlp
ClosedPublic

Authored by bapt on Mar 25 2026, 10:09 AM.
Tags
None
Referenced Files
F162962013: D56075.diff
Sat, Jul 18, 5:54 PM
Unknown Object (File)
Wed, Jul 15, 7:14 AM
Unknown Object (File)
Wed, Jul 15, 7:14 AM
Unknown Object (File)
Fri, Jul 10, 11:06 PM
Unknown Object (File)
Sun, Jul 5, 11:44 PM
Unknown Object (File)
Mon, Jun 22, 7:15 AM
Unknown Object (File)
Sun, Jun 21, 6:29 PM
Unknown Object (File)
Jun 6 2026, 12:29 PM
Subscribers

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 71706
Build 68589: arc lint + arc unit

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.