timer_create on score
create a POSIX per-process timer
sys_timer_create(clockid_t which_clock, struct sigevent *timer_event_spec, timer_t *created_timer_id)
| number | 107 (0x6b) |
|---|---|
| abi | common |
| kconfig | CONFIG_POSIX_TIMERS |
| entry point | sys_timer_create |
| since | Linux 3.7 or earlier (3.7 is the first release scanned for score) |
| man page | timer_create(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r27 | 107, the syscall number |
r4 | clockid_t which_clock |
r5 | struct sigevent *timer_event_spec |
r6 | timer_t *created_timer_id |
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 222
- x86 259
- arm64 107
- arm 257
- riscv64 107
- ia32 259
- x32 1073742350
- loongarch64 107
- ppc64 240
- ppc 240
- s390x 254
- mips64 5216
- mipsn32 6220
- mipso32 4257
- alpha 414
- arc 107
- blackfin 260, removed in 4.17
- cris 259, removed in 4.17
- csky 107
- frv 259, removed in 4.17
- hexagon 107
- ia64 1248, removed in 6.7
- m32r 259, removed in 4.17
- m68k 254
- metag 107, removed in 4.17
- microblaze 259
- mn10300 259, removed in 4.17
- nds32 107, removed in 5.18
- nios2 107
- openrisc 107
- parisc 250
- sh 259
- sparc 266
- sparc64 266
- tilegx 107, removed in 4.17
- tilepro 107, removed in 4.17
- xtensa 248
Get this as JSON: https://api.syscall.sh/v2/syscalls/score/timer_create?kernel=all