]> git.baikalelectronics.ru Git - kernel.git/commit
[sysctl] Fix breakage on systems with older glibc
authorAndi Kleen <andi@firstfloor.org>
Wed, 16 Dec 2009 11:28:44 +0000 (12:28 +0100)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 16 Dec 2009 20:36:18 +0000 (12:36 -0800)
commit13a130183c1c3ca75f4273c271b872ca4d0ef850
tree595a4bddf8b005f7345cc123b19f4da1f5d07aa7
parent5ed67cfb0972404d0f2fec449d649e93b3d2a243
[sysctl] Fix breakage on systems with older glibc

As predicted during code review, the sysctl(2) changes made systems with
old glibc nearly unusable.  About every command gives a:

  warning: process `ls' used the deprecated sysctl system call with 1.4

warning in the log.

I see this on a SUSE 10.0 system with glibc 2.3.5.

Don't warn for this common case.

Signed-off-by: Andi Kleen <ak@linux.intel.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
kernel/sysctl_binary.c