eventfd on score
create a file descriptor for event notification
sys_eventfd(unsigned int count)
| number | 1044 (0x414) |
|---|---|
| abi | common |
| kconfig | CONFIG_EVENTFD |
| entry point | sys_eventfd |
| since | Linux 3.7 or earlier (3.7 is the first release scanned for score) |
| man page | eventfd(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r27 | 1044, the syscall number |
r4 | unsigned int count |
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 284
- x86 323
- arm 351
- ia32 323
- x32 1073742108
- ppc64 307
- ppc 307
- s390x 318
- mips64 5278
- mipsn32 6282
- mipso32 4319
- alpha 478
- blackfin 350, removed in 4.17
- cris 323, removed in 4.17
- frv 323, removed in 4.17
- ia64 1309, removed in 6.7
- m32r 323, removed in 4.17
- m68k 319
- microblaze 323
- mn10300 324, removed in 4.17
- parisc 304
- sh 323
- sparc 313
- sparc64 313
- xtensa 306
Get this as JSON: https://api.syscall.sh/v2/syscalls/score/eventfd?kernel=all