]> git.ipfire.org Git - thirdparty/man-pages.git/blame - man7/uts_namespaces.7
clone.2: Remove wording that suggests CLONE_NEW* flags are for containers
[thirdparty/man-pages.git] / man7 / uts_namespaces.7
CommitLineData
57829a0e
MK
1.\" Copyright (c) 2019 by Michael Kerrisk <mtk.manpages@gmail.com>
2.\"
3.\" %%%LICENSE_START(VERBATIM)
4.\" Permission is granted to make and distribute verbatim copies of this
5.\" manual provided the copyright notice and this permission notice are
6.\" preserved on all copies.
7.\"
8.\" Permission is granted to copy and distribute modified versions of this
9.\" manual under the conditions for verbatim copying, provided that the
10.\" entire resulting derived work is distributed under the terms of a
11.\" permission notice identical to this one.
12.\"
13.\" Since the Linux kernel and libraries are constantly changing, this
14.\" manual page may be incorrect or out-of-date. The author(s) assume no
15.\" responsibility for errors or omissions, or for damages resulting from
16.\" the use of the information contained herein. The author(s) may not
17.\" have taken the same level of care in the production of this manual,
18.\" which is licensed free of charge, as they might when working
19.\" professionally.
20.\"
21.\" Formatted or processed versions of this manual, if unaccompanied by
22.\" the source, must acknowledge the copyright and authors of this work.
23.\" %%%LICENSE_END
24.\"
25.\"
26.TH UTS_NAMESPACES 7 2019-08-02 "Linux" "Linux Programmer's Manual"
27.SH NAME
28namespaces \- overview of Linux UTS namespaces
29.SH DESCRIPTION
30UTS namespaces provide isolation of two system identifiers:
31the hostname and the NIS domain name.
32These identifiers are set using
33.BR sethostname (2)
34and
35.BR setdomainname (2),
36and can be retrieved using
37.BR uname (2),
38.BR gethostname (2),
39and
40.BR getdomainname (2).
41.PP
42.PP
43When a process creates a new UTS namespace using
44.BR clone (2)
45or
46.BR unshare (2)
47with the
48.BR CLONE_NEWUTS
49flag, the hostname and domain of the new UTS namespace are copied
50from the corresponding values in the caller's UTS namespace.
51.PP
52Use of UTS namespaces requires a kernel that is configured with the
53.B CONFIG_UTS_NS
54option.
55.SH SEE ALSO
56.BR nsenter (1),
57.BR unshare (1),
58.BR clone (2),
252bba44 59.BR getdomainname (2),
27f942ad 60.BR gethostname (2),
57829a0e 61.BR setns (2),
252bba44 62.BR uname (2),
57829a0e
MK
63.BR unshare (2),
64.BR namespaces (7)