sysctl: Warn about all uses of sys_sysctl.
authorEric W. Biederman <ebiederm@xmission.com>
Thu, 12 Nov 2009 03:32:48 +0000 (19:32 -0800)
committerEric W. Biederman <ebiederm@xmission.com>
Thu, 12 Nov 2009 03:35:52 +0000 (19:35 -0800)
commit2fb10732c3b3c9671b1a391996ce7e551876c25e
tree84944564aaefa5c702c79dc20ccc9ecec34dc0a8
parent2315ffa0a9f789c588c7139effa7404a387d8685
sysctl:  Warn about all uses of sys_sysctl.

Now that the glibc pthread implemenation no longers uses sysctl() users
of sysctl are as rare as hen's teeth.  So remove the glibc exception
from the warning, and use the standard printk_ratelimit instead of
rolling our own.

Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
kernel/sysctl_binary.c