syscall.sh / csky / getpriority

getpriority

get/set program scheduling priority

sys_getpriority(int which, int who)
number141 (0x8d)
abicommon
entry pointsys_getpriority
sinceLinux 4.20
man pagegetpriority(2)
sourceelixir.bootlin.com

Registers

registervalue
r7141, the syscall number
a0int which
a1int who
a0the return value

Then run trap 0 to enter the kernel.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/csky/getpriority