setpriority on ia32
get/set program scheduling priority
sys_setpriority(int which, int who, int niceval)
| number | 97 (0x61) |
|---|---|
| abi | i386 |
| entry point | sys_setpriority |
| since | Linux 3.3 or earlier (3.3 is the first release scanned for ia32) |
| man page | setpriority(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
eax | 97, the syscall number |
ebx | int which |
ecx | int who |
edx | int niceval |
eax | the return value |
Then run int 0x80 to enter the kernel.
This compat ABI is only available when the kernel is built with CONFIG_IA32_EMULATION.
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
- parisc 97
- sh 97
- sparc 96
- sparc64 96
- xtensa 133
Get this as JSON: https://api.syscall.sh/v2/syscalls/ia32/setpriority