epoll_create: fail with EINVAL if size is non-positive
commitd4f987e4ac44e4e5ca2bcf68365b4c2b77bdf2d0
authorKristina Martsenko <kristina.martsenko@arm.com>
Wed, 24 Aug 2022 14:26:52 +0000 (24 15:26 +0100)
committerRich Felker <dalias@aerifal.cx>
Thu, 25 Aug 2022 00:35:47 +0000 (24 20:35 -0400)
tree88efc0c35d9c99f514c0bb2a44c34509f5aefdaa
parent2e5fff43dd7fc808197744c67cca7908ac19bb4f
epoll_create: fail with EINVAL if size is non-positive

This is a part of the interface contract defined in the Linux man
page (official for a Linux-specific interface) and asserted by test
cases in the Linux Test Project (LTP).
src/linux/epoll.c