From 2c1b51b14b5de6b7c2181ae363c325eaf3228f81 Mon Sep 17 00:00:00 2001 From: Michael Kerrisk Date: Fri, 9 Oct 2020 23:47:01 +0200 Subject: [PATCH] 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 --- man2/epoll_ctl.2 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- 2.47.2