mirror of https://github.com/mkerrisk/man-pages
getdomainname.2: Note user namespace requirements for CAP_SYS_ADMIN
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
6e87fb0b6e
commit
2ff964df8f
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue