Page MenuHomeFreeBSD

diff3: prefer posix_spawn over pdfork/execlp
ClosedPublic

Authored by bapt on Mar 25 2026, 10:09 AM.
Tags
None
Referenced Files
F155038240: D56075.id174278.diff
Thu, Apr 30, 9:09 PM
F155037920: D56075.id174278.diff
Thu, Apr 30, 9:05 PM
Unknown Object (File)
Wed, Apr 29, 5:06 AM
Unknown Object (File)
Tue, Apr 28, 7:34 PM
Unknown Object (File)
Tue, Apr 28, 7:25 PM
Unknown Object (File)
Tue, Apr 28, 1:53 PM
Unknown Object (File)
Tue, Apr 28, 3:48 AM
Unknown Object (File)
Mon, Apr 27, 5:20 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.