syscall.sh / hexagon / setpriority

setpriority

get/set program scheduling priority

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

Registers

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

Then run trap0(#1) to enter the kernel.

Same syscall on other architectures

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