syscall.sh / nios2 / getpriority

getpriority

get/set program scheduling priority

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

Registers

registervalue
r2141, the syscall number
r4int which
r5int who
r2the return value

Then run trap to enter the kernel.

Same syscall on other architectures

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