diff options
author | Christian Brauner <christian.brauner@ubuntu.com> | 2020-02-05 14:26:21 +0100 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2020-02-12 17:57:51 -0500 |
commit | f3553220d4cc458d69f7da6e71a3a6097778bd28 (patch) | |
tree | 8b1323e0a992356c6999df4ea5fdc19e6850cedb /include/linux/cgroup-defs.h | |
parent | 5a5cf5cb30d7815c01035fde4b84edef85d11c68 (diff) | |
download | lwn-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