time on score
get time in seconds
sys_time(time_t *tloc)
| number | 1062 (0x426) |
|---|---|
| abi | common |
| entry point | sys_time |
| since | Linux 3.7 or earlier (3.7 is the first release scanned for score) |
| man page | time(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r27 | 1062, the syscall number |
r4 | time_t *tloc |
r4 | the return value |
Then run syscall to enter the kernel.
r7 is the error flag and r4 then holds the positive error number.
This architecture was removed from the Linux kernel in Linux 4.17. The newest release with a syscall table here is Linux 4.16. The other removed architectures live on the historical architectures page.
Same syscall on other architectures
- x64 201
- x86 13
- ia32 13
- x32 1073742025
- ppc64 13
- ppc 13
- mipso32 4013
- blackfin 13, removed in 4.17
- cris 13, removed in 4.17
- frv 13, removed in 4.17
- m32r 13, removed in 4.17
- m68k 13
- microblaze 13
- mn10300 13, removed in 4.17
- parisc 13
- sh 13
- sparc 231
Get this as JSON: https://api.syscall.sh/v2/syscalls/score/time?kernel=all