syscall.sh / sh / timer_settime64
timer_settime64
arm/disarm and fetch state of POSIX per-process timer
sys_timer_settime(timer_t timer_id, int flags, const struct __kernel_itimerspec *new_setting, struct __kernel_itimerspec *old_setting)
| number | 409 (0x199) |
|---|---|
| abi | common |
| entry point | sys_timer_settime |
| since | Linux 5.1 |
| man page | timer_settime(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r3 | 409, the syscall number |
r4 | timer_t timer_id |
r5 | int flags |
r6 | const struct __kernel_itimerspec *new_setting |
r7 | struct __kernel_itimerspec *old_setting |
r0 | the return value |
Then run trapa #31 to enter the kernel.
Same syscall on other architectures
- x86 409
- arm 409
- ppc 409
- mipsn32 6409
- mipso32 4409
- arc 409
- csky 409
- hexagon 409
- m68k 409
- microblaze 409
- nios2 409
- openrisc 409
- parisc 409
- sparc 409
- xtensa 409
Get this as JSON: https://api.syscall.sh/v2/syscalls/sh/timer_settime64