syscall.sh / arc / 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)
number409 (0x199)
abi32
entry pointsys_timer_settime
sinceLinux 5.1
man pagetimer_settime(2)
sourceelixir.bootlin.com

Registers

registervalue
r8409, the syscall number
r0timer_t timer_id
r1int flags
r2const struct __kernel_itimerspec *new_setting
r3struct __kernel_itimerspec *old_setting
r0the return value

Then run trap0 to enter the kernel.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/arc/timer_settime64