Re: [PATCH] capabilities: add capability cgroup controller

From
Andrew Morton <akpm@linux-foundation.org>
Date
2016-06-23 23:46:18
Also in
lkml
Reply to
Topi Miettinen, 2016-06-23
On Thu, 23 Jun 2016 18:07:10 +0300 Topi Miettinen [off-list ref] wrote:
There are many basic ways to control processes, including capabilities,
cgroups and resource limits. However, there are far fewer ways to find
out useful values for the limits, except blind trial and error.

Currently, there is no way to know which capabilities are actually used.
Even the source code is only implicit, in-depth knowledge of each
capability must be used when analyzing a program to judge which
capabilities the program will exercise.

Add a new cgroup controller for monitoring of capabilities
in the cgroup.
I'm having trouble understanding how valuable this feature is to our
users, and that's a rather important thing!

Perhaps it would help if you were to explain your motivation:
particular use cases which benefited from this, for example.
Thread (26 messages) 26 messages, 9 authors, last reply 2016-07-10
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help