twx-linux/kernel/cgroup
Eric W. Biederman 24f6008564 cgroup-v1: Require capabilities to set release_agent
The cgroup release_agent is called with call_usermodehelper.  The function
call_usermodehelper starts the release_agent with a full set fo capabilities.
Therefore require capabilities when setting the release_agaent.

Reported-by: Tabitha Sable <tabitha.c.sable@gmail.com>
Tested-by: Tabitha Sable <tabitha.c.sable@gmail.com>
Fixes: 81a6a5cdd2c5 ("Task Control Groups: automatic userspace notification of idle cgroups")
Cc: stable@vger.kernel.org # v2.6.24+
Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
2022-02-01 07:28:00 -10:00
..
cgroup-internal.h cgroup: Use open-time cgroup namespace for process migration perm checks 2022-01-06 11:02:29 -10:00
cgroup-v1.c cgroup-v1: Require capabilities to set release_agent 2022-02-01 07:28:00 -10:00
cgroup.c Merge branch 'for-5.17' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/cgroup 2022-01-11 09:14:37 -08:00
cpuset.c cpuset: Fix the bug that subpart_cpus updated wrongly in update_cpumask() 2022-01-26 06:49:30 -10:00
debug.c
freezer.c
legacy_freezer.c
Makefile
misc.c misc_cgroup: remove error log to avoid log flood 2021-09-20 07:35:38 -10:00
namespace.c
pids.c
rdma.c
rstat.c cgroup/rstat: check updated_next only for root 2022-01-06 11:50:34 -10:00