syscall.sh / m68k / 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 |
|---|---|
d0 | 97, the syscall number |
d1 | int which |
d2 | int who |
d3 | int niceval |
d0 | the return value |
Then run trap #0 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
- microblaze 97
- nios2 140
- openrisc 140
- parisc 97
- sh 97
- sparc 96
- sparc64 96
- xtensa 133
Get this as JSON: https://api.syscall.sh/v2/syscalls/m68k/setpriority