syscall.sh / x64 / eventfd
eventfd
create a file descriptor for event notification
sys_eventfd(unsigned int count)
| number | 284 (0x11c) |
|---|---|
| abi | common |
| entry point | sys_eventfd |
| since | Linux 3.3 |
| man page | eventfd(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
rax | 284, the syscall number |
rdi | unsigned int count |
rax | the return value |
Then run syscall to enter the kernel.
Same syscall on other architectures
- x86 323
- arm 351
- x32 1073742108
- ppc64 307
- ppc 307
- s390x 318
- mips64 5278
- mipsn32 6282
- mipso32 4319
- alpha 478
- m68k 319
- microblaze 323
- parisc 304
- sh 323
- sparc 313
- sparc64 313
- xtensa 306
Get this as JSON: https://api.syscall.sh/v2/syscalls/x64/eventfd