[PATCH] powerpc: fix powersave-nap sysctl registration
Johannes Berg
johannes at sipsolutions.net
Thu Nov 8 06:11:43 EST 2007
The sysctl check code complains about a writable directory,
fix it.
Signed-off-by: Johannes Berg <johannes at sipsolutions.net>
Cc: Eric W. Biederman <ebiederm at xmission.com>
---
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,
},
{}
More information about the Linuxppc-dev
mailing list