syscall.sh / csky / setpriority

setpriority

get/set program scheduling priority

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

Registers

registervalue
r7140, the syscall number
a0int which
a1int who
a2int niceval
a0the return value

Then run trap 0 to enter the kernel.

Same syscall on other architectures

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