mirror of
https://github.com/boykopovar/AnyPS5.git
synced 2026-10-31 12:35:51 +00:00
A clock id with CPUCLOCK_PROCESS_BIT threw in clock_gettime and clock_getres. FreeBSD 11 get_cputime reads the process's CPU time, or fails with EINVAL when pget finds no such process, and kern_clock_getres gives every CPU clock the CPU time resolution without a lookup. The guest's own process clock now reads CLOCK_PROCESS_CPUTIME_ID, any other fails with EINVAL, as kill already finds no other process.