xref: /freebsd/sbin/sysctl/sysctl.8 (revision c294ecb25b5f3553b5c84b630869bb05724c9629)
12a680c5cSAlexander Ziaee.\"-
22a680c5cSAlexander Ziaee.\" SPDX-License-Identifier: BSD-3-Clause
32a680c5cSAlexander Ziaee.\"
4dea673e9SRodney W. Grimes.\" Copyright (c) 1993
5dea673e9SRodney W. Grimes.\"	The Regents of the University of California.  All rights reserved.
6dea673e9SRodney W. Grimes.\"
7dea673e9SRodney W. Grimes.\" Redistribution and use in source and binary forms, with or without
8dea673e9SRodney W. Grimes.\" modification, are permitted provided that the following conditions
9dea673e9SRodney W. Grimes.\" are met:
10dea673e9SRodney W. Grimes.\" 1. Redistributions of source code must retain the above copyright
11dea673e9SRodney W. Grimes.\"    notice, this list of conditions and the following disclaimer.
12dea673e9SRodney W. Grimes.\" 2. Redistributions in binary form must reproduce the above copyright
13dea673e9SRodney W. Grimes.\"    notice, this list of conditions and the following disclaimer in the
14dea673e9SRodney W. Grimes.\"    documentation and/or other materials provided with the distribution.
15fbbd9655SWarner Losh.\" 3. Neither the name of the University nor the names of its contributors
16dea673e9SRodney W. Grimes.\"    may be used to endorse or promote products derived from this software
17dea673e9SRodney W. Grimes.\"    without specific prior written permission.
18dea673e9SRodney W. Grimes.\"
19dea673e9SRodney W. Grimes.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
20dea673e9SRodney W. Grimes.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
21dea673e9SRodney W. Grimes.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
22dea673e9SRodney W. Grimes.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
23dea673e9SRodney W. Grimes.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
24dea673e9SRodney W. Grimes.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
25dea673e9SRodney W. Grimes.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
26dea673e9SRodney W. Grimes.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
27dea673e9SRodney W. Grimes.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
28dea673e9SRodney W. Grimes.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
29dea673e9SRodney W. Grimes.\" SUCH DAMAGE.
30dea673e9SRodney W. Grimes.\"
310ee3e29eSZhenlei Huang.Dd January 23, 2025
32dea673e9SRodney W. Grimes.Dt SYSCTL 8
33dea673e9SRodney W. Grimes.Os
34dea673e9SRodney W. Grimes.Sh NAME
35dea673e9SRodney W. Grimes.Nm sysctl
36dea673e9SRodney W. Grimes.Nd get or set kernel state
37dea673e9SRodney W. Grimes.Sh SYNOPSIS
387c7fb079SRuslan Ermilov.Nm
390ee3e29eSZhenlei Huang.Op Fl bdeFhiJlNnoqTtVWx
4075820005SJohn-Mark Gurney.Op Fl B Ar bufsize
41da178c77SXin LI.Op Fl f Ar filename
422365fe56SJohn Baldwin.Ar name Ns Op = Ns Ar value Ns Op , Ns Ar value
439a2402bcSDag-Erling Smørgrav.Ar ...
447c7fb079SRuslan Ermilov.Nm
450ee3e29eSZhenlei Huang.Op Fl bdeFhJlNnoqTtVWx
4675820005SJohn-Mark Gurney.Op Fl B Ar bufsize
479a2402bcSDag-Erling Smørgrav.Fl a
48dea673e9SRodney W. Grimes.Sh DESCRIPTION
49dea673e9SRodney W. GrimesThe
50d9b1bc77SPhilippe Charnier.Nm
519a2402bcSDag-Erling Smørgravutility retrieves kernel state and allows processes with appropriate
529a2402bcSDag-Erling Smørgravprivilege to set kernel state.
53def778b8SRuslan ErmilovThe state to be retrieved or set is described using a
54def778b8SRuslan Ermilov.Dq Management Information Base
55def778b8SRuslan Ermilov.Pq Dq MIB
562a680c5cSAlexander Ziaeestyle name, described as a dotted set of components.
571d86b91cSPoul-Henning Kamp.Pp
58d9b1bc77SPhilippe CharnierThe following options are available:
592a680c5cSAlexander Ziaee.Bl -tag -width "-f filename"
60d9b1bc77SPhilippe Charnier.It Fl A
619a2402bcSDag-Erling SmørgravEquivalent to
62def778b8SRuslan Ermilov.Fl o a
639a2402bcSDag-Erling Smørgrav(for compatibility).
649a2402bcSDag-Erling Smørgrav.It Fl a
651dee7c74SColin PercivalList all the currently available values except for those which are
661dee7c74SColin Percivalopaque or excluded from listing via the
671dee7c74SColin Percival.Dv CTLFLAG_SKIP
681dee7c74SColin Percivalflag.
699a2402bcSDag-Erling SmørgravThis option is ignored if one or more variable names are specified on
709a2402bcSDag-Erling Smørgravthe command line.
7175820005SJohn-Mark Gurney.It Fl B Ar bufsize
7275820005SJohn-Mark GurneySet the buffer size to read from the
7375820005SJohn-Mark Gurney.Nm
7475820005SJohn-Mark Gurneyto
7575820005SJohn-Mark Gurney.Ar bufsize .
7675820005SJohn-Mark GurneyThis is necessary for a
7775820005SJohn-Mark Gurney.Nm
7875820005SJohn-Mark Gurneythat has variable length, and the probe value of 0 is a valid length, such as
7975820005SJohn-Mark Gurney.Va kern.arandom .
80*c294ecb2SZhenlei Huang.It Fl b
81*c294ecb2SZhenlei HuangForce the value of the variable(s) to be output in raw, binary format.
82*c294ecb2SZhenlei HuangNo names are printed and no terminating newlines are output.
83*c294ecb2SZhenlei HuangThis is mostly useful with a single variable.
846105f815SLuigi Rizzo.It Fl d
856105f815SLuigi RizzoPrint the description of the variable instead of its value.
86d0b8aabbSAnton Berezin.It Fl e
8728dc1d23SAnton BerezinSeparate the name and the value of the variable(s) with
8828dc1d23SAnton Berezin.Ql = .
89d0b8aabbSAnton BerezinThis is useful for producing output which can be fed back to the
90d0b8aabbSAnton Berezin.Nm
91d0b8aabbSAnton Berezinutility.
92d0b8aabbSAnton BerezinThis option is ignored if either
93d0b8aabbSAnton Berezin.Fl N
94d0b8aabbSAnton Berezinor
95d0b8aabbSAnton Berezin.Fl n
96d0b8aabbSAnton Berezinis specified, or a variable is being set.
97*c294ecb2SZhenlei Huang.It Fl F
98*c294ecb2SZhenlei HuangPrint the format of the variable.
99*c294ecb2SZhenlei HuangThis is additional information to describe the type of the variable and
100*c294ecb2SZhenlei Huangmost useful with struct types such as clockinfo, timeval, and loadavg.
101da178c77SXin LI.It Fl f Ar filename
102da178c77SXin LISpecify a file which contains a pair of name and value in each line.
103da178c77SXin LI.Nm
104da178c77SXin LIreads and processes the specified file first and then processes the name
105da178c77SXin LIand value pairs in the command line argument.
10645817aaaSDag-Erling Smørgrav.It Fl h
10745817aaaSDag-Erling SmørgravFormat output for human, rather than machine, readability.
10824b2aa32SGavin Atkinson.It Fl i
10924b2aa32SGavin AtkinsonIgnore unknown OIDs.
11024b2aa32SGavin AtkinsonThe purpose is to make use of
11124b2aa32SGavin Atkinson.Nm
11224b2aa32SGavin Atkinsonfor collecting data from a variety of machines (not all of which
11324b2aa32SGavin Atkinsonare necessarily running exactly the same software) easier.
1145ec83c66SZhenlei Huang.It Fl J
1155ec83c66SZhenlei HuangDisplay only jail prision sysctl variables (CTLFLAG_PRISON).
116f126d349SKirk McKusick.It Fl l
117f126d349SKirk McKusickShow the length of variables along with their values.
118f126d349SKirk McKusickThis option cannot be combined with the
119f126d349SKirk McKusick.Fl N
120f126d349SKirk McKusickoption.
1210ef56fd8SDag-Erling Smørgrav.It Fl N
1220ef56fd8SDag-Erling SmørgravShow only variable names, not their values.
1239a2402bcSDag-Erling SmørgravThis is particularly useful with shells that offer programmable
1249a2402bcSDag-Erling Smørgravcompletion.
1259a2402bcSDag-Erling SmørgravTo enable completion of variable names in
126f0ea72a0SChristian Brueffer.Xr zsh 1 Pq Pa ports/shells/zsh ,
1279a2402bcSDag-Erling Smørgravuse the following code:
128def778b8SRuslan Ermilov.Bd -literal -offset indent
1299a2402bcSDag-Erling Smørgravlistsysctls () { set -A reply $(sysctl -AN ${1%.*}) }
1309a2402bcSDag-Erling Smørgravcompctl -K listsysctls sysctl
1319a2402bcSDag-Erling Smørgrav.Ed
132ec3724d9SHiten Pandya.Pp
133ec3724d9SHiten PandyaTo enable completion of variable names in
134ec3724d9SHiten Pandya.Xr tcsh 1 ,
135ec3724d9SHiten Pandyause:
13621414470SRuslan Ermilov.Pp
13721414470SRuslan Ermilov.Dl "complete sysctl 'n/*/`sysctl -Na`/'"
138d9b1bc77SPhilippe Charnier.It Fl n
1390ad4bfaeSFernando ApesteguíaDo not show variable names.
1409a2402bcSDag-Erling SmørgravThis option is useful for setting shell variables.
141def778b8SRuslan ErmilovFor instance, to save the pagesize in variable
142def778b8SRuslan Ermilov.Va psize ,
143def778b8SRuslan Ermilovuse:
144def778b8SRuslan Ermilov.Pp
145def778b8SRuslan Ermilov.Dl "set psize=`sysctl -n hw.pagesize`"
146c4da2cc9SDima Dorfman.It Fl o
1479a2402bcSDag-Erling SmørgravShow opaque variables (which are normally suppressed).
1489a2402bcSDag-Erling SmørgravThe format and length are printed, as well as a hex dump of the first
1499a2402bcSDag-Erling Smørgravsixteen bytes of the value.
150f93d36fdSRobert Watson.It Fl q
151f93d36fdSRobert WatsonSuppress some warnings generated by
152f93d36fdSRobert Watson.Nm
153f93d36fdSRobert Watsonto standard error.
1549ecd2e32SAlfred Perlstein.It Fl T
15575820005SJohn-Mark GurneyDisplay only variables that are settable via loader (CTLFLAG_TUN).
1568020192dSMarcelo Araujo.It Fl t
1578020192dSMarcelo AraujoPrint the type of the variable.
1585ec83c66SZhenlei Huang.It Fl V
1595ec83c66SZhenlei HuangDisplay only VNET sysctl variables (CTLFLAG_VNET).
1609ecd2e32SAlfred Perlstein.It Fl W
161b85e9d27SDevin TeskeDisplay only writable variables that are not statistical.
1629ecd2e32SAlfred PerlsteinUseful for determining the set of runtime tunable sysctls.
1639a2402bcSDag-Erling Smørgrav.It Fl X
1649a2402bcSDag-Erling SmørgravEquivalent to
165def778b8SRuslan Ermilov.Fl x a
1669a2402bcSDag-Erling Smørgrav(for compatibility).
1679a2402bcSDag-Erling Smørgrav.It Fl x
1689a2402bcSDag-Erling SmørgravAs
1699a2402bcSDag-Erling Smørgrav.Fl o ,
1709a2402bcSDag-Erling Smørgravbut prints a hex dump of the entire value instead of just the first
1719a2402bcSDag-Erling Smørgravfew bytes.
172d9b1bc77SPhilippe Charnier.El
173dea673e9SRodney W. Grimes.Pp
174dea673e9SRodney W. GrimesThe information available from
175d9b1bc77SPhilippe Charnier.Nm
1765bf6a940SMatthew D Flemingconsists of integers, strings, and opaque types.
177629e80efSPhilippe CharnierThe
178629e80efSPhilippe Charnier.Nm
179629e80efSPhilippe Charnierutility
1801d86b91cSPoul-Henning Kamponly knows about a couple of opaque types, and will resort to hexdumps
1811d86b91cSPoul-Henning Kampfor the rest.
1821d86b91cSPoul-Henning KampThe opaque information is much more useful if retrieved by special
183dea673e9SRodney W. Grimespurpose programs such as
1844f898f94SPhilippe Charnier.Xr ps 1 ,
1854f898f94SPhilippe Charnier.Xr systat 1 ,
186dea673e9SRodney W. Grimesand
1874f898f94SPhilippe Charnier.Xr netstat 1 .
1881d86b91cSPoul-Henning Kamp.Pp
18943308797SChristian BruefferSome of the variables which cannot be modified during normal system
190ab5e6ef0SChristian Bruefferoperation can be initialized via
191ab5e6ef0SChristian Brueffer.Xr loader 8
192ab5e6ef0SChristian Brueffertunables.
193ab5e6ef0SChristian BruefferThis can for example be done by setting them in
19443308797SChristian Brueffer.Xr loader.conf 5 .
195ab5e6ef0SChristian BruefferPlease refer to
196ab5e6ef0SChristian Brueffer.Xr loader.conf 5
197ab5e6ef0SChristian Bruefferfor more information on which tunables are available and how to set them.
19843308797SChristian Brueffer.Pp
1994a8d0283SMike PritchardThe string and integer information is summarized below.
200cd9cdd0eSCeri DaviesFor a detailed description of these variables see
2018d7a48d3SOlivier Certner.Xr sysctl 3
2028d7a48d3SOlivier Certnerand
2038d7a48d3SOlivier Certner.Xr security 7 .
2041d86b91cSPoul-Henning Kamp.Pp
205dea673e9SRodney W. GrimesThe changeable column indicates whether a process with appropriate
206dea673e9SRodney W. Grimesprivilege can change the value.
2077e265faeSMatthew D FlemingString and integer values can be set using
20842277d47SDima Dorfman.Nm .
209d0615c64SAndrew R. Reiter.Bl -column security.bsd.unprivileged_read_msgbuf integerxxx
210c2965cd1SJoel Dahl.It Sy "Name	Type	Changeable"
2112a680c5cSAlexander Ziaee.It Va "kern.ostype	string	no"
2122a680c5cSAlexander Ziaee.It Va "kern.osrelease	string	no"
2132a680c5cSAlexander Ziaee.It Va "kern.osrevision	integer	no"
2142a680c5cSAlexander Ziaee.It Va "kern.version	string	no"
2152a680c5cSAlexander Ziaee.It Va "kern.maxvnodes	integer	yes"
2162a680c5cSAlexander Ziaee.It Va "kern.maxproc	integer	no"
2172a680c5cSAlexander Ziaee.It Va "kern.maxprocperuid	integer	yes"
2182a680c5cSAlexander Ziaee.It Va "kern.maxfiles	integer	yes"
2192a680c5cSAlexander Ziaee.It Va "kern.maxfilesperproc	integer	yes"
2202a680c5cSAlexander Ziaee.It Va "kern.argmax	integer	no"
2212a680c5cSAlexander Ziaee.It Va "kern.securelevel	integer	raise only"
2222a680c5cSAlexander Ziaee.It Va "kern.hostname	string	yes"
2232a680c5cSAlexander Ziaee.It Va "kern.hostid	integer	yes"
2242a680c5cSAlexander Ziaee.It Va "kern.clockrate	struct	no"
2252a680c5cSAlexander Ziaee.It Va "kern.posix1version	integer	no"
2262a680c5cSAlexander Ziaee.It Va "kern.ngroups	integer	no"
2272a680c5cSAlexander Ziaee.It Va "kern.job_control	integer	no"
2282a680c5cSAlexander Ziaee.It Va "kern.saved_ids	integer	no"
2292a680c5cSAlexander Ziaee.It Va "kern.boottime	struct	no"
2302a680c5cSAlexander Ziaee.It Va "kern.domainname	string	yes"
2312a680c5cSAlexander Ziaee.It Va "kern.filedelay	integer	yes"
2322a680c5cSAlexander Ziaee.It Va "kern.dirdelay	integer	yes"
2332a680c5cSAlexander Ziaee.It Va "kern.metadelay	integer	yes"
2342a680c5cSAlexander Ziaee.It Va "kern.osreldate	integer	no"
2352a680c5cSAlexander Ziaee.It Va "kern.bootfile	string	yes"
2362a680c5cSAlexander Ziaee.It Va "kern.corefile	string	yes"
2372a680c5cSAlexander Ziaee.It Va "kern.logsigexit	integer	yes"
2382a680c5cSAlexander Ziaee.It Va "security.bsd.suser_enabled	integer	yes"
2392a680c5cSAlexander Ziaee.It Va "security.bsd.see_other_uids	integer	yes"
2402a680c5cSAlexander Ziaee.It Va "security.bsd.see_other_gids	integer	yes"
2412a680c5cSAlexander Ziaee.It Va "security.bsd.see_jail_proc	integer	yes"
2422a680c5cSAlexander Ziaee.It Va "security.bsd.unprivileged_proc_debug	integer	yes"
2432a680c5cSAlexander Ziaee.It Va "security.bsd.unprivileged_read_msgbuf	integer	yes"
2442a680c5cSAlexander Ziaee.It Va "vm.loadavg	struct	no"
2452a680c5cSAlexander Ziaee.It Va "hw.machine	string	no"
2462a680c5cSAlexander Ziaee.It Va "hw.model	string	no"
2472a680c5cSAlexander Ziaee.It Va "hw.ncpu	integer	no"
2482a680c5cSAlexander Ziaee.It Va "hw.byteorder	integer	no"
2492a680c5cSAlexander Ziaee.It Va "hw.physmem	integer	no"
2502a680c5cSAlexander Ziaee.It Va "hw.usermem	integer	no"
2512a680c5cSAlexander Ziaee.It Va "hw.pagesize	integer	no"
2522a680c5cSAlexander Ziaee.It Va "hw.floatingpoint	integer	no"
2532a680c5cSAlexander Ziaee.It Va "hw.machine_arch	string	no"
2542a680c5cSAlexander Ziaee.It Va "hw.realmem	integer	no"
2552a680c5cSAlexander Ziaee.It Va "machdep.adjkerntz	integer	yes"
2562a680c5cSAlexander Ziaee.It Va "machdep.disable_rtc_set	integer	yes"
2572a680c5cSAlexander Ziaee.It Va "machdep.guessed_bootdev	string	no"
2582a680c5cSAlexander Ziaee.It Va "user.cs_path	string	no"
2592a680c5cSAlexander Ziaee.It Va "user.bc_base_max	integer	no"
2602a680c5cSAlexander Ziaee.It Va "user.bc_dim_max	integer	no"
2612a680c5cSAlexander Ziaee.It Va "user.bc_scale_max	integer	no"
2622a680c5cSAlexander Ziaee.It Va "user.bc_string_max	integer	no"
2632a680c5cSAlexander Ziaee.It Va "user.coll_weights_max	integer	no"
2642a680c5cSAlexander Ziaee.It Va "user.expr_nest_max	integer	no"
2652a680c5cSAlexander Ziaee.It Va "user.line_max	integer	no"
2662a680c5cSAlexander Ziaee.It Va "user.re_dup_max	integer	no"
2672a680c5cSAlexander Ziaee.It Va "user.posix2_version	integer	no"
2682a680c5cSAlexander Ziaee.It Va "user.posix2_c_bind	integer	no"
2692a680c5cSAlexander Ziaee.It Va "user.posix2_c_dev	integer	no"
2702a680c5cSAlexander Ziaee.It Va "user.posix2_char_term	integer	no"
2712a680c5cSAlexander Ziaee.It Va "user.posix2_fort_dev	integer	no"
2722a680c5cSAlexander Ziaee.It Va "user.posix2_fort_run	integer	no"
2732a680c5cSAlexander Ziaee.It Va "user.posix2_localedef	integer	no"
2742a680c5cSAlexander Ziaee.It Va "user.posix2_sw_dev	integer	no"
2752a680c5cSAlexander Ziaee.It Va "user.posix2_upe	integer	no"
2762a680c5cSAlexander Ziaee.It Va "user.stream_max	integer	no"
2772a680c5cSAlexander Ziaee.It Va "user.tzname_max	integer	no"
2782a680c5cSAlexander Ziaee.It Va "user.localbase	string	no"
279dea673e9SRodney W. Grimes.El
2806087df9eSRuslan Ermilov.Sh FILES
2812a680c5cSAlexander Ziaee.Bl -tag -width "<netinet/icmp_var.h>" -compact
2826087df9eSRuslan Ermilov.It In sys/sysctl.h
2836087df9eSRuslan Ermilovdefinitions for top level identifiers, second level kernel and hardware
2846087df9eSRuslan Ermilovidentifiers, and user level identifiers
2856087df9eSRuslan Ermilov.It In sys/socket.h
2866087df9eSRuslan Ermilovdefinitions for second level network identifiers
2876087df9eSRuslan Ermilov.It In sys/gmon.h
2886087df9eSRuslan Ermilovdefinitions for third level profiling identifiers
2896087df9eSRuslan Ermilov.It In vm/vm_param.h
2906087df9eSRuslan Ermilovdefinitions for second level virtual memory identifiers
2916087df9eSRuslan Ermilov.It In netinet/in.h
2926087df9eSRuslan Ermilovdefinitions for third level Internet identifiers and
2936087df9eSRuslan Ermilovfourth level IP identifiers
2946087df9eSRuslan Ermilov.It In netinet/icmp_var.h
2956087df9eSRuslan Ermilovdefinitions for fourth level ICMP identifiers
2966087df9eSRuslan Ermilov.It In netinet/udp_var.h
2976087df9eSRuslan Ermilovdefinitions for fourth level UDP identifiers
2986087df9eSRuslan Ermilov.El
2998251b8b8SMateusz Piotrowski.Sh EXIT STATUS
3008251b8b8SMateusz Piotrowski.Ex -std
301dea673e9SRodney W. Grimes.Sh EXAMPLES
302dea673e9SRodney W. GrimesFor example, to retrieve the maximum number of processes allowed
303b91e5f67SSteve Pricein the system, one would use the following request:
304def778b8SRuslan Ermilov.Pp
3052a680c5cSAlexander Ziaee.Dl Va "sysctl kern.maxproc"
306dea673e9SRodney W. Grimes.Pp
307dea673e9SRodney W. GrimesTo set the maximum number of processes allowed
308b91e5f67SSteve Priceper uid to 1000, one would use the following request:
309def778b8SRuslan Ermilov.Pp
3102a680c5cSAlexander Ziaee.Dl Va "sysctl kern.maxprocperuid=1000"
311dea673e9SRodney W. Grimes.Pp
312dea673e9SRodney W. GrimesInformation about the system clock rate may be obtained with:
313def778b8SRuslan Ermilov.Pp
3142a680c5cSAlexander Ziaee.Dl Va "sysctl kern.clockrate"
315dea673e9SRodney W. Grimes.Pp
316d9b1bc77SPhilippe CharnierInformation about the load average history may be obtained with:
317def778b8SRuslan Ermilov.Pp
3182a680c5cSAlexander Ziaee.Dl Va "sysctl vm.loadavg"
3191d86b91cSPoul-Henning Kamp.Pp
3201d86b91cSPoul-Henning KampMore variables than these exist, and the best and likely only place
3211d86b91cSPoul-Henning Kampto search for their deeper meaning is undoubtedly the source where
3221d86b91cSPoul-Henning Kampthey are defined.
3232a6bc064SYaroslav Tykhiy.Sh COMPATIBILITY
3242a6bc064SYaroslav TykhiyThe
3252a6bc064SYaroslav Tykhiy.Fl w
3262a6bc064SYaroslav Tykhiyoption has been deprecated and is silently ignored.
327dea673e9SRodney W. Grimes.Sh SEE ALSO
32897a00e76SAlexey Zelkin.Xr sysctl 3 ,
32943308797SChristian Brueffer.Xr loader.conf 5 ,
33043308797SChristian Brueffer.Xr sysctl.conf 5 ,
3318d7a48d3SOlivier Certner.Xr security 7 ,
3325ec83c66SZhenlei Huang.Xr loader 8 ,
3335ec83c66SZhenlei Huang.Xr jail 8
334dea673e9SRodney W. Grimes.Sh HISTORY
335629e80efSPhilippe CharnierA
336629e80efSPhilippe Charnier.Nm
337629e80efSPhilippe Charnierutility first appeared in
33885cf659aSMike Pritchard.Bx 4.4 .
3391d86b91cSPoul-Henning Kamp.Pp
34085cf659aSMike PritchardIn
341d9b1bc77SPhilippe Charnier.Fx 2.2 ,
342d9b1bc77SPhilippe Charnier.Nm
34385cf659aSMike Pritchardwas significantly remodeled.
3446087df9eSRuslan Ermilov.Sh BUGS
3456087df9eSRuslan ErmilovThe
3466087df9eSRuslan Ermilov.Nm
3476087df9eSRuslan Ermilovutility presently exploits an undocumented interface to the kernel
3480438e9beSMateusz Piotrowski.Xr sysctl 9
3490438e9beSMateusz Piotrowskifacility to traverse the sysctl tree and to retrieve format
3506087df9eSRuslan Ermilovand name information.
3516087df9eSRuslan ErmilovThis correct interface is being thought about for the time being.
352