Author: Florian Weimer Date: Thu Dec 22 15:42:20 2022 +0100 Linux: Pass size argument of epoll_create to the kernel The kernel actually verifies it, and a garbage value in the register causes improper system call failures. diff --git a/sysdeps/unix/sysv/linux/epoll_create.c b/sysdeps/unix/sysv/linux/epoll_create.c index afb1921637c25013..cb6a67e602494018 100644 --- a/sysdeps/unix/sysv/linux/epoll_create.c +++ b/sysdeps/unix/sysv/linux/epoll_create.c @@ -25,7 +25,7 @@ int epoll_create (int size) { #ifdef __NR_epoll_create - return INLINE_SYSCALL_CALL (epoll_create); + return INLINE_SYSCALL_CALL (epoll_create, size); #else if (size <= 0) {