Page MenuHomeFreeBSD

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

Authored by inquire_JohnEricson.me on Thu, Aug 6, 4:08 AM.

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 75411
Build 72294: arc lint + arc unit