]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
epoll_ctl.2: epoll instances can be nested to a maximum depth of 5
authorMichael Kerrisk <mtk.manpages@gmail.com>
Fri, 9 Oct 2020 21:47:01 +0000 (23:47 +0200)
committerMichael Kerrisk <mtk.manpages@gmail.com>
Fri, 9 Oct 2020 21:49:54 +0000 (23:49 +0200)
This limit appears to be an off-by-one count against
EP_MAX_NESTS (4).

Verified by experiment.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
man2/epoll_ctl.2

index 3b3da485b80a77c06bbac64ea2a5f049afe9edaf..13b6cd4de81a815b8240527b79c917a6f4140736 100644 (file)
@@ -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