sysfs: change permissions for /sys from 0755 to 0555
authorVitaly Kuznetsov <vitty@altlinux.ru>
Tue, 17 Jan 2012 12:17:22 +0000 (12:17 +0000)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 24 Jan 2012 23:57:53 +0000 (15:57 -0800)
commitc56d8a7362665d165ba992b6b7a8d6c13a26eafc
tree2474f442a9ed8d2928a172285390e900b9e68d9e
parent2897a563a55442379e5e59ec68c229a7f27fb7c6
sysfs: change permissions for /sys from 0755 to 0555

There is a misleading difference between /proc and /sys permissions, /proc is 0555 and /sys is 0755. But
as it is impossible to create or unlink something in /sys it would be nice to have same permissions.

Signed-off-by: Vitaly Kuznetsov <vitty@altlinux.ru>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
fs/sysfs/mount.c