syscall.sh / x86 / 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)
abii386
entry pointsys_epoll_ctl
sinceLinux 3.3
man pageepoll_ctl(2)
sourceelixir.bootlin.com

Registers

registervalue
eax255, the syscall number
ebxint epfd
ecxint op
edxint fd
esistruct epoll_event *event
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/epoll_ctl