syscall.sh / sh / eventfd

eventfd

create a file descriptor for event notification

sys_eventfd(unsigned int count)
number323 (0x143)
abicommon
entry pointsys_eventfd
sinceLinux 5.0
man pageeventfd(2)
sourceelixir.bootlin.com

Registers

registervalue
r3323, the syscall number
r4unsigned int count
r0the return value

Then run trapa #31 to enter the kernel.

Same syscall on other architectures

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