]> git.proxmox.com Git - mirror_ubuntu-disco-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)
commit61cf693159d6a968a7014e24905143f71ed8ddcf
tree595a4bddf8b005f7345cc123b19f4da1f5d07aa7
parent288f02bbb6e9609cbaf1eb7a9cb97ae45ce090b2
[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