public inbox for linuxppc-dev@ozlabs.org
 help / color / mirror / Atom feed
* [PATCH] powerpc: fix powersave-nap sysctl registration
@ 2007-11-07 19:11 Johannes Berg
  2007-11-08 14:39 ` Johannes Berg
  0 siblings, 1 reply; 2+ messages in thread
From: Johannes Berg @ 2007-11-07 19:11 UTC (permalink / raw)
  To: Paul Mackerras; +Cc: Eric W. Biederman, linuxppc-dev list

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

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] powerpc: fix powersave-nap sysctl registration
  2007-11-07 19:11 [PATCH] powerpc: fix powersave-nap sysctl registration Johannes Berg
@ 2007-11-08 14:39 ` Johannes Berg
  0 siblings, 0 replies; 2+ messages in thread
From: Johannes Berg @ 2007-11-08 14:39 UTC (permalink / raw)
  To: Paul Mackerras; +Cc: linuxppc-dev list, Eric W. Biederman

[-- Attachment #1: Type: text/plain, Size: 213 bytes --]


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

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 828 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-11-08 14:38 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-11-07 19:11 [PATCH] powerpc: fix powersave-nap sysctl registration Johannes Berg
2007-11-08 14:39 ` Johannes Berg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox