aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Kerrisk <mtk.manpages@gmail.com>2016-06-26 16:24:37 +0200
committerMichael Kerrisk <mtk.manpages@gmail.com>2016-09-12 14:04:45 +0100
commit2ff964df8f5f35811525f1c0cf76bcff43bbcb54 (patch)
tree2633c5f79a55cc50145470f0b043cef1d62b641c
parent6e87fb0b6e1e2053a5e3e4354fc4ec2b2efbad47 (diff)
downloadman-pages-2ff964df8f5f35811525f1c0cf76bcff43bbcb54.tar.gz
getdomainname.2: Note user namespace requirements for CAP_SYS_ADMIN
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
-rw-r--r--man2/getdomainname.25
1 files changed, 3 insertions, 2 deletions
diff --git a/man2/getdomainname.2 b/man2/getdomainname.2
index 33aadc316f..ba459a1fee 100644
--- a/man2/getdomainname.2
+++ b/man2/getdomainname.2
@@ -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: