From: Michael Kerrisk Date: Fri, 9 Oct 2020 21:47:01 +0000 (+0200) Subject: epoll_ctl.2: epoll instances can be nested to a maximum depth of 5 X-Git-Tag: man-pages-5.09~178 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2c1b51b14b5de6b7c2181ae363c325eaf3228f81;p=thirdparty%2Fman-pages.git epoll_ctl.2: epoll instances can be nested to a maximum depth of 5 This limit appears to be an off-by-one count against EP_MAX_NESTS (4). Verified by experiment. Signed-off-by: Michael Kerrisk --- diff --git a/man2/epoll_ctl.2 b/man2/epoll_ctl.2 index 3b3da485b8..13b6cd4de8 100644 --- a/man2/epoll_ctl.2 +++ b/man2/epoll_ctl.2 @@ -382,7 +382,8 @@ refers to an epoll instance. refers to an epoll instance and this .B EPOLL_CTL_ADD operation would result in a circular loop of epoll instances -monitoring one another. +monitoring one another or a nesting depth of epoll instances +greater than 5. .TP .B ENOENT .I op