Repository navigation
Conversation
|
Windows test: head AI-assisted (Claude Code). |
|
Rebase handoff — rebased onto current Verified on Linux (CachyOS, kernel 7.2.9, GCC 16.2.1, Ninja, Release,
To pick it up: |
695ed15 to
1d44a10
Compare
1d44a10 to
99927ab
Compare
PS5MC (PPSA99420, Kodi 22) imports clock_settime (d7nUj1LOdDU) from libkernel.prx, one reference, after sigwaitinfo in its import order. Predicted stop once the imports ahead of it are covered (not a run): FAIL: unresolved ELF import d7nUj1LOdDU from libkernel.prx The NID is computed with tools/nid_names.py and matches aerolib. Follows FreeBSD 11.4 sys/kern/kern_time.c sys_clock_settime and kern_clock_settime (8c639945a44588f6cfdddfb057bb5aad88735da0) for a root caller: EFAULT for a null time (copyin), EINVAL for any clock but CLOCK_REALTIME and for a negative tv_sec or a tv_nsec outside 0 to 999999999. A valid CLOCK_REALTIME request throws with the requested time named, since the host clock must not be set and no guest clock offset is kept. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> (cherry picked from commit 43dc8bc)
99927ab to
98700ab
Compare
|
Closing: this is the |
What
Carries the
clock_settimecommit from #3632 on currentmain, preserving its original commit author. It follows FreeBSD 11.4 argument validation: null time returnsEFAULT, unsupported clocks and invalid seconds/nanoseconds returnEINVAL. A validCLOCK_REALTIMErequest throws with the requested timestamp because the emulator does not set the host clock or track a guest clock offset. The console privilege behavior remains documented in TechnicalDebt.This covers only the
clock_settimeexport from #3632; the other exports in that issue remain separate work.Tested
BUILD_TESTING=ON: CMake configure completed.guest_freebsd_clocks_testsand ranctest -R '^guest_freebsd_clocks$': 1/1 passed.python3 tools/check_conventions.py --base upstream/main: passed.git diff --check: passed.Checklist
main; no other open PR implements the same functionNotImplemented_nid_no_patch); silent stubs are listed in TechnicalDebt.mdfiles or images added to the repository