syscall.sh / x86 / 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)
abii386
entry pointsys_timer_settime
sinceLinux 5.1
man pagetimer_settime(2)
sourceelixir.bootlin.com

Registers

registervalue
eax409, the syscall number
ebxtimer_t timer_id
ecxint flags
edxconst struct __kernel_itimerspec *new_setting
esistruct __kernel_itimerspec *old_setting
eaxthe return value

Then run int 0x80 to enter the kernel.

Same syscall on other architectures

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