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 <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2020-10-09 23:47:01 +02:00
parent be1586b2f6
commit 2c1b51b14b
1 changed files with 2 additions and 1 deletions

View 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