android_kernel_motorola_sm6375/kernel/cgroup
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Eric W. Biederman 4ec7ffac46 UPSTREAM: 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 <[email protected]>
Tested-by: Tabitha Sable <[email protected]>
Fixes: 81a6a5cdd2 ("Task Control Groups: automatic userspace notification of idle cgroups")
Cc: [email protected] # v2.6.24+
Signed-off-by: "Eric W. Biederman" <[email protected]>
Signed-off-by: Tejun Heo <[email protected]>
(cherry picked from commit 24f6008564183aa120d07c03d9289519c2fe02af)
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Change-Id: If663568d24f781c58c882d69a5b81a9327c0e6fe
2022-02-05 13:19:09 +01:00
..
cgroup-internal.h
cgroup-v1.c UPSTREAM: cgroup-v1: Require capabilities to set release_agent 2022-02-05 13:19:09 +01:00
cgroup.c cgroup: Make rebind_subsystems() disable v2 controllers all at once 2021-11-17 09:48:34 +01:00
cpuset.c This is the 5.4.146 stable release 2021-09-15 14:01:16 +02:00
debug.c
freezer.c cgroup: freezer: don't change task and cgroups status unnecessarily 2019-12-31 16:45:06 +01:00
legacy_freezer.c
Makefile
namespace.c
pids.c cgroup: pids: use atomic64_t for pids->limit 2019-12-17 19:56:15 +01:00
rdma.c
rstat.c Revert "cgroup: Add memory barriers to plug cgroup_rstat_updated() race window" 2020-06-07 13:18:46 +02:00