|
Lines 120-126
Link Here
|
| 120 |
.Pp |
120 |
.Pp |
| 121 |
The information available from |
121 |
The information available from |
| 122 |
.Nm |
122 |
.Nm |
| 123 |
consists of integers, strings, and opaques. |
123 |
consists of integers, strings, devices (dev_t), |
|
|
124 |
and opaque types. |
| 124 |
.Nm Sysctl |
125 |
.Nm Sysctl |
| 125 |
only knows about a couple of opaque types, and will resort to hexdumps |
126 |
only knows about a couple of opaque types, and will resort to hexdumps |
| 126 |
for the rest. |
127 |
for the rest. |
|
Lines 135-141
Link Here
|
| 135 |
.Xr sysctl 3 . |
136 |
.Xr sysctl 3 . |
| 136 |
.Pp |
137 |
.Pp |
| 137 |
The changeable column indicates whether a process with appropriate |
138 |
The changeable column indicates whether a process with appropriate |
| 138 |
privilege can change the value. |
139 |
privilege can change the value. String, integer, and devices |
|
|
140 |
values can be set using |
| 141 |
.Xr sysctl 8 . |
| 142 |
For device values, |
| 143 |
.Ar value |
| 144 |
can be specified as a character special file name. Special |
| 145 |
values |
| 146 |
.Ar off |
| 147 |
and |
| 148 |
.Ar none |
| 149 |
denote ``no device''. |
| 139 |
.Bl -column security.bsd.unprivileged_read_msgbuf integerxxx |
150 |
.Bl -column security.bsd.unprivileged_read_msgbuf integerxxx |
| 140 |
.It Sy "Name Type Changeable |
151 |
.It Sy "Name Type Changeable |
| 141 |
.It "kern.ostype string no |
152 |
.It "kern.ostype string no |
|
Lines 164-169
Link Here
|
| 164 |
.It "kern.osreldate string no |
175 |
.It "kern.osreldate string no |
| 165 |
.It "kern.bootfile string yes |
176 |
.It "kern.bootfile string yes |
| 166 |
.It "kern.corefile string yes |
177 |
.It "kern.corefile string yes |
|
|
178 |
.It "kern.dumpdev dev_t yes |
| 167 |
.It "kern.logsigexit integer yes |
179 |
.It "kern.logsigexit integer yes |
| 168 |
.It "security.bsd.suser_enabled integer yes |
180 |
.It "security.bsd.suser_enabled integer yes |
| 169 |
.It "security.bsd.see_other_uids integer yes |
181 |
.It "security.bsd.see_other_uids integer yes |
|
Lines 213-218
Link Here
|
| 213 |
per uid to 1000, one would use the following request: |
225 |
per uid to 1000, one would use the following request: |
| 214 |
.Pp |
226 |
.Pp |
| 215 |
.Dl "sysctl kern.maxprocperuid=1000" |
227 |
.Dl "sysctl kern.maxprocperuid=1000" |
|
|
228 |
.Pp |
| 229 |
The device used for crash dumps can be specified using: |
| 230 |
.Pp |
| 231 |
.Dl "sysctl kern.dumpdev=/dev/somedev |
| 232 |
.Pp |
| 233 |
which is strictly equivalent to |
| 234 |
.Pp |
| 235 |
.Dl "dumpon /dev/somedev |
| 216 |
.Pp |
236 |
.Pp |
| 217 |
Information about the system clock rate may be obtained with: |
237 |
Information about the system clock rate may be obtained with: |
| 218 |
.Pp |
238 |
.Pp |