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

Registers

registervalue
r3409, the syscall number
r4timer_t timer_id
r5int flags
r6const struct __kernel_itimerspec *new_setting
r7struct __kernel_itimerspec *old_setting
r0the return value

Then run trapa #31 to enter the kernel.

Same syscall on other architectures

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