Page MenuHomeFreeBSD

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

Authored by inquire_JohnEricson.me on Thu, Aug 6, 4:08 AM.
Tags
None
Referenced Files
F166725831: D58689.id183607.diff
Sat, Aug 15, 9:27 PM
F166718211: D58689.id183508.diff
Sat, Aug 15, 8:44 PM
Unknown Object (File)
Thu, Aug 13, 11:44 PM
Unknown Object (File)
Thu, Aug 13, 8:38 PM
Unknown Object (File)
Thu, Aug 13, 2:52 PM
Unknown Object (File)
Wed, Aug 12, 7:44 PM
Unknown Object (File)
Tue, Aug 11, 11:16 PM
Unknown Object (File)
Tue, Aug 11, 5:18 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