In article <20031111160200.72cee93a.davem@xxxxxxxxxx> (at Tue, 11 Nov 2003
16:02:00 -0800), "David S. Miller" <davem@xxxxxxxxxx> says:
> I'm asking Linus what we should do here. It's a big change to
> make to fix this bug, and if he thinks so too we'll just use
> your original patch which is a safer version of the fix for 2.6.0
> purposes. If that happens, we'll integrate this nicer version
> for 2.6.1 or something like this.
Yes, it is the reason why I did not submit this fisrt;
to avoid "big" change before 2.6.0.
Just in case Linus accept this change now, please apply following
on top of the patch because I sent you wrong version with typo...
--- linux26-sysctl/kernel/sysctl.c.orig Wed Nov 12 12:25:35 2003
+++ linux26-sysctl+fix/kernel/sysctl.c Wed Nov 12 12:27:18 2003
@@ -1413,7 +1413,7 @@
*p++ = '\t';
- if (conv(&neg, &lval, i, 1, data))
+ if (conv(&neg, &lval, i, 0, data))
sprintf(p, "%s%lu", neg ? "-" : "", lval);
Hideaki YOSHIFUJI @ USAGI Project <yoshfuji@xxxxxxxxxxxxxx>
GPG FP: 9022 65EB 1ECF 3AD1 0BDF 80D8 4807 F894 E062 0EEA