aboutsummaryrefslogtreecommitdiffstats
path: root/man2
diff options
context:
space:
mode:
Diffstat (limited to 'man2')
-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: