syscall.sh / s390x / settimeofday

settimeofday

get / set time

sys_settimeofday(struct __kernel_old_timeval *tv, struct timezone *tz)
number79 (0x4f)
abicommon
entry pointsys_settimeofday
sinceLinux 4.16
man pagesettimeofday(2)
sourceelixir.bootlin.com

Registers

registervalue
r179, the syscall number
r2struct __kernel_old_timeval *tv
r3struct timezone *tz
r2the return value

Then run svc 0 to enter the kernel.

Same syscall on other architectures

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