Re: [PATCH] Dump stack during sysctl registration failure

From: Eric W. Biederman
Date: Sun Oct 28 2007 - 00:22:15 EST


Alexey Dobriyan <adobriyan@xxxxxxxxx> writes:

> On Sat, Oct 27, 2007 at 10:34:53PM +0400, wrote:
>> --- 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,
>
> Speaking of...
>
>
> [PATCH] Dump stack during sysctl registration failure
>
> Let's make immediately obvious from where sysctl comes from and
> messages itself more noticeable.
>
> Signed-off-by: Alexey Dobriyan <adobriyan@xxxxxxxxx>

Acked-by: "Eric W. Biederman" <ebiederm@xxxxxxxxxxxx>

For ambiguous cases like directories this looks like a serious
help.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/