syscall.sh / arc / setpriority

setpriority

get/set program scheduling priority

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

Registers

registervalue
r8140, the syscall number
r0int which
r1int who
r2int niceval
r0the return value

Then run trap0 to enter the kernel.

Same syscall on other architectures

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