mirror of
https://github.com/boykopovar/AnyPS5.git
synced 2026-12-04 16:40:32 +00:00
1019 B
1019 B
libkernel
change [getpriority]
- getpriority (libkernel) - A
PRIO_USERsetpriorityof 0 or more throws:doniceruns on every process of that user the caller can see, which depends on the console's jail. A title is taken to run jailed, so a negative nice fails withEACCES(PRIV_SCHED_SETPRIORITY); a payload process accepted -25 and -5. Both calls follow FreeBSD 11.4'ssys_getpriorityandsys_setpriorityfor the one guest process, taken to lead its own process group (seekill): ids other than 0, its pid or its user id fail withESRCH, otherwhichvalues withEINVAL. APRIO_PROCESSset of 0 or more returns 0 without storing, as PS5 firmware 13.60 did in a payload process;PRIO_PGRPdoes the same, since it runs thatdoniceon the guest alone, not measured. Nothing in the tree callssetpriority