syscall.sh / x64 / timer_settime

timer_settime

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)
number223 (0xdf)
abicommon
entry pointsys_timer_settime
sinceLinux 3.3
man pagetimer_settime(2)
sourceelixir.bootlin.com

Registers

registervalue
rax223, the syscall number
rditimer_t timer_id
rsiint flags
rdxconst struct __kernel_itimerspec *new_setting
r10struct __kernel_itimerspec *old_setting
raxthe return value

Then run syscall to enter the kernel.

Same syscall on other architectures

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