Re: 2.6.24-rc1 sysctl table check failed on PowerMac

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Mikael Pettersson <mikpe@...>
Cc: <paulus@...>, <linux-kernel@...>, <linuxppc-dev@...>
Date: Saturday, October 27, 2007 - 2:34 pm

On Sat, Oct 27, 2007 at 07:57:38PM +0200, Mikael Pettersson wrote:

[PATCH] powerpc: fix sysctl whining re kernel.powersave-nap

kernel was marked with 0755. Everywhere else it's 0555.

Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
---

 arch/powerpc/kernel/idle.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/arch/powerpc/kernel/idle.c
+++ b/arch/powerpc/kernel/idle.c
@@ -122,7 +122,7 @@ static ctl_table powersave_nap_sysctl_root[] = {
 	{
 		.ctl_name	= CTL_KERN,
 		.procname	= "kernel",
-		.mode		= 0755,
+		.mode		= 0555,
 		.child		= powersave_nap_ctl_table,
 	},
 	{}
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
2.6.24-rc1 sysctl table check failed on PowerMac, Mikael Pettersson, (Sat Oct 27, 1:57 pm)
Re: 2.6.24-rc1 sysctl table check failed on PowerMac, Alexey Dobriyan, (Sat Oct 27, 2:34 pm)
[PATCH] Dump stack during sysctl registration failure, Alexey Dobriyan, (Sat Oct 27, 2:43 pm)
Re: [PATCH] Dump stack during sysctl registration failure, Eric W. Biederman, (Sun Oct 28, 12:20 am)