syscall.sh / x32 / sched_setparam
sched_setparam
set and get scheduling parameters
sys_sched_setparam(pid_t pid, struct sched_param *param)
| number | 1073741966 (0x4000008e) |
|---|---|
| abi | common |
| entry point | sys_sched_setparam |
| since | Linux 3.4 |
| man page | sched_setparam(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
rax | 1073741966, the syscall number |
rdi | pid_t pid |
rsi | struct sched_param *param |
rax | the return value |
Then run syscall to enter the kernel.
Same syscall on other architectures
- x64 142
- x86 154
- arm64 118
- arm 154
- riscv64 118
- loongarch64 118
- ppc64 154
- ppc 154
- s390x 154
- mips64 5139
- mipsn32 6139
- mipso32 4158
- alpha 330
- arc 118
- csky 118
- hexagon 118
- m68k 154
- microblaze 154
- nios2 118
- openrisc 118
- parisc 154
- sh 154
- sparc 241
- sparc64 241
- xtensa 212
Get this as JSON: https://api.syscall.sh/v2/syscalls/x32/sched_setparam