gethostname.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:16 +02:00
parent af53fcb53e
commit 6e87fb0b6e
1 changed files with 2 additions and 1 deletions

View File

@ -126,7 +126,8 @@ For
.BR sethostname (),
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)).
.SH CONFORMING TO
SVr4, 4.4BSD (these interfaces first appeared in 4.2BSD).
POSIX.1-2001 and POSIX.1-2008 specify