Re: [PATCH] sysctl: fix restrict write access to dmesg_restrict

From: Phillip Lougher
Date: Fri Mar 30 2012 - 21:58:24 EST


On Sat, Mar 31, 2012 at 1:55 AM, Andrew Morton
<akpm@xxxxxxxxxxxxxxxxxxxx> wrote:
>
> Presumably someone else fiddled with the file, patch(1) misapplied the
> hunk and I didn't notice.
>

That was my guess, the repeated near identical sysfs entries is
confusing patch. The stable kernels also suffer from this
misapplication, but the misapplication is random, for instance I
noticed here

http://www.mail-archive.com/stable@xxxxxxxxxxxxxxxx/msg07097.html

that the patch has been misapplied to suid_dumpable. It looks like
all of the stable kernels need to be separately checked, and if
necessary different patches need to be generated.

> Send a fix?

My original email has the fix...

Phillip
--
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/