From: Johannes Berg <johannes@sipsolutions.net>
To: Paul Mackerras <paulus@samba.org>
Cc: "Eric W. Biederman" <ebiederm@xmission.com>,
linuxppc-dev list <linuxppc-dev@ozlabs.org>
Subject: [PATCH] powerpc: fix powersave-nap sysctl registration
Date: Wed, 07 Nov 2007 20:11:43 +0100 [thread overview]
Message-ID: <1194462703.5996.0.camel@johannes.berg> (raw)
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,
},
{}
next reply other threads:[~2007-11-08 14:35 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-11-07 19:11 Johannes Berg [this message]
2007-11-08 14:39 ` [PATCH] powerpc: fix powersave-nap sysctl registration Johannes Berg
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1194462703.5996.0.camel@johannes.berg \
--to=johannes@sipsolutions.net \
--cc=ebiederm@xmission.com \
--cc=linuxppc-dev@ozlabs.org \
--cc=paulus@samba.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox