syscall.sh / sparc / setitimer
setitimer
get or set value of an interval timer
sys_setitimer(int which, struct __kernel_old_itimerval *value, struct __kernel_old_itimerval *ovalue)
| number | 83 (0x53) |
|---|---|
| abi | common |
| entry point | sys_setitimer |
| since | Linux 5.0 |
| man page | setitimer(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
g1 | 83, the syscall number |
o0 | int which |
o1 | struct __kernel_old_itimerval *value |
o2 | struct __kernel_old_itimerval *ovalue |
o0 | the return value |
Then run t 0x10 to enter the kernel.
Same syscall on other architectures
- x64 38
- x86 104
- arm64 103
- arm 104
- riscv64 103
- x32 1073741862
- loongarch64 103
- ppc64 104
- ppc 104
- s390x 104
- mips64 5036
- mipsn32 6036
- mipso32 4104
- alpha 362
- arc 103
- csky 103
- hexagon 103
- m68k 104
- microblaze 104
- nios2 103
- openrisc 103
- parisc 104
- sh 104
- sparc64 83
- xtensa 134
Get this as JSON: https://api.syscall.sh/v2/syscalls/sparc/setitimer