syscall.sh / parisc / nice
nice
change process priority
sys_nice(int increment)
| number | 34 (0x22) |
|---|---|
| abi | common |
| entry point | sys_nice |
| since | Linux 5.0 |
| man page | nice(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r20 | 34, the syscall number |
r26 | int increment |
r28 | the return value |
Then run ble 0x100(%sr2, %r0) to enter the kernel.
Same syscall on other architectures
Get this as JSON: https://api.syscall.sh/v2/syscalls/parisc/nice