syscall.sh / sparc / settimeofday

settimeofday

get / set time

sys_settimeofday(struct __kernel_old_timeval *tv, struct timezone *tz)
number122 (0x7a)
abicommon
entry pointsys_settimeofday
sinceLinux 5.0
man pagesettimeofday(2)
sourceelixir.bootlin.com

Registers

registervalue
g1122, the syscall number
o0struct __kernel_old_timeval *tv
o1struct timezone *tz
o0the return value

Then run t 0x10 to enter the kernel.

Same syscall on other architectures

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