mirror of
https://github.com/boykopovar/AnyPS5.git
synced 2026-12-04 16:40:32 +00:00
A title lacks the system credentials that the 13.60 kernel requires for a type 3 set and for real-time priorities 896 to 959, so those return EINVAL. Only the sets the kernel lets a title through still throw. The debt fragment now changes only the rtprio_thread entry. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1.3 KiB
1.3 KiB
libkernel
change [rtprio_thread
- rtprio_thread (libkernel) - a set the firmware 13.60 kernel lets a title through throws, as applying a priority is not modelled: real-time (2, 10) 256 to 767 (a per-process check at kernel-13.60 @ 0xffffffff9e890811 may still refuse it), idle 960, and type 11 615 to 895 (
rtp_to_pri@ 0xffffffff9e890790). Every other set returnsEINVAL, taking a title to lack the system credentials that open type 3 and real-time 896 to 959 (@ 0xffffffff9e8906b6, 0xffffffff9e8907ed); no path returnsEPERM. Function 2 returnsESRCHas a PS5 payload measured, though 13.60 gives an uncredentialed callerEINVAL(@ 0xffffffff9e890596); function 5EINVAL.RTP_LOOKUPreports the policy's type (10 or 2) and priority, 3 with 0 without real-time attributes (unmeasured). A missing thread givesESRCHbefore a nullrtpriogivesEFAULT
add Functional
- pthread_setconcurrency, pthread_getconcurrency (libkernel) -
pthread_setconcurrencystores 0 or more and returnsEINVAL(not errno) below 0, as libthr does;pthread_getconcurrencyreturns it, a hint. Morrowind (mshivam019/morrowind-ps5) imports them andrtprio_thread