syscall.sh / x64 / setpriority

setpriority

get/set program scheduling priority

sys_setpriority(int which, int who, int niceval)
number141 (0x8d)
abicommon
entry pointsys_setpriority
sinceLinux 3.3
man pagesetpriority(2)
sourceelixir.bootlin.com

Registers

registervalue
rax141, the syscall number
rdiint which
rsiint who
rdxint niceval
raxthe return value

Then run syscall to enter the kernel.

Same syscall on other architectures

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