syscall.sh / nios2 / setpriority

setpriority

get/set program scheduling priority

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

Registers

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