diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2018-01-12 04:36:46 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2018-01-12 04:36:46 +0000 |
commit | 0e94a1811d3a0a09a95a4896e07890c31b54c409 (patch) | |
tree | b86636f5172c62919742a8f602405729b4e869f4 /lib/libc/sys | |
parent | a8304155f5966c115e4962fd0b23501e72f62c86 (diff) |
Adjust references for sysctl(3) to sysctl(2)
Diffstat (limited to 'lib/libc/sys')
-rw-r--r-- | lib/libc/sys/getrlimit.2 | 6 | ||||
-rw-r--r-- | lib/libc/sys/intro.2 | 6 | ||||
-rw-r--r-- | lib/libc/sys/mmap.2 | 6 | ||||
-rw-r--r-- | lib/libc/sys/mprotect.2 | 6 | ||||
-rw-r--r-- | lib/libc/sys/pathconf.2 | 6 | ||||
-rw-r--r-- | lib/libc/sys/pledge.2 | 10 |
6 files changed, 20 insertions, 20 deletions
diff --git a/lib/libc/sys/getrlimit.2 b/lib/libc/sys/getrlimit.2 index 5c22a00c9b7..14d5b06e6ca 100644 --- a/lib/libc/sys/getrlimit.2 +++ b/lib/libc/sys/getrlimit.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: getrlimit.2,v 1.27 2016/10/07 15:48:55 tedu Exp $ +.\" $OpenBSD: getrlimit.2,v 1.28 2018/01/12 04:36:44 deraadt Exp $ .\" $NetBSD: getrlimit.2,v 1.8 1995/10/12 15:40:58 jtc Exp $ .\" .\" Copyright (c) 1980, 1991, 1993 @@ -30,7 +30,7 @@ .\" .\" @(#)getrlimit.2 8.1 (Berkeley) 6/4/93 .\" -.Dd $Mdocdate: October 7 2016 $ +.Dd $Mdocdate: January 12 2018 $ .Dt GETRLIMIT 2 .Os .Sh NAME @@ -210,7 +210,7 @@ and the caller is not the superuser. .Xr quotactl 2 , .Xr sigaction 2 , .Xr sigaltstack 2 , -.Xr sysctl 3 +.Xr sysctl 2 .Sh STANDARDS The .Fn getrlimit diff --git a/lib/libc/sys/intro.2 b/lib/libc/sys/intro.2 index b888c3eea4f..f7ea9b3882f 100644 --- a/lib/libc/sys/intro.2 +++ b/lib/libc/sys/intro.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: intro.2,v 1.66 2017/12/12 18:41:44 schwarze Exp $ +.\" $OpenBSD: intro.2,v 1.67 2018/01/12 04:36:44 deraadt Exp $ .\" $NetBSD: intro.2,v 1.6 1995/02/27 12:33:41 cgd Exp $ .\" .\" Copyright (c) 1980, 1983, 1986, 1991, 1993 @@ -30,7 +30,7 @@ .\" .\" @(#)intro.2 8.3 (Berkeley) 12/11/93 .\" -.Dd $Mdocdate: December 12 2017 $ +.Dd $Mdocdate: January 12 2018 $ .Dt INTRO 2 .Os .Sh NAME @@ -174,7 +174,7 @@ Maximum number of file descriptors allowable on the system has been reached and a request for an open cannot be satisfied until at least one has been closed. The -.Xr sysctl 3 +.Xr sysctl 2 variable .Va kern.maxfiles contains the current limit. diff --git a/lib/libc/sys/mmap.2 b/lib/libc/sys/mmap.2 index cd796385838..37c82d786df 100644 --- a/lib/libc/sys/mmap.2 +++ b/lib/libc/sys/mmap.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: mmap.2,v 1.56 2017/07/20 18:22:25 bluhm Exp $ +.\" $OpenBSD: mmap.2,v 1.57 2018/01/12 04:36:44 deraadt Exp $ .\" $NetBSD: mmap.2,v 1.5 1995/06/24 10:48:59 cgd Exp $ .\" .\" Copyright (c) 1991, 1993 @@ -30,7 +30,7 @@ .\" .\" @(#)mmap.2 8.1 (Berkeley) 6/4/93 .\" -.Dd $Mdocdate: July 20 2017 $ +.Dd $Mdocdate: January 12 2018 $ .Dt MMAP 2 .Os .Sh NAME @@ -286,7 +286,7 @@ In particular, mappings are not permitted in most binaries (see .Dv kern.wxabort in -.Xr sysctl 3 +.Xr sysctl 2 for more information). .El .Sh SEE ALSO diff --git a/lib/libc/sys/mprotect.2 b/lib/libc/sys/mprotect.2 index 9ee149015fb..50c5b809c83 100644 --- a/lib/libc/sys/mprotect.2 +++ b/lib/libc/sys/mprotect.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: mprotect.2,v 1.22 2017/03/11 22:58:46 jmc Exp $ +.\" $OpenBSD: mprotect.2,v 1.23 2018/01/12 04:36:44 deraadt Exp $ .\" $NetBSD: mprotect.2,v 1.6 1995/10/12 15:41:08 jtc Exp $ .\" .\" Copyright (c) 1991, 1993 @@ -30,7 +30,7 @@ .\" .\" @(#)mprotect.2 8.1 (Berkeley) 6/9/93 .\" -.Dd $Mdocdate: March 11 2017 $ +.Dd $Mdocdate: January 12 2018 $ .Dt MPROTECT 2 .Os .Sh NAME @@ -105,7 +105,7 @@ In particular, mappings are not permitted in most binaries (see .Dv kern.wxabort in -.Xr sysctl 3 +.Xr sysctl 2 for more information). .It Bq Er EINVAL The diff --git a/lib/libc/sys/pathconf.2 b/lib/libc/sys/pathconf.2 index 5a5b909e593..6a18bd5d432 100644 --- a/lib/libc/sys/pathconf.2 +++ b/lib/libc/sys/pathconf.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: pathconf.2,v 1.23 2015/05/31 23:54:25 schwarze Exp $ +.\" $OpenBSD: pathconf.2,v 1.24 2018/01/12 04:36:44 deraadt Exp $ .\" $NetBSD: pathconf.2,v 1.2 1995/02/27 12:35:22 cgd Exp $ .\" .\" Copyright (c) 1993 @@ -30,7 +30,7 @@ .\" .\" @(#)pathconf.2 8.1 (Berkeley) 6/4/93 .\" -.Dd $Mdocdate: May 31 2015 $ +.Dd $Mdocdate: January 12 2018 $ .Dt PATHCONF 2 .Os .Sh NAME @@ -199,7 +199,7 @@ is not a valid open file descriptor. .El .Sh SEE ALSO .Xr sysconf 3 , -.Xr sysctl 3 +.Xr sysctl 2 .Sh STANDARDS The .Fn pathconf diff --git a/lib/libc/sys/pledge.2 b/lib/libc/sys/pledge.2 index 309a46a27e6..64a12bc1f15 100644 --- a/lib/libc/sys/pledge.2 +++ b/lib/libc/sys/pledge.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: pledge.2,v 1.49 2018/01/08 12:02:42 mpi Exp $ +.\" $OpenBSD: pledge.2,v 1.50 2018/01/12 04:36:44 deraadt Exp $ .\" .\" Copyright (c) 2015 Nicholas Marriott <nicm@openbsd.org> .\" @@ -14,7 +14,7 @@ .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" -.Dd $Mdocdate: January 8 2018 $ +.Dd $Mdocdate: January 12 2018 $ .Dt PLEDGE 2 .Os .Sh NAME @@ -133,7 +133,7 @@ and any files below May operate on .Pa /etc/malloc.conf . .Pp -.It Xr sysctl 3 +.It Xr sysctl 2 A small set of read-only operations are allowed, sufficient to support: .Xr getdomainname 3 , @@ -493,13 +493,13 @@ and system calls. .It Va ps Allows enough -.Xr sysctl 3 +.Xr sysctl 2 interfaces to allow inspection of processes operating on the system using programs like .Xr ps 1 . .It Va vminfo Allows enough -.Xr sysctl 3 +.Xr sysctl 2 interfaces to allow inspection of the system's virtual memory by programs like .Xr top 1 |