Linux: Pass size argument of epoll_create to the kernel
authorFlorian Weimer <fweimer@redhat.com>
Thu, 22 Dec 2022 16:22:28 +0000 (17:22 +0100)
committerFlorian Weimer <fweimer@redhat.com>
Thu, 22 Dec 2022 16:23:23 +0000 (17:23 +0100)
commit3c66c9600e285a42f042dd596859664b1d1372a7
tree74b427376b43ff5a5b500f4695cd4954f7415409
parent9ffeabdf2e5078d8e8a4158e9b6be2ac2c616220
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.

Fixes commit c1c0dea38833751f36a145c32 ("Linux: Remove epoll_create,
inotify_init from syscalls.list") and commit d1d23b134244d59c4d6ef2295
("Lninux: consolidate epoll_create implementation").

Reviewed-by: Carlos O'Donell <carlos@redhat.com>
sysdeps/unix/sysv/linux/epoll_create.c