Thread (13 messages) 13 messages, 3 authors, 2018-01-10

Re: cgroups(7): documenting /sys/kernel/cgroup files

From: Tejun Heo <hidden>
Date: 2018-01-10 17:33:58
Also in: linux-man, lkml

Hello, Michael.

On Wed, Jan 10, 2018 at 06:31:20PM +0100, Michael Kerrisk (man-pages) wrote:
So, I am confused. According to Documentation/cgroup-v2.txt,
cgoup.threads is delegated:

[[
Model of Delegation
~~~~~~~~~~~~~~~~~~~

A cgroup can be delegated in two ways.  First, to a less privileged
user by granting write access of the directory and its "cgroup.procs",
"cgroup.threads" and "cgroup.subtree_control" files to the user.
Second, if the "nsdelegate" mount option is set, automatically to a
cgroup namespace on namespace creation.
]]

So, is that a mistake in that text file?
Yes, it is.  I probably copy&pasted from an earlier version where we
were marking threaded domains instead of threaded roots.  Will fix it
right away.

Thanks.

-- 
tejun
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help