mirror of https://github.com/torvalds/linux.git
docs: namespace: Tweak and reword resource control doc
Fix the document title and reword the phrasing to active voice. Signed-off-by: Joel Savitz <jsavitz@redhat.com> Message-ID: <20250421161723.1138903-1-jsavitz@redhat.com> Signed-off-by: Jonathan Corbet <corbet@lwn.net>
This commit is contained in:
parent
6c2f0b28d7
commit
c0fe189b59
|
|
@ -1,17 +1,17 @@
|
||||||
===========================
|
====================================
|
||||||
Namespaces research control
|
User namespaces and resource control
|
||||||
===========================
|
====================================
|
||||||
|
|
||||||
There are a lot of kinds of objects in the kernel that don't have
|
The kernel contains many kinds of objects that either don't have
|
||||||
individual limits or that have limits that are ineffective when a set
|
individual limits or that have limits which are ineffective when
|
||||||
of processes is allowed to switch user ids. With user namespaces
|
a set of processes is allowed to switch their UID. On a system
|
||||||
enabled in a kernel for people who don't trust their users or their
|
where the admins don't trust their users or their users' programs,
|
||||||
users programs to play nice this problems becomes more acute.
|
user namespaces expose the system to potential misuse of resources.
|
||||||
|
|
||||||
Therefore it is recommended that memory control groups be enabled in
|
In order to mitigate this, we recommend that admins enable memory
|
||||||
kernels that enable user namespaces, and it is further recommended
|
control groups on any system that enables user namespaces.
|
||||||
that userspace configure memory control groups to limit how much
|
Furthermore, we recommend that admins configure the memory control
|
||||||
memory user's they don't trust to play nice can use.
|
groups to limit the maximum memory usable by any untrusted user.
|
||||||
|
|
||||||
Memory control groups can be configured by installing the libcgroup
|
Memory control groups can be configured by installing the libcgroup
|
||||||
package present on most distros editing /etc/cgrules.conf,
|
package present on most distros editing /etc/cgrules.conf,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue