feat(libkernel): add process, path and clock exports #3654
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/3654"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-11T14:54:17Z.
What
Carries the four commits from David’s ready branch linked in issue #3632, preserving his authorship. Adds
getpriority,chflags,chroot, andclock_settimefor the predicted PS5MC and Porpoise import stops. The issue records the pinned FreeBSD 11.4 references and the behavior each export can support.The implementation follows the FreeBSD error checks where the relevant guest state is known.
getpriorityreports nice 0 for the single guest process and throws for unknown priority identities;chflagsandchrootresolve guest paths and return lookup errors, then throw when the host cannot reproduce the requested state; validCLOCK_REALTIMEupdates throw instead of changing the host clock. The limitations and unverified console details are recorded in TechnicalDebt. These title stops remain predicted; no title run has observed them.This is independent of #3650. I kept the
Process.cppand TechnicalDebt changes in separate hunks and verified Git can merge both branches without conflicts.Tested
guest_sched_priority,guest_filesystem,guest_kernel_sys, andguest_freebsd_clockspassed 4/4.python3 tools/check_conventions.py --base upstream/mainandgit diff --check upstream/main...HEADpassed.Checklist
main; no other open PR implements these functionsNotImplemented_nid_no_patch); silent stubs are listed in TechnicalDebt.mdfiles or images added to the repositoryImported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-11T14:54:38Z.
Progress report (
a11c8f7→1ab09ca)📈 System libraries: 85.83% (+0.02%, +4 implemented functions)
✅ 4 implemented
chflags_nid_postfixclock_settime_nid_postfixgetpriority_nid_postfixchroot_nid_postfixImported from boykopovar/AnyPS5. Originally posted by blawesom on 2026-10-11T15:19:36Z.
Independent pre-review on Linux (full CI runs only happen on manual trigger, so recording one): CachyOS, kernel 7.2.9, GCC 16.2.1, Ninja, Release,
BUILD_TESTING=ON.tools/check_conventions.py --base origin/mainpasses.Imported from boykopovar/AnyPS5. Originally posted by oneandonlydean on 2026-10-11T23:58:39Z.
Same as #3651:
getpriority,chflags,chrootandclock_settimeare predicted stops only, and three of them throw once the arguments are valid. Reopen when a title run stops at one, one function per PR.Pull request closed