Page MenuHomeFreeBSD

diff3: prefer posix_spawn over pdfork/execlp
ClosedPublic

Authored by bapt on Mar 25 2026, 10:09 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Jun 6, 12:29 PM
Unknown Object (File)
Wed, Jun 3, 2:08 AM
Unknown Object (File)
Mon, May 25, 3:47 PM
Unknown Object (File)
Thu, May 14, 2:26 PM
Unknown Object (File)
Wed, May 13, 11:24 PM
Unknown Object (File)
Wed, May 13, 11:17 PM
Unknown Object (File)
May 11 2026, 1:21 PM
Unknown Object (File)
May 5 2026, 8:59 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.