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
Unknown Object (File)
Wed, Aug 26, 7:35 AM
Unknown Object (File)
Tue, Aug 25, 9:47 PM
Unknown Object (File)
Tue, Aug 25, 1:24 PM
Unknown Object (File)
Tue, Aug 25, 12:13 PM
Unknown Object (File)
Sun, Aug 23, 1:24 PM
Unknown Object (File)
Sun, Aug 23, 9:31 AM
Unknown Object (File)
Fri, Aug 21, 1:22 PM
Unknown Object (File)
Thu, Aug 20, 1:40 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