syscall.sh / ppc / eventfd2
eventfd2
create a file descriptor for event notification
sys_eventfd2(unsigned int count, int flags)
| number | 314 (0x13a) |
|---|---|
| abi | common |
| entry point | sys_eventfd2 |
| since | Linux 5.0 |
| man page | eventfd2(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r0 | 314, the syscall number |
r3 | unsigned int count |
r4 | int flags |
r3 | the return value |
Then run sc to enter the kernel.
Same syscall on other architectures
- x64 290
- x86 328
- arm64 19
- arm 356
- riscv64 19
- x32 1073742114
- loongarch64 19
- ppc64 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/ppc/eventfd2