syscall.sh / x32 / eventfd2
eventfd2
create a file descriptor for event notification
sys_eventfd2(unsigned int count, int flags)
| number | 1073742114 (0x40000122) |
|---|---|
| abi | common |
| entry point | sys_eventfd2 |
| since | Linux 3.4 |
| man page | eventfd2(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
rax | 1073742114, the syscall number |
rdi | unsigned int count |
rsi | int flags |
rax | the return value |
Then run syscall to enter the kernel.
Same syscall on other architectures
- x64 290
- x86 328
- arm64 19
- arm 356
- riscv64 19
- loongarch64 19
- ppc64 314
- ppc 314
- s390x 323
- mips64 5284
- mipsn32 6288
- mipso32 4325
- alpha 485
- arc 19
- csky 19
- hexagon 19
- m68k 324
- microblaze 340
- nios2 19
- openrisc 19
- parisc 310
- sh 328
- sparc 318
- sparc64 318
- xtensa 316
Get this as JSON: https://api.syscall.sh/v2/syscalls/x32/eventfd2