[PATCH] powerpc: fix powersave-nap sysctl registration

STALE6878d

2 messages, 1 author, 2007-11-08 · open the first message on its own page

[PATCH] powerpc: fix powersave-nap sysctl registration

From: Johannes Berg <johannes@sipsolutions.net>
Date: 2007-11-08 14:35:25

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

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Cc: Eric W. Biederman <redacted>
---
 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,
 	},
 	{}

Re: [PATCH] powerpc: fix powersave-nap sysctl registration

From: Johannes Berg <johannes@sipsolutions.net>
Date: 2007-11-08 14:38:25

On Wed, 2007-11-07 at 20:11 +0100, Johannes Berg wrote:
The sysctl check code complains about a writable directory,
fix it.
Sorry, I missed that patch that fixed it already, please ignore.

johannes
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help