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)
Sun, Oct 18, 4:24 PM
Unknown Object (File)
Thu, Oct 15, 10:54 AM
Unknown Object (File)
Tue, Oct 13, 5:23 PM
Unknown Object (File)
Fri, Oct 9, 10:30 PM
Unknown Object (File)
Tue, Oct 6, 9:34 PM
Unknown Object (File)
Tue, Oct 6, 7:56 PM
Unknown Object (File)
Tue, Oct 6, 7:41 AM
Unknown Object (File)
Tue, Oct 6, 7:39 AM
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