syscall.sh / x32 / time
time
get time in seconds
sys_time(__kernel_old_time_t *tloc)
| number | 1073742025 (0x400000c9) |
|---|---|
| abi | common |
| entry point | sys_time |
| since | Linux 3.4 |
| man page | time(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
rax | 1073742025, the syscall number |
rdi | __kernel_old_time_t *tloc |
rax | the return value |
Then run syscall to enter the kernel.
Same syscall on other architectures
Get this as JSON: https://api.syscall.sh/v2/syscalls/x32/time