syscall.sh / sh / epoll_ctl

epoll_ctl

control interface for an epoll file descriptor

sys_epoll_ctl(int epfd, int op, int fd, struct epoll_event *event)
number255 (0xff)
abicommon
entry pointsys_epoll_ctl
sinceLinux 5.0
man pageepoll_ctl(2)
sourceelixir.bootlin.com

Registers

registervalue
r3255, the syscall number
r4int epfd
r5int op
r6int fd
r7struct epoll_event *event
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/epoll_ctl