syscall.sh / sh / getpriority

getpriority

get/set program scheduling priority

sys_getpriority(int which, int who)
number96 (0x60)
abicommon
entry pointsys_getpriority
sinceLinux 5.0
man pagegetpriority(2)
sourceelixir.bootlin.com

Registers

registervalue
r396, the syscall number
r4int which
r5int who
r0the return value

Then run trapa #31 to enter the kernel.

Same syscall on other architectures

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