syscall.sh / x86 / getpriority

getpriority

get/set program scheduling priority

sys_getpriority(int which, int who)
number96 (0x60)
abii386
entry pointsys_getpriority
sinceLinux 3.3
man pagegetpriority(2)
sourceelixir.bootlin.com

Registers

registervalue
eax96, the syscall number
ebxint which
ecxint who
eaxthe return value

Then run int 0x80 to enter the kernel.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/x86/getpriority