syscall.sh / s390x / eventfd

eventfd

create a file descriptor for event notification

sys_eventfd(unsigned int count)
number318 (0x13e)
abicommon
entry pointsys_eventfd
sinceLinux 4.16
man pageeventfd(2)
sourceelixir.bootlin.com

Registers

registervalue
r1318, the syscall number
r2unsigned int count
r2the return value

Then run svc 0 to enter the kernel.

Same syscall on other architectures

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