summaryrefslogtreecommitdiff
path: root/include/linux/cgroup-defs.h
diff options
context:
space:
mode:
authorChristian Brauner <christian.brauner@ubuntu.com>2020-02-05 14:26:21 +0100
committerTejun Heo <tj@kernel.org>2020-02-12 17:57:51 -0500
commitf3553220d4cc458d69f7da6e71a3a6097778bd28 (patch)
tree8b1323e0a992356c6999df4ea5fdc19e6850cedb /include/linux/cgroup-defs.h
parent5a5cf5cb30d7815c01035fde4b84edef85d11c68 (diff)
downloadlwn-f3553220d4cc458d69f7da6e71a3a6097778bd28.tar.gz
lwn-f3553220d4cc458d69f7da6e71a3a6097778bd28.zip
cgroup: add cgroup_may_write() helper
Add a cgroup_may_write() helper which we can use in the CLONE_INTO_CGROUP patch series to verify that we can write to the destination cgroup. Cc: Tejun Heo <tj@kernel.org> Cc: Johannes Weiner <hannes@cmpxchg.org> Cc: Li Zefan <lizefan@huawei.com> Cc: cgroups@vger.kernel.org Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com> Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'include/linux/cgroup-defs.h')
0 files changed, 0 insertions, 0 deletions