syscall.sh / sparc / getpriority
getpriority
get/set program scheduling priority
sys_getpriority(int which, int who)
| number | 100 (0x64) |
|---|---|
| abi | common |
| entry point | sys_getpriority |
| since | Linux 5.0 |
| man page | getpriority(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
g1 | 100, the syscall number |
o0 | int which |
o1 | int who |
o0 | the return value |
Then run t 0x10 to enter the kernel.
Same syscall on other architectures
- x64 140
- x86 96
- arm64 141
- arm 96
- riscv64 141
- x32 1073741964
- loongarch64 141
- ppc64 96
- ppc 96
- s390x 96
- mips64 5137
- mipsn32 6137
- mipso32 4096
- alpha 100
- arc 141
- csky 141
- hexagon 141
- m68k 96
- microblaze 96
- nios2 141
- openrisc 141
- parisc 96
- sh 96
- sparc64 100
- xtensa 132
Get this as JSON: https://api.syscall.sh/v2/syscalls/sparc/getpriority