syscall.sh / parisc / settimeofday

settimeofday

get / set time

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

Registers

registervalue
r2079, the syscall number
r26struct __kernel_old_timeval *tv
r25struct timezone *tz
r28the return value

Then run ble 0x100(%sr2, %r0) to enter the kernel.

Same syscall on other architectures

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