[LinuxPPS] 13 Jul 19:51 - devcgroup: fix permission check when adding entry to child cgroup
linuxpps: Li Zefan <>
webmaster at enneenne.com
Sun Jul 20 13:15:08 CEST 2008
devcgroup: fix permission check when adding entry to child cgroup
# cat devices.list
c 1:3 r
# echo 'c 1:3 w' > sub/devices.allow
# cat sub/devices.list
c 1:3 w
As illustrated, the parent group has no write permission to /dev/null, so
it's child should not be allowed to add this write permission.
Signed-off-by: Li Zefan
Acked-by: Serge Hallyn
Cc: Serge Hallyn
Cc: Paul Menage
Cc: Pavel Emelyanov
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds
security/device_cgroup.c
URL: http://gitweb.enneenne.com/?p=linuxpps;a=commit;h=ec229e830060091b9be63c8f873c1b2407a82821
More information about the LinuxPPS
mailing list