summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Kerrisk <mtk.manpages@gmail.com>2012-12-20 17:33:05 +0100
committerMichael Kerrisk <mtk.manpages@gmail.com>2012-12-20 17:33:05 +0100
commitbef43fac1565e328f01bacab7209ac24a201661b (patch)
tree7eb458f6304cc2827e1900366856e7fbe65b93bb
parenta25601b48b822eb1882ae336574b8d062a17e564 (diff)
sysctl.2: Calls to sysctl() log warnings to the kernel log since 2.6.24
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
-rw-r--r--man2/sysctl.26
1 files changed, 5 insertions, 1 deletions
diff --git a/man2/sysctl.2 b/man2/sysctl.2
index a8a9d242..cec8345a 100644
--- a/man2/sysctl.2
+++ b/man2/sysctl.2
@@ -25,7 +25,7 @@
.\" Modified Tue Oct 22 22:28:41 1996 by Eric S. Raymond <esr@thyrsus.com>
.\" Modified Mon Jan 5 20:31:04 1998 by aeb.
.\"
-.TH SYSCTL 2 2012-07-13 "Linux" "Linux Programmer's Manual"
+.TH SYSCTL 2 2012-12-21 "Linux" "Linux Programmer's Manual"
.SH NAME
sysctl \- read/write system parameters
.SH SYNOPSIS
@@ -119,6 +119,10 @@ use of this system call has long been discouraged,
and it is so unloved that
\fBit is likely to disappear in a future kernel version\fP.
.\" See http://lwn.net/Articles/247243/
+Since Linix 2.6.24,
+uses of this system call result in warnings in the kernel log.
+.\" Though comments in suggest that it is needed by old glibc binaries,
+.\" so maybe it's not going away.
Remove it from your programs now; use the
.I /proc/sys
interface instead.