syscall.sh / parisc / setpriority
setpriority
get/set program scheduling priority
sys_setpriority(int which, int who, int niceval)
| number | 97 (0x61) |
|---|---|
| abi | common |
| entry point | sys_setpriority |
| since | Linux 5.0 |
| man page | setpriority(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r20 | 97, the syscall number |
r26 | int which |
r25 | int who |
r24 | int niceval |
r28 | the return value |
Then run ble 0x100(%sr2, %r0) to enter the kernel.
Same syscall on other architectures
- x64 141
- x86 97
- arm64 140
- arm 97
- riscv64 140
- x32 1073741965
- loongarch64 140
- ppc64 97
- ppc 97
- s390x 97
- mips64 5138
- mipsn32 6138
- mipso32 4097
- alpha 96
- arc 140
- csky 140
- hexagon 140
- m68k 97
- microblaze 97
- nios2 140
- openrisc 140
- sh 97
- sparc 96
- sparc64 96
- xtensa 133
Get this as JSON: https://api.syscall.sh/v2/syscalls/parisc/setpriority