The sysctl check code complains about a writable directory,
fix it.

Signed-off-by: Johannes Berg <[EMAIL PROTECTED]>
Cc: Eric W. Biederman <[EMAIL PROTECTED]>
---
 arch/powerpc/kernel/idle.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- everything.orig/arch/powerpc/kernel/idle.c  2007-11-07 19:54:56.787884927 
+0100
+++ everything/arch/powerpc/kernel/idle.c       2007-11-07 20:00:27.965924749 
+0100
@@ -122,7 +122,7 @@ static ctl_table powersave_nap_sysctl_ro
        {
                .ctl_name       = CTL_KERN,
                .procname       = "kernel",
-               .mode           = 0755,
+               .mode           = 0555,
                .child          = powersave_nap_ctl_table,
        },
        {}


_______________________________________________
Linuxppc-dev mailing list
Linuxppc-dev@ozlabs.org
https://ozlabs.org/mailman/listinfo/linuxppc-dev

Reply via email to