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