timerfd_gettime on score
timers that notify via file descriptors
sys_timerfd_gettime(int ufd, struct itimerspec *otmr)
| number | 87 (0x57) |
|---|---|
| abi | common |
| kconfig | CONFIG_TIMERFD |
| entry point | sys_timerfd_gettime |
| since | Linux 3.7 or earlier (3.7 is the first release scanned for score) |
| man page | timerfd_gettime(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r27 | 87, the syscall number |
r4 | int ufd |
r5 | struct itimerspec *otmr |
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 287
- x86 326
- arm64 87
- arm 354
- riscv64 87
- ia32 326
- x32 1073742111
- loongarch64 87
- ppc64 312
- ppc 312
- s390x 321
- mips64 5281
- mipsn32 6285
- mipso32 4322
- alpha 483
- arc 87
- blackfin 359, removed in 4.17
- cris 326, removed in 4.17
- csky 87
- frv 326, removed in 4.17
- hexagon 87
- ia64 1312, removed in 6.7
- m68k 322
- metag 87, removed in 4.17
- microblaze 327
- mn10300 327, removed in 4.17
- nds32 87, removed in 5.18
- nios2 87
- openrisc 87
- parisc 308
- sh 326
- sparc 316
- sparc64 316
- tilegx 87, removed in 4.17
- tilepro 87, removed in 4.17
- xtensa 314
Get this as JSON: https://api.syscall.sh/v2/syscalls/score/timerfd_gettime?kernel=all