The patch titled sysctl: fix sysctl breakage on systems with older glibc has been removed from the -mm tree. Its filename was sysctl-fix-sysctl-breakage-on-systems-with-older-glibc.patch This patch was dropped because it was merged into mainline or a subsystem tree The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/ ------------------------------------------------------ Subject: sysctl: fix sysctl breakage on systems with older glibc From: Andi Kleen <andi@xxxxxxxxxxxxxx> 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 s ystem 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@xxxxxxxxxxxxxxx> Cc: "Eric W. Biederman" <ebiederm@xxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- kernel/sysctl_binary.c | 7 +++++++ 1 file changed, 7 insertions(+) diff -puN kernel/sysctl_binary.c~sysctl-fix-sysctl-breakage-on-systems-with-older-glibc kernel/sysctl_binary.c --- a/kernel/sysctl_binary.c~sysctl-fix-sysctl-breakage-on-systems-with-older-glibc +++ a/kernel/sysctl_binary.c @@ -1399,6 +1399,13 @@ static void deprecated_sysctl_warning(co { int i; + /* + * CTL_KERN/KERN_VERSION is used by older glibc and cannot + * ever go away. + */ + if (name[0] == CTL_KERN && name[1] == KERN_VERSION) + return; + if (printk_ratelimit()) { printk(KERN_INFO "warning: process `%s' used the deprecated sysctl " _ Patches currently in -mm which might be from andi@xxxxxxxxxxxxxx are origin.patch hardware-latency-detector-remove-default-m.patch -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html