syscall.sh / sh / sched_setparam
sched_setparam
set and get scheduling parameters
sys_sched_setparam(pid_t pid, struct sched_param *param)
| number | 154 (0x9a) |
|---|---|
| abi | common |
| entry point | sys_sched_setparam |
| since | Linux 5.0 |
| man page | sched_setparam(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r3 | 154, the syscall number |
r4 | pid_t pid |
r5 | struct sched_param *param |
r0 | the return value |
Then run trapa #31 to enter the kernel.
Same syscall on other architectures
- x64 142
- x86 154
- arm64 118
- arm 154
- riscv64 118
- x32 1073741966
- 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
- sparc 241
- sparc64 241
- xtensa 212
Get this as JSON: https://api.syscall.sh/v2/syscalls/sh/sched_setparam