syscall.sh / s390x / sched_get_priority_max
sched_get_priority_max
get static priority range
sys_sched_get_priority_max(int policy)
| number | 159 (0x9f) |
|---|---|
| abi | common |
| entry point | sys_sched_get_priority_max |
| since | Linux 4.16 |
| man page | sched_get_priority_max(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r1 | 159, the syscall number |
r2 | int policy |
r2 | the return value |
Then run svc 0 to enter the kernel.
Same syscall on other architectures
- x64 146
- x86 159
- arm64 125
- arm 159
- riscv64 125
- x32 1073741970
- loongarch64 125
- ppc64 159
- ppc 159
- mips64 5143
- mipsn32 6143
- mipso32 4163
- alpha 335
- arc 125
- csky 125
- hexagon 125
- m68k 159
- microblaze 159
- nios2 125
- openrisc 125
- parisc 159
- sh 159
- sparc 246
- sparc64 246
- xtensa 216
Get this as JSON: https://api.syscall.sh/v2/syscalls/s390x/sched_get_priority_max