Page MenuHomeFreeBSD

tests: exercise the `pdnew` family of syscalls
Needs ReviewPublic

Authored by inquire_JohnEricson.me on Aug 6 2026, 4:08 AM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Sep 18, 4:17 PM
Unknown Object (File)
Fri, Sep 18, 12:25 AM
Unknown Object (File)
Sat, Sep 12, 3:44 PM
Unknown Object (File)
Fri, Sep 11, 7:05 AM
Unknown Object (File)
Thu, Sep 10, 1:06 AM
Unknown Object (File)
Tue, Sep 8, 1:02 AM
Unknown Object (File)
Mon, Sep 7, 4:05 PM
Unknown Object (File)
Sun, Sep 6, 2:38 PM
Subscribers

Details

Reviewers
markj
glebius
kib
Summary

Cover pdnew, pdsetfd, and pdstart: basic spawn and wait
(exit status of both true and false), installing and replacing
stdin/stdout descriptors with pdsetfd, interpreter scripts,
destroying an embryonic process by closing its descriptor before
pdstart, and the ENOEXEC/EBADF error cases.

Note: This patch series overall is very big, more than I feel competent
reviewing, so I feel a bit ill-mannered submitting it yet. Certainly,
everyone should feel free to ignore it until my "unix socket connectat"
series is landed. I am submitting it now anyway simply because I think
the end functionality is very cool, and I don't want it to grow dusty on
my machine.

Assisted-by: Claude Code (Claude Opus 4.8/5 and Fable 5)

Diff Detail

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