getdomainname.2: Note user namespace requirements for CAP_SYS_ADMIN

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2016-06-26 16:24:37 +02:00
parent 6e87fb0b6e
commit 2ff964df8f
1 changed files with 3 additions and 2 deletions

View File

@ -96,9 +96,10 @@ pointed outside of user address space.
was negative or too large.
.TP
.B EPERM
the caller is unprivileged (Linux: does not have the
The caller did not have the
.B CAP_SYS_ADMIN
capability).
capability in the user namespace associated with its UTS namespace (see
.BR namespaces (7)).
.PP
.BR getdomainname ()
can fail with the following errors: