Deleted Added
full compact
sysctl.9 (164560) sysctl.9 (165213)
1.\"
2.\" Copyright (c) 2006 Robert N. M. Watson
3.\" All rights reserved.
4.\"
5.\" Redistribution and use in source and binary forms, with or without
6.\" modification, are permitted provided that the following conditions
7.\" are met:
8.\" 1. Redistributions of source code must retain the above copyright

--- 9 unchanged lines hidden (view full) ---

18.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
19.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
20.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
21.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
22.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
24.\" SUCH DAMAGE.
25.\"
1.\"
2.\" Copyright (c) 2006 Robert N. M. Watson
3.\" All rights reserved.
4.\"
5.\" Redistribution and use in source and binary forms, with or without
6.\" modification, are permitted provided that the following conditions
7.\" are met:
8.\" 1. Redistributions of source code must retain the above copyright

--- 9 unchanged lines hidden (view full) ---

18.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
19.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
20.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
21.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
22.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
24.\" SUCH DAMAGE.
25.\"
26.\" $FreeBSD: head/share/man/man9/sysctl.9 164560 2006-11-23 14:28:19Z yar $
26.\" $FreeBSD: head/share/man/man9/sysctl.9 165213 2006-12-14 14:33:13Z mpp $
27.\"
28.Dd November 23, 2006
29.Dt SYSCTL 9
30.Os
31.Sh NAME
32.Nm SYSCTL_DECL ,
33.Nm SYSCTL_INT ,
34.Nm SYSCTL_LONG ,

--- 101 unchanged lines hidden (view full) ---

136.It Dv CTLFLAG_PRISON
137This sysctl can be written to by processes in
138.Xr jail 2 .
139.It Dv CTLFLAG_SKIP
140When iterating the sysctl name space, do not list this sysctl.
141.It Dv CTLFLAG_TUN
142Also declare a system tunable with the same name to initialize this variable.
143.It Dv CTLFLAG_RDTUN
27.\"
28.Dd November 23, 2006
29.Dt SYSCTL 9
30.Os
31.Sh NAME
32.Nm SYSCTL_DECL ,
33.Nm SYSCTL_INT ,
34.Nm SYSCTL_LONG ,

--- 101 unchanged lines hidden (view full) ---

136.It Dv CTLFLAG_PRISON
137This sysctl can be written to by processes in
138.Xr jail 2 .
139.It Dv CTLFLAG_SKIP
140When iterating the sysctl name space, do not list this sysctl.
141.It Dv CTLFLAG_TUN
142Also declare a system tunable with the same name to initialize this variable.
143.It Dv CTLFLAG_RDTUN
144Also declare a system tunable with the same name to initalize this variable;
144Also declare a system tunable with the same name to initialize this variable;
145however, the run-time variable is read-only.
146.El
147.Pp
148When creating new sysctls, careful attention should be paid to the security
149implications of the monitoring or management interface being created.
150Most sysctls present in the kernel are read-only or writable only by the
151superuser.
152Sysctls exporting extensive information on system data structures and

--- 152 unchanged lines hidden ---
145however, the run-time variable is read-only.
146.El
147.Pp
148When creating new sysctls, careful attention should be paid to the security
149implications of the monitoring or management interface being created.
150Most sysctls present in the kernel are read-only or writable only by the
151superuser.
152Sysctls exporting extensive information on system data structures and

--- 152 unchanged lines hidden ---