syscall.sh / mips64 / getpriority
getpriority
get/set program scheduling priority
sys_getpriority(int which, int who)
| number | 5137 (0x1411) |
|---|---|
| abi | n64 |
| entry point | sys_getpriority |
| since | Linux 5.0 |
| man page | getpriority(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
v0 | 5137, the syscall number |
a0 | int which |
a1 | int who |
v0 | the return value |
Then run syscall 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
- mipsn32 6137
- mipso32 4096
- alpha 100
- arc 141
- csky 141
- hexagon 141
- m68k 96
- microblaze 96
- nios2 141
- openrisc 141
- parisc 96
- sh 96
- sparc 100
- sparc64 100
- xtensa 132
Get this as JSON: https://api.syscall.sh/v2/syscalls/mips64/getpriority