.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.\" $OpenBSD: getdtablesize.3,v 1.12 2014/12/12 01:40:04 deraadt Exp $
+.\" $OpenBSD: getdtablesize.3,v 1.13 2018/01/12 04:36:44 deraadt Exp $
.\"
-.Dd $Mdocdate: December 12 2014 $
+.Dd $Mdocdate: January 12 2018 $
.Dt GETDTABLESIZE 3
.Os
.Sh NAME
.Xr select 2 ,
.Xr setrlimit 2 ,
.Xr sysconf 3 ,
-.Xr sysctl 3
+.Xr sysctl 2
.Sh HISTORY
The
.Fn getdtablesize
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.\" $OpenBSD: gethostid.3,v 1.13 2013/07/17 05:42:10 schwarze Exp $
+.\" $OpenBSD: gethostid.3,v 1.14 2018/01/12 04:36:44 deraadt Exp $
.\"
-.Dd $Mdocdate: July 17 2013 $
+.Dd $Mdocdate: January 12 2018 $
.Dt GETHOSTID 3
.Os
.Sh NAME
.Pp
This function has been deprecated.
The hostid should be set or retrieved by use of
-.Xr sysctl 3 .
+.Xr sysctl 2 .
.Sh SEE ALSO
.Xr gethostname 3 ,
-.Xr sysctl 3 ,
+.Xr sysctl 2 ,
.Xr sysctl 8
.Sh HISTORY
The
-.\" $OpenBSD: getdomainname.3,v 1.25 2014/01/21 03:15:45 schwarze Exp $
+.\" $OpenBSD: getdomainname.3,v 1.26 2018/01/12 04:36:44 deraadt Exp $
.\"
.\" Copyright (c) 1983, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.Dd $Mdocdate: January 21 2014 $
+.Dd $Mdocdate: January 12 2018 $
.Dt GETDOMAINNAME 3
.Os
.Sh NAME
.Xr domainname 1 ,
.Xr gethostid 3 ,
.Xr gethostname 3 ,
-.Xr sysctl 3 ,
+.Xr sysctl 2 ,
.Xr sysctl 8 ,
.Xr yp 8
.Sh HISTORY
-.\" $OpenBSD: gethostname.3,v 1.27 2015/09/04 12:34:22 jmc Exp $
+.\" $OpenBSD: gethostname.3,v 1.28 2018/01/12 04:36:44 deraadt Exp $
.\"
.\" Copyright (c) 1983, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.Dd $Mdocdate: September 4 2015 $
+.Dd $Mdocdate: January 12 2018 $
.Dt GETHOSTNAME 3
.Os
.Sh NAME
.Xr hostname 1 ,
.Xr getdomainname 3 ,
.Xr gethostid 3 ,
-.Xr sysctl 3 ,
+.Xr sysctl 2 ,
.Xr sysctl 8 ,
.Xr yp 8
.Sh STANDARDS
-.\" $OpenBSD: getloadavg.3,v 1.13 2013/06/05 03:39:22 tedu Exp $
+.\" $OpenBSD: getloadavg.3,v 1.14 2018/01/12 04:36:44 deraadt Exp $
.\"
.\" Copyright (c) 1989, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.Dd $Mdocdate: June 5 2013 $
+.Dd $Mdocdate: January 12 2018 $
.Dt GETLOADAVG 3
.Os
.Sh NAME
is set to indicate the error.
.Sh ERRORS
Please see
-.Xr sysctl 3
+.Xr sysctl 2
for a list of possible errors.
.Sh SEE ALSO
.Xr uptime 1 ,
.Xr kvm_getloadavg 3 ,
-.Xr sysctl 3
+.Xr sysctl 2
.Sh HISTORY
The
.Fn getloadavg
-.\" $OpenBSD: sysconf.3,v 1.33 2014/01/21 03:15:45 schwarze Exp $
+.\" $OpenBSD: sysconf.3,v 1.34 2018/01/12 04:36:44 deraadt Exp $
.\"
.\" Copyright (c) 1993
.\" The Regents of the University of California. All rights reserved.
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.Dd $Mdocdate: January 21 2014 $
+.Dd $Mdocdate: January 12 2018 $
.Dt SYSCONF 3
.Os
.Sh NAME
function may fail and set
.Va errno
for any of the errors specified for the library function
-.Xr sysctl 3 .
+.Xr sysctl 2 .
In addition, the following error may be reported:
.Bl -tag -width Er
.It Bq Er EINVAL
.El
.Sh SEE ALSO
.Xr pathconf 2 ,
-.Xr sysctl 3
+.Xr sysctl 2
.Sh STANDARDS
The
.Fn sysconf
-.\" $OpenBSD: uname.3,v 1.15 2014/01/21 03:15:45 schwarze Exp $
+.\" $OpenBSD: uname.3,v 1.16 2018/01/12 04:36:44 deraadt Exp $
.\"
.\" Copyright (c) 1994
.\" The Regents of the University of California. All rights reserved.
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.Dd $Mdocdate: January 21 2014 $
+.Dd $Mdocdate: January 12 2018 $
.Dt UNAME 3
.Os
.Sh NAME
function may fail and set
.Va errno
for any of the errors specified for the library function
-.Xr sysctl 3 .
+.Xr sysctl 2 .
.Sh SEE ALSO
.Xr uname 1 ,
-.Xr sysctl 3
+.Xr sysctl 2
.Sh STANDARDS
The
.Fn uname
-.\" $OpenBSD: getifaddrs.3,v 1.21 2015/11/21 07:48:10 jmc Exp $
+.\" $OpenBSD: getifaddrs.3,v 1.22 2018/01/12 04:36:44 deraadt Exp $
.\" BSDI getifaddrs.3,v 2.5 2000/02/23 14:51:59 dab Exp
.\"
.\" Copyright (c) 1995, 1999
.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
-.Dd $Mdocdate: November 21 2015 $
+.Dd $Mdocdate: January 12 2018 $
.Dt GETIFADDRS 3
.Os
.Sh NAME
.Xr socket 2 ,
.Xr malloc 3 ,
or
-.Xr sysctl 3 .
+.Xr sysctl 2 .
.Sh SEE ALSO
.Xr ioctl 2 ,
.Xr socket 2 ,
-.Xr sysctl 3 ,
+.Xr sysctl 2 ,
.Xr netintro 4 ,
.Xr ifconfig 8
.Sh HISTORY
-.\" $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
.\"
.\" @(#)getrlimit.2 8.1 (Berkeley) 6/4/93
.\"
-.Dd $Mdocdate: October 7 2016 $
+.Dd $Mdocdate: January 12 2018 $
.Dt GETRLIMIT 2
.Os
.Sh NAME
.Xr quotactl 2 ,
.Xr sigaction 2 ,
.Xr sigaltstack 2 ,
-.Xr sysctl 3
+.Xr sysctl 2
.Sh STANDARDS
The
.Fn getrlimit
-.\" $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
.\"
.\" @(#)intro.2 8.3 (Berkeley) 12/11/93
.\"
-.Dd $Mdocdate: December 12 2017 $
+.Dd $Mdocdate: January 12 2018 $
.Dt INTRO 2
.Os
.Sh NAME
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.
-.\" $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
.\"
.\" @(#)mmap.2 8.1 (Berkeley) 6/4/93
.\"
-.Dd $Mdocdate: July 20 2017 $
+.Dd $Mdocdate: January 12 2018 $
.Dt MMAP 2
.Os
.Sh NAME
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
-.\" $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
.\"
.\" @(#)mprotect.2 8.1 (Berkeley) 6/9/93
.\"
-.Dd $Mdocdate: March 11 2017 $
+.Dd $Mdocdate: January 12 2018 $
.Dt MPROTECT 2
.Os
.Sh NAME
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
-.\" $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
.\"
.\" @(#)pathconf.2 8.1 (Berkeley) 6/4/93
.\"
-.Dd $Mdocdate: May 31 2015 $
+.Dd $Mdocdate: January 12 2018 $
.Dt PATHCONF 2
.Os
.Sh NAME
.El
.Sh SEE ALSO
.Xr sysconf 3 ,
-.Xr sysctl 3
+.Xr sysctl 2
.Sh STANDARDS
The
.Fn pathconf
-.\" $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>
.\"
.\" 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
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 ,
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
-.\" $OpenBSD: getmaxpartitions.3,v 1.6 2013/06/05 03:40:26 tedu Exp $
+.\" $OpenBSD: getmaxpartitions.3,v 1.7 2018/01/12 04:36:44 deraadt Exp $
.\" $NetBSD: getmaxpartitions.3,v 1.1 1996/05/16 07:03:30 thorpej Exp $
.\"
.\" Copyright (c) 1996 The NetBSD Foundation, Inc.
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
.\" POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd $Mdocdate: June 5 2013 $
+.Dd $Mdocdate: January 12 2018 $
.Dt GETMAXPARTITIONS 3
.Os
.Sh NAME
system.
.Sh SEE ALSO
.Xr getrawpartition 3 ,
-.Xr sysctl 3
+.Xr sysctl 2
.Sh HISTORY
The
.Nm
-.\" $OpenBSD: getrawpartition.3,v 1.8 2015/09/10 15:16:43 schwarze Exp $
+.\" $OpenBSD: getrawpartition.3,v 1.9 2018/01/12 04:36:44 deraadt Exp $
.\" $NetBSD: getrawpartition.3,v 1.1 1996/05/16 07:03:32 thorpej Exp $
.\"
.\" Copyright (c) 1996 The NetBSD Foundation, Inc.
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
.\" POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd $Mdocdate: September 10 2015 $
+.Dd $Mdocdate: January 12 2018 $
.Dt GETRAWPARTITION 3
.Os
.Sh NAME
disk, regardless of the disk's partition map.
.Sh SEE ALSO
.Xr getmaxpartitions 3 ,
-.Xr sysctl 3
+.Xr sysctl 2
.Sh HISTORY
The
.Nm
-.\" $OpenBSD: sysctl.8,v 1.212 2017/05/04 20:41:10 tb Exp $
+.\" $OpenBSD: sysctl.8,v 1.213 2018/01/12 04:36:44 deraadt Exp $
.\" $NetBSD: sysctl.8,v 1.4 1995/09/30 07:12:49 thorpej Exp $
.\"
.\" Copyright (c) 1993
.\"
.\" @(#)sysctl.8 8.2 (Berkeley) 5/9/95
.\"
-.Dd $Mdocdate: May 4 2017 $
+.Dd $Mdocdate: January 12 2018 $
.Dt SYSCTL 8
.Os
.Sh NAME
.Nm
consists of integers, strings, and tables.
For a detailed description of the variables, see
-.Xr sysctl 3 .
+.Xr sysctl 2 .
Tables can only be retrieved by special purpose programs such as
.Xr ps 1 ,
.Xr systat 1 ,
# sysctl kern.nosuidcoredump=3
.Ed
.Sh SEE ALSO
-.Xr sysctl 3 ,
+.Xr sysctl 2 ,
.Xr options 4 ,
.Xr sysctl.conf 5
.Sh HISTORY
-.\" $OpenBSD: acpicpu.4,v 1.8 2015/10/11 00:13:39 guenther Exp $
+.\" $OpenBSD: acpicpu.4,v 1.9 2018/01/12 04:36:44 deraadt Exp $
.\"
.\" Copyright (c) 2006 Michael Knudsen <mk@openbsd.org>
.\"
.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\"
-.Dd $Mdocdate: October 11 2015 $
+.Dd $Mdocdate: January 12 2018 $
.Dt ACPICPU 4
.Os
.Sh NAME
and can be used to throttle processor speed to reduce
power usage and extend battery life through the
.Va hw.setperf
-.Xr sysctl 3
+.Xr sysctl 2
mechanism.
.Sh SEE ALSO
-.Xr sysctl 3 ,
+.Xr sysctl 2 ,
.Xr acpi 4 ,
.Xr cpu 4 ,
.Xr intro 4 ,
-.\" $OpenBSD: aibs.4,v 1.6 2013/08/14 06:32:34 jmc Exp $
+.\" $OpenBSD: aibs.4,v 1.7 2018/01/12 04:36:44 deraadt Exp $
.\"
.\" Copyright (c) 2009 Constantine A. Murenin <cnst+openbsd@bugmail.mojo.ru>
.\"
.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\"
-.Dd $Mdocdate: August 14 2013 $
+.Dd $Mdocdate: January 12 2018 $
.Dt AIBS 4
.Os
.Sh NAME
.Pp
Sensor values are made available through the
.Dv HW_SENSORS
-.Xr sysctl 3
+.Xr sysctl 2
interface,
and can be monitored with the
.Xr systat 1
may be ignored as appropriate.
.Sh SEE ALSO
.Xr systat 1 ,
-.Xr sysctl 3 ,
+.Xr sysctl 2 ,
.Xr acpi 4 ,
.Xr intro 4 ,
.Xr sensorsd 8 ,
-.\" $OpenBSD: carp.4,v 1.39 2017/11/30 07:41:01 jmc Exp $
+.\" $OpenBSD: carp.4,v 1.40 2018/01/12 04:36:44 deraadt Exp $
.\"
.\" Copyright (c) 2003, Ryan McBride. All rights reserved.
.\"
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.Dd $Mdocdate: November 30 2017 $
+.Dd $Mdocdate: January 12 2018 $
.Dt CARP 4
.Os
.Sh NAME
.Cm balancing
mode can be adjusted accordingly.
.Sh SEE ALSO
-.Xr sysctl 3 ,
+.Xr sysctl 2 ,
.Xr inet 4 ,
.Xr pfsync 4 ,
.Xr hostname.if 5 ,
-.\" $OpenBSD: etherip.4,v 1.5 2017/10/16 10:20:49 mpi Exp $
+.\" $OpenBSD: etherip.4,v 1.6 2018/01/12 04:36:44 deraadt Exp $
.\"
.\" Copyright (c) 2015 YASUOKA Masahiko <yasuoka@openbsd.org>
.\"
.\"
.\" The following requests are required for all man pages.
.\"
-.Dd $Mdocdate: October 16 2017 $
+.Dd $Mdocdate: January 12 2018 $
.Dt ETHERIP 4
.Os
.Sh NAME
interface must be made a member of a
.Xr bridge 4 .
The
-.Xr sysctl 3
+.Xr sysctl 2
variable
.Dv net.inet.etherip.allow
must be set to 1, unless
.Sq !\&
operator.
.Sh SEE ALSO
-.Xr sysctl 3 ,
+.Xr sysctl 2 ,
.Xr bridge 4 ,
.Xr inet 4 ,
.Xr inet6 4 ,
-.\" $OpenBSD: gif.4,v 1.30 2017/10/16 10:20:49 mpi Exp $
+.\" $OpenBSD: gif.4,v 1.31 2018/01/12 04:36:44 deraadt Exp $
.\" $KAME: gif.4,v 1.15 2000/04/19 09:39:42 itojun Exp $
.\"
.\" Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.Dd $Mdocdate: October 16 2017 $
+.Dd $Mdocdate: January 12 2018 $
.Dt GIF 4
.Os
.Sh NAME
.Nm
interface.
.Sh SEE ALSO
-.Xr sysctl 3 ,
+.Xr sysctl 2 ,
.Xr etherip 4 ,
.Xr inet 4 ,
.Xr inet6 4 ,
-.\" $OpenBSD: gre.4,v 1.48 2017/12/01 09:10:38 jmc Exp $
+.\" $OpenBSD: gre.4,v 1.49 2018/01/12 04:36:44 deraadt Exp $
.\" $NetBSD: gre.4,v 1.10 1999/12/22 14:55:49 kleink Exp $
.\"
.\" Copyright 1998 (c) The NetBSD Foundation, Inc.
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
.\" POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd $Mdocdate: December 1 2017 $
+.Dd $Mdocdate: January 12 2018 $
.Dt GRE 4
.Os
.Sh NAME
and
.Tn Mobile IP
are enabled with the following
-.Xr sysctl 3
+.Xr sysctl 2
variables respectively in
.Pa /etc/sysctl.conf :
.Bl -tag -width "net.inet.mobileip.allow"
-.\" $OpenBSD: inet6.4,v 1.42 2017/04/25 13:52:08 jmc Exp $
+.\" $OpenBSD: inet6.4,v 1.43 2018/01/12 04:36:44 deraadt Exp $
.\" $KAME: inet6.4,v 1.19 2000/11/24 10:13:18 itojun Exp $
.\"
.\" Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.Dd $Mdocdate: April 25 2017 $
+.Dd $Mdocdate: January 12 2018 $
.Dt INET6 4
.Os
.Sh NAME
files.
Routers need to set the
.Va net.inet6.ip6.forwarding
-.Xr sysctl 3 .
+.Xr sysctl 2 .
.Sh SEE ALSO
.Xr socket 2 ,
.Xr icmp6 4 ,
-.\" $OpenBSD: ipcomp.4,v 1.15 2013/07/16 16:05:49 schwarze Exp $
+.\" $OpenBSD: ipcomp.4,v 1.16 2018/01/12 04:36:44 deraadt Exp $
.\"
.\" Copyright (c) 2001 Jean-Jacques Bernard-Gundol <jj@wabbitt.org>
.\" All rights reserved.
.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd $Mdocdate: July 16 2013 $
+.Dd $Mdocdate: January 12 2018 $
.Dt IPCOMP 4
.Os
.Sh NAME
.Nd IP Payload Compression Protocol
.Sh DESCRIPTION
IPComp is enabled with the following
-.Xr sysctl 3
+.Xr sysctl 2
variable in
.Pa /etc/sysctl.conf :
.Bl -tag -width xxxxxxxxxxxxxxxxxxxxx -offset indent
-.\" $OpenBSD: ipsec.4,v 1.84 2016/03/18 21:39:18 jmc Exp $
+.\" $OpenBSD: ipsec.4,v 1.85 2018/01/12 04:36:44 deraadt Exp $
.\"
.\" Copyright 1997 Niels Provos <provos@physnet.uni-hamburg.de>
.\" All rights reserved.
.\"
.\" Manual page, using -mandoc macros
.\"
-.Dd $Mdocdate: March 18 2016 $
+.Dd $Mdocdate: January 12 2018 $
.Dt IPSEC 4
.Os
.Sh NAME
which provide security services for IP datagrams.
.Pp
Both protocols may be enabled or disabled using the following
-.Xr sysctl 3
+.Xr sysctl 2
variables in
.Pa /etc/sysctl.conf .
By default, both protocols are enabled:
and
.Va net.inet.ip.ipsec-* .
Full explanations can be found in
-.Xr sysctl 3 ,
+.Xr sysctl 2 ,
and variables can be set using the
.Xr sysctl 8
interface.
-.\" $OpenBSD: lisa.4,v 1.3 2013/07/16 16:05:49 schwarze Exp $
+.\" $OpenBSD: lisa.4,v 1.4 2018/01/12 04:36:44 deraadt Exp $
.\"
.\" Copyright (c) 2009 Constantine A. Murenin <cnst+openbsd@bugmail.mojo.ru>
.\"
.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\"
-.Dd $Mdocdate: July 16 2013 $
+.Dd $Mdocdate: January 12 2018 $
.Dt LISA 4
.Os
.Sh NAME
.Pp
Sensor values are made available through the
.Dv HW_SENSORS
-.Xr sysctl 3
+.Xr sysctl 2
interface,
and can be monitored with the
.Xr systat 1
.Ar hw.sensors .
.Sh SEE ALSO
.Xr systat 1 ,
-.Xr sysctl 3 ,
+.Xr sysctl 2 ,
.Xr iic 4 ,
.Xr intro 4 ,
.Xr sensorsd 8 ,
-.\" $OpenBSD: mem.4,v 1.5 2017/09/12 02:22:15 schwarze Exp $
+.\" $OpenBSD: mem.4,v 1.6 2018/01/12 04:36:44 deraadt Exp $
.\" Copyright (c) 1992, 1993
.\" The Regents of the University of California. All rights reserved.
.\"
.\"
.\" from: @(#)mem.4 8.1 (Berkeley) 6/5/93
.\"
-.Dd $Mdocdate: September 12 2017 $
+.Dd $Mdocdate: January 12 2018 $
.Dt MEM 4 alpha
.Os
.Sh NAME
.Xr securelevel 7
is insecure or when the
.Va kern.allowkmem
-.Xr sysctl 3
+.Xr sysctl 2
variable is set.
.Sh FILES
.Bl -tag -width /dev/kmem -compact
-.\" $OpenBSD: cpu.4,v 1.6 2018/01/05 22:25:05 jmc Exp $
+.\" $OpenBSD: cpu.4,v 1.7 2018/01/12 04:36:44 deraadt Exp $
.\"
.\" Copyright (c) 2004 Ted Unangst
.\" All rights reserved.
.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd $Mdocdate: January 5 2018 $
+.Dd $Mdocdate: January 12 2018 $
.Dt CPU 4 amd64
.Os
.Sh NAME
functionality, such as power and frequency control or thermal monitoring.
.Sh FREQUENCY CONTROL
The
-.Xr sysctl 3
+.Xr sysctl 2
hw.cpuspeed returns the current operating frequency of the processor,
though on some processors this value may be only an approximation.
If possible, speed may be adjusted by altering hw.setperf from 0 to 100,
.El
.Sh THERMAL MONITORING
The
-.Xr sysctl 3
+.Xr sysctl 2
hw.sensors.cpu*.temp0 returns the current temperature reported by the
processor.
.Sh SEE ALSO
-.\" $OpenBSD: mem.4,v 1.5 2017/09/17 09:32:07 schwarze Exp $
+.\" $OpenBSD: mem.4,v 1.6 2018/01/12 04:36:44 deraadt Exp $
.\"
.\" Copyright (c) 1991 The Regents of the University of California.
.\" All rights reserved.
.\"
.\" from: @(#)mem.4 5.3 (Berkeley) 5/2/91
.\"
-.Dd $Mdocdate: September 17 2017 $
+.Dd $Mdocdate: January 12 2018 $
.Dt MEM 4 amd64
.Os
.Sh NAME
.Xr securelevel 7
is insecure or when the
.Va kern.allowkmem
-.Xr sysctl 3
+.Xr sysctl 2
variable is set.
.Sh FILES
.Bl -tag -width Pa -compact
-.\" $OpenBSD: lcd.4,v 1.2 2007/07/20 22:41:57 kettenis Exp $
+.\" $OpenBSD: lcd.4,v 1.3 2018/01/12 04:36:44 deraadt Exp $
.\"
.\" Copyright (c) 2007 Mark Kettenis <kettenis@openbsd.org>
.\"
.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\"
-.Dd $Mdocdate: July 20 2007 $
+.Dd $Mdocdate: January 12 2018 $
.Dt LCD 4 hppa
.Os
.Sh NAME
HP PA-RISC workstations and servers.
This LCD can be made to show a heartbeat based on the load average by
setting the
-.Xr sysctl 3
+.Xr sysctl 2
variable
.Ar machdep.led_blink
to a non-zero value.
.Sh SEE ALSO
-.Xr sysctl 3 ,
+.Xr sysctl 2 ,
.Xr intro 4 ,
.Xr sysctl 8
.Sh HISTORY
-.\" $OpenBSD: mem.4,v 1.3 2017/09/12 02:22:15 schwarze Exp $
+.\" $OpenBSD: mem.4,v 1.4 2018/01/12 04:36:44 deraadt Exp $
.\"
.\" Copyright (c) 2004, Miodrag Vallat.
.\"
.\" ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
.\" POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd $Mdocdate: September 12 2017 $
+.Dd $Mdocdate: January 12 2018 $
.Dt MEM 4 hppa
.Os
.Sh NAME
.Xr securelevel 7
is insecure or when the
.Va kern.allowkmem
-.Xr sysctl 3
+.Xr sysctl 2
variable is set.
.Sh FILES
.Bl -tag -width /dev/kmem -compact
-.\" $OpenBSD: cpu.4,v 1.17 2018/01/05 22:25:05 jmc Exp $
+.\" $OpenBSD: cpu.4,v 1.18 2018/01/12 04:36:44 deraadt Exp $
.\"
.\" Copyright (c) 2004 Ted Unangst
.\" All rights reserved.
.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd $Mdocdate: January 5 2018 $
+.Dd $Mdocdate: January 12 2018 $
.Dt CPU 4 i386
.Os
.Sh NAME
functionality, such as power and frequency control or thermal monitoring.
.Sh FREQUENCY CONTROL
The
-.Xr sysctl 3
+.Xr sysctl 2
hw.cpuspeed returns the current operating frequency of the processor,
though on some processors this value may be only an approximation.
If possible, speed may be adjusted by altering hw.setperf from 0 to 100,
.El
.Sh THERMAL MONITORING
The
-.Xr sysctl 3
+.Xr sysctl 2
hw.sensors.cpu*.temp0 returns the current temperature reported by the
processor.
.Sh SEE ALSO
-.\" $OpenBSD: mem.4,v 1.11 2017/09/17 09:32:07 schwarze Exp $
+.\" $OpenBSD: mem.4,v 1.12 2018/01/12 04:36:44 deraadt Exp $
.\"
.\" Copyright (c) 1991 The Regents of the University of California.
.\" All rights reserved.
.\"
.\" from: @(#)mem.4 5.3 (Berkeley) 5/2/91
.\"
-.Dd $Mdocdate: September 17 2017 $
+.Dd $Mdocdate: January 12 2018 $
.Dt MEM 4 i386
.Os
.Sh NAME
.Xr securelevel 7
is insecure or when the
.Va kern.allowkmem
-.Xr sysctl 3
+.Xr sysctl 2
variable is set.
.Sh FILES
.Bl -tag -width Pa -compact
-.\" $OpenBSD: mem.4,v 1.3 2017/09/12 02:22:15 schwarze Exp $
+.\" $OpenBSD: mem.4,v 1.4 2018/01/12 04:36:44 deraadt Exp $
.\"
.\" Copyright (c) 1991 The Regents of the University of California.
.\" All rights reserved.
.\"
.\" from: @(#)mem.4 5.3 (Berkeley) 5/2/91
.\"
-.Dd $Mdocdate: September 12 2017 $
+.Dd $Mdocdate: January 12 2018 $
.Dt MEM 4 landisk
.Os
.Sh NAME
.Xr securelevel 7
is insecure or when the
.Va kern.allowkmem
-.Xr sysctl 3
+.Xr sysctl 2
variable is set.
.Sh FILES
.Bl -tag -width Pa -compact
-.\" $OpenBSD: mem.4,v 1.3 2017/09/12 02:22:15 schwarze Exp $
+.\" $OpenBSD: mem.4,v 1.4 2018/01/12 04:36:44 deraadt Exp $
.\" Copyright (c) 1992, 1993
.\" The Regents of the University of California. All rights reserved.
.\"
.\"
.\" from: @(#)mem.4 8.1 (Berkeley) 6/5/93
.\"
-.Dd $Mdocdate: September 12 2017 $
+.Dd $Mdocdate: January 12 2018 $
.Dt MEM 4 loongson
.Os
.Sh NAME
.Xr securelevel 7
is insecure or when the
.Va kern.allowkmem
-.Xr sysctl 3
+.Xr sysctl 2
variable is set.
.Sh FILES
.Bl -tag -width Pa -compact
-.\" $OpenBSD: stsec.4,v 1.2 2010/02/25 10:07:11 jmc Exp $
+.\" $OpenBSD: stsec.4,v 1.3 2018/01/12 04:36:44 deraadt Exp $
.\"
.\" Copyright (c) 2010 Miodrag Vallat.
.\"
.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\"
-.Dd $Mdocdate: February 25 2010 $
+.Dd $Mdocdate: January 12 2018 $
.Dt STSEC 4 loongson
.Os
.Sh NAME
radio enable buttons.
.Pp
Battery status and charge information is made available through the
-.Xr sysctl 3
+.Xr sysctl 2
hardware sensor interface.
.Sh SEE ALSO
.Xr iic 4 ,
-.\" $OpenBSD: ykbec.4,v 1.4 2016/11/15 13:53:35 fcambus Exp $
+.\" $OpenBSD: ykbec.4,v 1.5 2018/01/12 04:36:44 deraadt Exp $
.\"
.\" Copyright (c) 2010 Otto Moerbeek
.\"
.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\"
-.Dd $Mdocdate: November 15 2016 $
+.Dd $Mdocdate: January 12 2018 $
.Dt YKBEC 4 loongson
.Os
.Sh NAME
.El
.Pp
Fan, battery, and lid information is made available via the
-.Xr sysctl 3
+.Xr sysctl 2
hardware sensor interface.
Not all the device interfaces are supported under
.Ox .
-.\" $OpenBSD: mem.4,v 1.3 2017/09/12 02:22:15 schwarze Exp $
+.\" $OpenBSD: mem.4,v 1.4 2018/01/12 04:36:44 deraadt Exp $
.\" Copyright (c) 1992, 1993
.\" The Regents of the University of California. All rights reserved.
.\"
.\"
.\" from: @(#)mem.4 8.1 (Berkeley) 6/5/93
.\"
-.Dd $Mdocdate: September 12 2017 $
+.Dd $Mdocdate: January 12 2018 $
.Dt MEM 4 luna88k
.Os
.Sh NAME
.Xr securelevel 7
is insecure or when the
.Va kern.allowkmem
-.Xr sysctl 3
+.Xr sysctl 2
variable is set.
.Sh FILES
.Bl -tag -width /dev/kmem -compact
.\" SUCH DAMAGE.
.\"
.\" from: @(#)mem.4 8.1 (Berkeley) 6/5/93
-.\" $OpenBSD: mem.4,v 1.6 2017/09/12 02:22:15 schwarze Exp $
+.\" $OpenBSD: mem.4,v 1.7 2018/01/12 04:36:44 deraadt Exp $
.\" $NetBSD: mem.4,v 1.1 1997/06/08 17:40:57 ender Exp $
.\"
-.Dd $Mdocdate: September 12 2017 $
+.Dd $Mdocdate: January 12 2018 $
.Dt MEM 4 macppc
.Os
.Sh NAME
.Xr securelevel 7
is insecure or when the
.Va kern.allowkmem
-.Xr sysctl 3
+.Xr sysctl 2
variable is set.
.Sh FILES
.Bl -tag -width /dev/kmem -compact
.\" SUCH DAMAGE.
.\"
.\" from: @(#)mem.4 8.1 (Berkeley) 6/5/93
-.\" $OpenBSD: mem.4,v 1.2 2017/09/12 02:22:15 schwarze Exp $
+.\" $OpenBSD: mem.4,v 1.3 2018/01/12 04:36:44 deraadt Exp $
.\" $NetBSD: mem.4,v 1.1 1997/06/08 17:40:57 ender Exp $
.\"
-.Dd $Mdocdate: September 12 2017 $
+.Dd $Mdocdate: January 12 2018 $
.Dt MEM 4 socppc
.Os
.Sh NAME
.Xr securelevel 7
is insecure or when the
.Va kern.allowkmem
-.Xr sysctl 3
+.Xr sysctl 2
variable is set.
.Sh FILES
.Bl -tag -width /dev/kmem -compact
-.\" $OpenBSD: auxio.4,v 1.6 2007/05/31 19:19:56 jmc Exp $
+.\" $OpenBSD: auxio.4,v 1.7 2018/01/12 04:36:44 deraadt Exp $
.\"
.\" Copyright (c) 2003 Jason L. Wright (jason@thought.net)
.\" All rights reserved.
.\" ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
.\" POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd $Mdocdate: May 31 2007 $
+.Dd $Mdocdate: January 12 2018 $
.Dt AUXIO 4 sparc64
.Os
.Sh NAME
device contains miscellaneous system controls, including the front panel LED.
This LED can be made to blink based on the load average on most systems
by setting the
-.Xr sysctl 3
+.Xr sysctl 2
variable
.Ar machdep.led_blink
to a non-zero value.
found in
.Nm auxio .
.Sh SEE ALSO
-.Xr sysctl 3 ,
+.Xr sysctl 2 ,
.Xr ebus 4 ,
.Xr intro 4 ,
.Xr sbus 4
-.\" $OpenBSD: clkbrd.4,v 1.4 2008/01/18 22:06:01 jmc Exp $
+.\" $OpenBSD: clkbrd.4,v 1.5 2018/01/12 04:36:44 deraadt Exp $
.\"
.\" Copyright (c) 2004 Jason L. Wright (jason@thought.net)
.\" All rights reserved.
.\" ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
.\" POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd $Mdocdate: January 18 2008 $
+.Dd $Mdocdate: January 12 2018 $
.Dt CLKBRD 4 sparc64
.Os
.Sh NAME
This device also controls the main front panel LED.
This LED can be made to blink based on the load average on most systems
by setting the
-.Xr sysctl 3
+.Xr sysctl 2
variable
.Ar machdep.led_blink
to a non-zero value.
.Sh SEE ALSO
-.Xr sysctl 3 ,
+.Xr sysctl 2 ,
.Xr fhc 4 ,
.Xr intro 4
.Sh HISTORY
-.\" $OpenBSD: fhc.4,v 1.9 2017/07/06 15:42:04 schwarze Exp $
+.\" $OpenBSD: fhc.4,v 1.10 2018/01/12 04:36:44 deraadt Exp $
.\"
.\" Copyright (c) 2004 Jason L. Wright (jason@thought.net)
.\" All rights reserved.
.\" ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
.\" POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd $Mdocdate: July 6 2017 $
+.Dd $Mdocdate: January 12 2018 $
.Dt FHC 4 sparc64
.Os
.Sh NAME
This device also controls an LED for each slot.
This LED can be made to blink based on the load average on most systems
by setting the
-.Xr sysctl 3
+.Xr sysctl 2
variable
.Ar machdep.led_blink
to a non-zero value.
Zilog 8530 (ZSCC) serial communications driver
.El
.Sh SEE ALSO
-.Xr sysctl 3 ,
+.Xr sysctl 2 ,
.Xr central 4 ,
.Xr intro 4
.Sh HISTORY
-.\" $OpenBSD: led.4,v 1.3 2013/07/16 16:05:49 schwarze Exp $
+.\" $OpenBSD: led.4,v 1.4 2018/01/12 04:36:44 deraadt Exp $
.\"
.\" Copyright (c) 2007 Mark Kettenis <kettenis@openbsd.org>
.\"
.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\"
-.Dd $Mdocdate: July 16 2013 $
+.Dd $Mdocdate: January 12 2018 $
.Dt LED 4 sparc64
.Os
.Sh NAME
driver provides support for the front panel alert LED.
This LED can be made to blink based on the load average on most systems
by setting the
-.Xr sysctl 3
+.Xr sysctl 2
variable
.Ar machdep.led_blink
to a non-zero value.
.Sh SEE ALSO
-.Xr sysctl 3 ,
+.Xr sysctl 2 ,
.Xr ebus 4 ,
.Xr intro 4 ,
.Xr sysctl 8
-.\" $OpenBSD: mem.4,v 1.5 2017/09/12 02:22:16 schwarze Exp $
+.\" $OpenBSD: mem.4,v 1.6 2018/01/12 04:36:44 deraadt Exp $
.\" Copyright (c) 1992, 1993
.\" The Regents of the University of California. All rights reserved.
.\"
.\"
.\" from: @(#)mem.4 8.1 (Berkeley) 6/5/93
.\"
-.Dd $Mdocdate: September 12 2017 $
+.Dd $Mdocdate: January 12 2018 $
.Dt MEM 4 sparc64
.Os
.Sh NAME
.Xr securelevel 7
is insecure or when the
.Va kern.allowkmem
-.Xr sysctl 3
+.Xr sysctl 2
variable is set.
.Sh FILES
.Bl -tag -width /dev/kmem -compact
-.\" $OpenBSD: ppm.4,v 1.2 2007/05/31 19:19:57 jmc Exp $
+.\" $OpenBSD: ppm.4,v 1.3 2018/01/12 04:36:44 deraadt Exp $
.\"
.\" Copyright (c) 2006 Jason L. Wright (jason@thought.net)
.\" All rights reserved.
.\" ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
.\" POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd $Mdocdate: May 31 2007 $
+.Dd $Mdocdate: January 12 2018 $
.Dt PPM 4 sparc64
.Os
.Sh NAME
device contains miscellaneous system controls, including the front panel LED.
This LED can be made to blink based on the load average on most systems
by setting the
-.Xr sysctl 3
+.Xr sysctl 2
variable
.Ar machdep.led_blink
to a non-zero value.
found in
.Nm ppm .
.Sh SEE ALSO
-.Xr sysctl 3 ,
+.Xr sysctl 2 ,
.Xr ebus 4 ,
.Xr intro 4
-.\" $OpenBSD: mpe.4,v 1.9 2015/03/23 19:31:54 sobrado Exp $
+.\" $OpenBSD: mpe.4,v 1.10 2018/01/12 04:36:44 deraadt Exp $
.\"
.\" Copyright (C) 2008 Pierre-Yves Ritschard <pyr@openbsd.org>
.\"
.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\"
-.Dd $Mdocdate: March 23 2015 $
+.Dd $Mdocdate: January 12 2018 $
.Dt MPE 4
.Os
.Sh NAME
.El
.\"
.Sh SEE ALSO
-.Xr sysctl 3 ,
+.Xr sysctl 2 ,
.Xr hostname.if 5 ,
.Xr ifconfig 8 ,
.Xr ldpd 8 ,
-.\" $OpenBSD: options.4,v 1.254 2017/10/25 12:38:21 job Exp $
+.\" $OpenBSD: options.4,v 1.255 2018/01/12 04:36:44 deraadt Exp $
.\" $NetBSD: options.4,v 1.21 1997/06/25 03:13:00 thorpej Exp $
.\"
.\" Copyright (c) 1998 Theo de Raadt
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
.\"
-.Dd $Mdocdate: October 25 2017 $
+.Dd $Mdocdate: January 12 2018 $
.Dt OPTIONS 4
.Os
.Sh NAME
See
.Xr sysctl 8
and
-.Xr sysctl 3
+.Xr sysctl 2
for details.
.El
.Sh NETWORKING OPTIONS
See
.Xr sysctl 8
and
-.Xr sysctl 3
+.Xr sysctl 2
for details.
.It Cd option INET6
Includes support for the IPv6 protocol stack.
to 1,
for debugging IPv6 neighbor discovery protocol handling.
See
-.Xr sysctl 3
+.Xr sysctl 2
for details.
.It Cd option PIPEX
Includes pipex in-kernel acceleration for PPPoE, L2TP or PPTP.
-.\" $OpenBSD: route.4,v 1.43 2017/05/21 16:33:53 jca Exp $
+.\" $OpenBSD: route.4,v 1.44 2018/01/12 04:36:44 deraadt Exp $
.\" $NetBSD: route.4,v 1.3 1994/11/30 16:22:31 jtc Exp $
.\"
.\" Copyright (c) 1990, 1991, 1993
.\"
.\" @(#)route.4 8.6 (Berkeley) 4/19/94
.\"
-.Dd $Mdocdate: May 21 2017 $
+.Dd $Mdocdate: January 12 2018 $
.Dt ROUTE 4
.Os
.Sh NAME
.Dv RTM_GET
message or via the
.Dv PF_ROUTE
-.Xr sysctl 3 .
+.Xr sysctl 2 .
.Pp
Messages include:
.Bd -literal
.Sh SEE ALSO
.Xr netstat 1 ,
.Xr socket 2 ,
-.Xr sysctl 3 ,
+.Xr sysctl 2 ,
.Xr mygate 5 ,
.Xr route 8 ,
.Xr route 9
-.\" $OpenBSD: core.5,v 1.22 2016/09/01 12:26:32 jmc Exp $
+.\" $OpenBSD: core.5,v 1.23 2018/01/12 04:36:44 deraadt Exp $
.\" $NetBSD: core.5,v 1.4 1994/11/30 19:31:11 jtc Exp $
.\"
.\" Copyright (c) 1980, 1991, 1993
.\"
.\" @(#)core.5 8.3 (Berkeley) 12/11/93
.\"
-.Dd $Mdocdate: September 1 2016 $
+.Dd $Mdocdate: January 12 2018 $
.Dt CORE 5
.Os
.Sh NAME
See the description of
.Dv KERN_NOSUIDCOREDUMP
in
-.Xr sysctl 3
+.Xr sysctl 2
for other options.
.Pp
The maximum size of a
.Xr gdb 1 ,
.Xr setrlimit 2 ,
.Xr sigaction 2 ,
-.Xr sysctl 3
+.Xr sysctl 2
.Sh HISTORY
A
.Nm
up on disk.
This behaviour can be changed (for debugging purposes) by changing the
.Li kern.nosuidcoredump
-.Xr sysctl 3
+.Xr sysctl 2
variable to the right settings.
-.\" $OpenBSD: evcount.9,v 1.5 2014/09/08 01:27:55 schwarze Exp $
+.\" $OpenBSD: evcount.9,v 1.6 2018/01/12 04:36:44 deraadt Exp $
.\" Written by Jared Yanovich
.\" This file belongs to the public domain, 11/02/2004.
-.Dd $Mdocdate: September 8 2014 $
+.Dd $Mdocdate: January 12 2018 $
.Dt EVCOUNT 9
.Os
.Sh NAME
.Nm
API provides an interface for generic event and interrupt counting,
whose statistics are made available to machine-independent
-.Xr sysctl 3
+.Xr sysctl 2
nodes.
.Ss Overview
With
an architecture can collect interrupt counting for any device.
All registered counters will be made available under the
.Va kern.evcount
-.Xr sysctl 3
+.Xr sysctl 2
node as a flat list.
The following is a sample list of counters provided by some
common architectures:
.Dq pciide0 .
.Fa data
provides a chunk of data that will be made available through the
-.Xr sysctl 3
+.Xr sysctl 2
call.
.Pp
The
.Sh SEE ALSO
.Xr systat 1 ,
.Xr queue 3 ,
-.Xr sysctl 3 ,
+.Xr sysctl 2 ,
.Xr intro 4 ,
.Xr vmstat 8 ,
.Xr autoconf 9
-.\" $OpenBSD: hz.9,v 1.7 2007/05/31 19:20:00 jmc Exp $
+.\" $OpenBSD: hz.9,v 1.8 2018/01/12 04:36:45 deraadt Exp $
.\"
.\" Copyright (c) 1999 Marc Espie
.\" All rights reserved.
.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd $Mdocdate: May 31 2007 $
+.Dd $Mdocdate: January 12 2018 $
.Dt HZ 9
.Os
.Sh NAME
.Va tickadj .
.Pp
Those systems variables are available as a struct clockinfo from
-.Xr sysctl 3 .
+.Xr sysctl 2 .
.Sh SEE ALSO
.Xr adjtime 2 ,
.Xr clock_getres 2 ,
-.Xr sysctl 3 ,
+.Xr sysctl 2 ,
.Xr hardclock 9 ,
.Xr microtime 9
-.\" $OpenBSD: pool_cache_init.9,v 1.7 2017/06/23 01:02:18 dlg Exp $
+.\" $OpenBSD: pool_cache_init.9,v 1.8 2018/01/12 04:36:45 deraadt Exp $
.\"
.\" Copyright (c) 2017 David Gwynne <dlg@openbsd.org>
.\"
.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\"
-.Dd $Mdocdate: June 23 2017 $
+.Dd $Mdocdate: January 12 2018 $
.Dt POOL_CACHE_INIT 9
.Os
.Sh NAME
.Pp
Information about the current state of the per CPU caches and
counters of operations they handle are available via
-.Xr sysctl 3 ,
+.Xr sysctl 2 ,
or displayed in the pcache view in
.Xr systat 1 .
.Pp
.Dv CTL_KERN ,
.Dv KERN_POOL ,
.Dv KERN_POOL_CACHE
-.Xr sysctl 3
+.Xr sysctl 2
MIB hierarchy.
.Bd -literal -offset indent
struct kinfo_pool_cache {
.Dv CTL_KERN ,
.Dv KERN_POOL ,
.Dv KERN_POOL_CACHE_CPUS
-.Xr sysctl 3
+.Xr sysctl 2
MIB hierarchy.
This sysctl returns an array of
.Vt kinfo_pool_cache_cpus
.Pa sys/kern/subr_pool.c .
.Sh SEE ALSO
.Xr systat 1 ,
-.Xr sysctl 3 ,
+.Xr sysctl 2 ,
.Xr pool_get 9
.Sh CAVEATS
Because the intention of per CPU pool caches is to avoid having
-.\" $OpenBSD: sysctl_int.9,v 1.5 2013/06/04 19:27:13 schwarze Exp $
+.\" $OpenBSD: sysctl_int.9,v 1.6 2018/01/12 04:36:45 deraadt Exp $
.\"
.\" Copyright (c) 2006 Michael Shalayeff
.\" All rights reserved.
.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\"
-.Dd $Mdocdate: June 4 2013 $
+.Dd $Mdocdate: January 12 2018 $
.Dt SYSCTL_INT 9
.Os
.Sh NAME
.Sh DESCRIPTION
These functions and data structures aim to simplify and partially
implement operations for the kernel and user implementations of the
-.Xr sysctl 3
+.Xr sysctl 2
interface.
A single
.Xr syscall 9
A read-only version of the above.
.El
.Sh SEE ALSO
-.Xr sysctl 3 ,
+.Xr sysctl 2 ,
.Xr sysctl.conf 5 ,
.Xr sysctl 8 ,
.Xr syscall 9
-.\" $OpenBSD: uvm.9,v 1.65 2017/04/30 20:09:28 mpi Exp $
+.\" $OpenBSD: uvm.9,v 1.66 2018/01/12 04:36:45 deraadt Exp $
.\" $NetBSD: uvm.9,v 1.14 2000/06/29 06:08:44 mrg Exp $
.\"
.\" Copyright (c) 1998 Matthew R. Green
.\" XXX this manual sets nS to 1 or 0 in the description, to obtain
.\" synopsis-like function prototypes. any better way?
.\"
-.Dd $Mdocdate: April 30 2017 $
+.Dd $Mdocdate: January 12 2018 $
.Dt UVM_INIT 9
.Os
.Sh NAME
function provides support for the
.Dv CTL_VM
domain of the
-.Xr sysctl 3
+.Xr sysctl 2
hierarchy.
.Fn uvm_sysctl
handles the
.Sh SEE ALSO
.Xr getloadavg 3 ,
.Xr kvm 3 ,
-.Xr sysctl 3 ,
+.Xr sysctl 2 ,
.Xr ddb 4 ,
.Xr options 4 ,
.Xr pmap 9
-.\" $OpenBSD: nfsstat.1,v 1.15 2014/01/19 18:36:43 jmc Exp $
+.\" $OpenBSD: nfsstat.1,v 1.16 2018/01/12 04:36:45 deraadt Exp $
.\" $NetBSD: nfsstat.1,v 1.8 1996/03/03 17:21:28 thorpej Exp $
.\"
.\" Copyright (c) 1989, 1990, 1993
.\"
.\" from: @(#)nfsstat.1 8.1 (Berkeley) 6/6/93
.\"
-.Dd $Mdocdate: January 19 2014 $
+.Dd $Mdocdate: January 12 2018 $
.Dt NFSSTAT 1
.Os
.Sh NAME
.Fl N
option was specified statistics will be obtained from the running system
by calling
-.Xr sysctl 3 .
+.Xr sysctl 2 .
Otherwise the specified core and system will be used to fetch
data by means of
.Xr kvm 3 .
.Xr ps 1 ,
.Xr systat 1 ,
.Xr kvm 3 ,
-.Xr sysctl 3 ,
+.Xr sysctl 2 ,
.Xr iostat 8 ,
.Xr pstat 8 ,
.Xr vmstat 8
-.\" $OpenBSD: rebound.8,v 1.8 2017/07/20 07:43:21 jmc Exp $
+.\" $OpenBSD: rebound.8,v 1.9 2018/01/12 04:36:45 deraadt Exp $
.\"
.\"Copyright (c) 2015 Ted Unangst <tedu@openbsd.org>
.\"
.\"WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
.\"ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
.\"OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.Dd $Mdocdate: July 20 2017 $
+.Dd $Mdocdate: January 12 2018 $
.Dt REBOUND 8
.Os
.Sh NAME
.Nm
starts, it sets the
.Dv kern.dnsjackport
-.Xr sysctl 3
+.Xr sysctl 2
which enables it to intercept all DNS traffic.
.Pp
If sent a
-.\" $OpenBSD: sensorsd.8,v 1.24 2017/07/23 19:41:58 schwarze Exp $
+.\" $OpenBSD: sensorsd.8,v 1.25 2018/01/12 04:36:45 deraadt Exp $
.\"
.\" Copyright (c) 2003 Henning Brauer <henning@openbsd.org>
.\" Copyright (c) 2005 Matthew Gream <matthew.gream@pobox.com>
.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\"
-.Dd $Mdocdate: July 23 2017 $
+.Dd $Mdocdate: January 12 2018 $
.Dt SENSORSD 8
.Os
.Sh NAME
.Nm
utility retrieves sensor monitoring data like fan speed,
temperature, voltage and RAID logical disk status from the
-.Xr sysctl 3
+.Xr sysctl 2
.Va hw.sensors
subtree.
When the state of any monitored sensor changes, an alert is triggered.
.Nm .
.El
.Sh SEE ALSO
-.Xr sysctl 3 ,
+.Xr sysctl 2 ,
.Xr sensorsd.conf 5 ,
.Xr syslog.conf 5 ,
.Xr sysctl 8
-.\" $OpenBSD: sensorsd.conf.5,v 1.26 2017/07/23 19:41:58 schwarze Exp $
+.\" $OpenBSD: sensorsd.conf.5,v 1.27 2018/01/12 04:36:45 deraadt Exp $
.\"
.\" Copyright (c) 2003 Henning Brauer <henning@openbsd.org>
.\" Copyright (c) 2005 Matthew Gream <matthew.gream@pobox.com>
.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\"
-.Dd $Mdocdate: July 23 2017 $
+.Dd $Mdocdate: January 12 2018 $
.Dt SENSORSD.CONF 5
.Os
.Sh NAME
.Xr sensorsd 8
to configure hardware sensor monitoring.
Each variable in the
-.Xr sysctl 3
+.Xr sysctl 2
.Va hw.sensors
subtree represents a sensor.
Each sensor is matched by at most one entry in