user_namespaces.7: Document maximum nesting depth for user namespaces

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2014-06-02 11:28:01 +02:00
parent 8f99aa89d9
commit e56b6c42d1
1 changed files with 11 additions and 0 deletions

View File

@ -63,6 +63,17 @@ with the
.BR CLONE_NEWUSER
flag.
The kernel imposes (since version 3.11) a limit of 32 nested levels of
.\" commit 8742f229b635bf1c1c84a3dfe5e47c814c20b5c8
user namespaces.
.\" FIXME Explain the rationale for this limit. (What is the rationale?)
Calls to
.BR unshare (2)
or
.BR clone (2)
that would cause this limit to be exceeded fail with the error
.BR EUSERS .
Each process is a member of exactly one user namespace.
A process created via
.BR fork (2)