]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
selftests: cgroup: Make cg_create() use 0755 for permission instead of 0644
authorTejun Heo <tj@kernel.org>
Thu, 6 Jan 2022 21:02:29 +0000 (11:02 -1000)
committerTejun Heo <tj@kernel.org>
Thu, 6 Jan 2022 21:02:29 +0000 (11:02 -1000)
commitb09c2baa56347ae65795350dfcc633dedb1c2970
treedd0892d5d609933a5f5f6660fffe8e8555dd119e
parente57457641613fef0d147ede8bd6a3047df588b95
selftests: cgroup: Make cg_create() use 0755 for permission instead of 0644

0644 is an odd perm to create a cgroup which is a directory. Use the regular
0755 instead. This is necessary for euid switching test case.

Reviewed-by: Michal Koutný <mkoutny@suse.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
tools/testing/selftests/cgroup/cgroup_util.c