syscall.sh / openrisc / setpriority

setpriority

get/set program scheduling priority

sys_setpriority(int which, int who, int niceval)
number140 (0x8c)
abicommon
entry pointsys_setpriority
sinceLinux 3.7
man pagesetpriority(2)
sourceelixir.bootlin.com

Registers

registervalue
r11140, the syscall number
r3int which
r4int who
r5int niceval
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/setpriority