Re: Preparation for Linux 3.0

From: Tetsuo Handa
Date: Thu Jun 02 2011 - 18:21:17 EST


Henrique de Moraes Holschuh wrote:
> On Thu, 02 Jun 2011, Tetsuo Handa wrote:
> > We need to widely announce that userland applications using branches based on
> > /proc/sys/kernel/osrelease need to be fixed.
>
> A debug patch to disclose any userspace application that touches that file
> would be of some help, I suppose?

Testing with a 2.6.39 kernel built with a patch

--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,6 @@
-VERSION = 2
-PATCHLEVEL = 6
-SUBLEVEL = 39
+VERSION = 3
+PATCHLEVEL = 0
+SUBLEVEL = 0
EXTRAVERSION =
NAME = Flesh-Eating Bats with Fangs

applied will be the best.

But a writable sysctl entry (or kernel boot command line option) that changes
the output of /proc/sys/kernel/osrelease may be of some 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/