syscall.sh / parisc / sched_setattr
sched_setattr
set and get scheduling policy and attributes
sys_sched_setattr(pid_t pid, struct sched_attr *attr, unsigned int flags)
| number | 334 (0x14e) |
|---|---|
| abi | common |
| entry point | sys_sched_setattr |
| since | Linux 5.0 |
| man page | sched_setattr(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r20 | 334, the syscall number |
r26 | pid_t pid |
r25 | struct sched_attr *attr |
r24 | unsigned int flags |
r28 | the return value |
Then run ble 0x100(%sr2, %r0) to enter the kernel.
Same syscall on other architectures
- x64 314
- x86 351
- arm64 274
- arm 380
- riscv64 274
- x32 1073742138
- loongarch64 274
- ppc64 355
- ppc 355
- s390x 345
- mips64 5309
- mipsn32 6313
- mipso32 4349
- alpha 508
- arc 274
- csky 274
- hexagon 274
- m68k 349
- microblaze 381
- nios2 274
- openrisc 274
- sh 370
- sparc 343
- sparc64 343
- xtensa 334
Get this as JSON: https://api.syscall.sh/v2/syscalls/parisc/sched_setattr