[POWERPC] Fix sysctl table check failure on PowerMac
authorAlexey Dobriyan <adobriyan@gmail.com>
Sat, 27 Oct 2007 18:34:53 +0000 (05:34 +1100)
committerPaul Mackerras <paulus@samba.org>
Thu, 8 Nov 2007 03:15:30 +0000 (14:15 +1100)
kernel was marked with 0755. Everywhere else it's 0555.

Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/kernel/idle.c

index abd2957..c3cf0e8 100644 (file)
@@ -122,7 +122,7 @@ static ctl_table powersave_nap_sysctl_root[] = {
        {
                .ctl_name       = CTL_KERN,
                .procname       = "kernel",
-               .mode           = 0755,
+               .mode           = 0555,
                .child          = powersave_nap_ctl_table,
        },
        {}