namespaces.7: Add ENOTTY error() for ioctl namespace operations

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2016-12-11 20:48:25 +01:00
parent 519949ecad
commit 58615b43fb
1 changed files with 4 additions and 1 deletions

View File

@ -386,7 +386,7 @@ file to determine whether that is the owning/parent namespace.
Either of these
.BR ioctl (2)
operations can fail with the following error:
operations can fail with the following errors:
.TP
.B EPERM
The requested namespace is outside of the caller's namespace scope.
@ -394,6 +394,9 @@ This error can occur if, for example, the owning user namespace is an
ancestor of the caller's current user namespace.
It can also occur on attempts to obtain the parent of the initial
user or PID namespace.
.TP
.B ENOTTY
The operation is not supported by this kernel version.
.PP
Additionally, the
.B NS_GET_PARENT