eventfd2 on score
create a file descriptor for event notification
sys_eventfd2(unsigned int count, int flags)
| number | 19 (0x13) |
|---|---|
| abi | common |
| kconfig | CONFIG_EVENTFD |
| entry point | sys_eventfd2 |
| since | Linux 3.7 or earlier (3.7 is the first release scanned for score) |
| man page | eventfd2(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r27 | 19, the syscall number |
r4 | unsigned int count |
r5 | int flags |
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 290
- x86 328
- arm64 19
- arm 356
- riscv64 19
- ia32 328
- x32 1073742114
- loongarch64 19
- ppc64 314
- ppc 314
- s390x 323
- mips64 5284
- mipsn32 6288
- mipso32 4325
- alpha 485
- arc 19
- blackfin 361, removed in 4.17
- cris 328, removed in 4.17
- csky 19
- frv 328, removed in 4.17
- hexagon 19
- ia64 1314, removed in 6.7
- m68k 324
- metag 19, removed in 4.17
- microblaze 340
- mn10300 329, removed in 4.17
- nds32 19, removed in 5.18
- nios2 19
- openrisc 19
- parisc 310
- sh 328
- sparc 318
- sparc64 318
- tilegx 19, removed in 4.17
- tilepro 19, removed in 4.17
- xtensa 316
Get this as JSON: https://api.syscall.sh/v2/syscalls/score/eventfd2?kernel=all