syscall.sh / x86 / eventfd2

eventfd2

create a file descriptor for event notification

sys_eventfd2(unsigned int count, int flags)
number328 (0x148)
abii386
entry pointsys_eventfd2
sinceLinux 3.3
man pageeventfd2(2)
sourceelixir.bootlin.com

Registers

registervalue
eax328, the syscall number
ebxunsigned int count
ecxint flags
eaxthe return value

Then run int 0x80 to enter the kernel.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/x86/eventfd2