mirror of https://github.com/mkerrisk/man-pages
namespaces.7: Note initial values of hostname and domainname in a new UTS namespace
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
ed9e645a84
commit
ae4452ab98
|
@ -418,6 +418,16 @@ and can be retrieved using
|
|||
and
|
||||
.BR getdomainname (2).
|
||||
.PP
|
||||
.PP
|
||||
When a process creates a new UTS namespace using
|
||||
.BR clone (2)
|
||||
or
|
||||
.BR unshare (2)
|
||||
with the
|
||||
.BR CLONE_NEWUTS
|
||||
flag, the hostname and domain of the new UTS namespace are copied
|
||||
from the corresponding values in the caller's UTS namespace.
|
||||
.PP
|
||||
Use of UTS namespaces requires a kernel that is configured with the
|
||||
.B CONFIG_UTS_NS
|
||||
option.
|
||||
|
|
Loading…
Reference in New Issue