epoll_ctl should throw EINVAL for loops
lib - userland libraries
The libc shim for epoll should convert the ELOOP emitted by /dev/poll into EINVAL to stay true to the expectations set forth by Linux.
Updated by Electric Monk almost 6 years ago
- Status changed from New to Closed
commit 57a0264b71e479ed0dc19299607d662043907cb6 Author: Patrick Mooney <email@example.com> Date: 2016-10-11T15:01:08.000Z 7422 dpioctl should pay attention to FKIOCTL 7423 epoll_ctl should throw EINVAL for loops 7424 epoll should not leave dangling polldat_t entries 7425 devpoll write feigns success in the face of EINTR 7426 epoll_ctl not allowed to emit EINTR Reviewed by: Jerry Jelinek <firstname.lastname@example.org> Reviewed by: Bryan Cantrill <email@example.com> Approved by: Dan McDonald <firstname.lastname@example.org>