syscall.sh / openrisc / getpriority

getpriority

get/set program scheduling priority

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

Registers

registervalue
r11141, the syscall number
r3int which
r4int who
r11the return value

Then run l.sys 1 to enter the kernel.

Same syscall on other architectures

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