obrien
9baf2f1b03
Default to WARNS=2.
...
Binary builds that cannot handle this must explicitly set WARNS=0.
Reviewed by: mike
2001-12-04 02:19:58 +00:00
rwatson
eb2bfb8b51
o Update sysctl.8 to reflect renaming of various security-related
...
sysctls, and to introduce new ones.
Obtained from: TrustedBSD Project
Sponsored by: DARPA, NAI Labs
2001-11-30 21:55:22 +00:00
tobez
b35708db5b
Replace =' with more correct
`.Ql =''.
...
Mdoc-policed by: ru
2001-10-31 15:57:55 +00:00
tobez
c304204fd4
Implement -e option. It modifies the output produced by sysctl(8) in
...
such a way that the name and the value of the variable(s) are separated
with `=' instead of the usual `: '. This is useful for producing output
that can be fed back to the sysctl utility (pasted to sysctl.conf, for
example).
Reviewed by: rwatson
Approved by: markm
MFC after: 2 weeks
2001-10-30 20:15:32 +00:00
yar
a9479014c3
Document the deprecated `-w' option in the COMPATIBILITY section.
2001-08-02 12:38:23 +00:00
yar
e74fb4323e
Since the ``-w'' sysctl(8) option has been deprecated,
...
don't mention it in the manpages.
2001-07-30 14:18:14 +00:00
ru
5001e16d30
mdoc(7) police: -xwidth has been fold into -width.
2001-07-13 09:09:52 +00:00
ru
ecddfe13a5
mdoc(7) police: fixed formatting.
2001-07-05 11:22:50 +00:00
pirzyk
976a20fbb6
modfied sysctl command to allow setting values > 2GB if the mib supports it.
...
PR: kern/21132
Reviewed by: no objections to by -arch
MFC after: 1 month
2001-06-18 21:06:24 +00:00
dd
555fbb44b3
Normalize the use of sizeof according to style(9).
...
Reviewed by: md5(1)
2001-06-09 03:56:16 +00:00
dd
fb2240a5b3
Remove xref to blackhole(4). sysctl has nothing to do with
...
blackhole(4), except that blackhole(4) uses sysctl's. This xref
obviously isn't appropriate unless we want to xref all the other man
pages which mention sysctls, which we obviously don't (we may want to
list those sysctls, but that's another story).
PR: 27937
Submitted by: yar
2001-06-08 03:12:32 +00:00
dd
cd7c82577f
Remove unused variable (descr) in show_var().
...
PR: 22582
Submitted by: Giorgos Keramidas <charon@gray.westgate.gr>
2001-06-01 02:58:09 +00:00
dd
e1f7978951
Update the document date after DES's updates, move the description of
...
the -b option below -a to maintain alphabetical order, and add a
missing ".It" before "Fl o".
2001-05-29 00:17:17 +00:00
des
f4bfdd6193
Perform random drive-by style cleanups, and rewrite a while loop that
...
offended my artistic sensibilities.
2001-05-28 12:35:40 +00:00
des
98fe4d655a
Try to make sysctl options slightly more orthogonal:
...
- introduce a -o option that displays opaque variables.
- introduce a -x option that displays opaque variables in full.
- deprecate -A in favor of -ao and -X in favor of -ax.
- remove -A and -X from usage() and SYNOPSIS (but not from DESCRIPTION).
- ignore -a if one or more variables were listed on the command line.
- deprecate -w, it is not needed to determine the user's intentions.
- some language and style cleanup in the man page.
This commit should not break any existing scripts.
MFC after: 4 weeks
2001-05-28 12:15:45 +00:00
ru
86642a4ab4
- Backout botched attempt to introduce MANSECT feature.
...
- MAN[1-9] -> MAN.
2001-03-26 14:33:27 +00:00
ru
56b5d7535b
Set the default manual section for sbin/ to 8.
2001-03-20 18:13:31 +00:00
ru
8a6f8b5fe4
mdoc(7) police: split punctuation characters + misc fixes.
2001-02-01 16:38:02 +00:00
des
d43290aaba
Document the -N option in the usage message and the man page.
2001-01-14 19:08:58 +00:00
des
993fa37970
Add a -N option that makes sysctl(8) print out just the variable names.
...
Zsh users can add the following to their .zshrc for sysctl completion:
function listsysctls {
case $1 in
*.*) set -A reply $(sysctl -AN ${1%.*}) ;;
*) set -A reply $(sysctl -AN) ;;
esac
}
compctl -K listsysctls sysctl
While I'm here, brucify the getopt() switch.
2001-01-14 16:40:06 +00:00
ru
979699b8a9
Prepare for mdoc(7)NG.
2000-12-19 15:36:48 +00:00
phantom
32d8e5ee4d
Add missing coma in SEE ALSO section
...
Reported by: Rich Morin <rdm@cfcl.com>
2000-12-14 16:24:38 +00:00
ru
ea31070695
mdoc(7) police: use the new features of the Nm macro.
2000-11-20 16:52:27 +00:00
gallatin
11e8e4bacd
Give correct results for SYSCTL_LONG arrays when sizeof(int) != sizeof(long)
...
This fixes unaligned access on alpha for, eg, sysctl kern.ipc.mbtypes.
2000-10-23 21:04:18 +00:00
obrien
45a5e1dea6
Add reference to sysctl.conf.
2000-07-27 22:57:46 +00:00
sheldonh
75cb2c66dc
Describe the syncer(4)-related sysctls kern.filedelay, kern.dirdelay
...
and kern.metadelay, thanks to mckusick's feedback.
2000-07-26 08:51:58 +00:00
phk
c8c0445240
Array of long support.
...
Submitted by: Ian Dowse <iedowse@maths.tcd.ie>
2000-07-11 21:59:54 +00:00
jhb
b6e74b58eb
Support for unsigned integer and long sysctl variables. Update the
...
SYSCTL_LONG macro to be consistent with other integer sysctl variables
and require an initial value instead of assuming 0. Update several
sysctl variables to use the unsigned types.
PR: 15251
Submitted by: Kelly Yancey <kbyanc@posi.net>
2000-07-05 07:46:41 +00:00
phk
9052367a1f
Handle minors like ls(1) does it.
...
PR: 19179
Submitted by: Kelly Yancey <kbyanc@posi.net>
2000-06-10 19:55:39 +00:00
rwatson
53275f25df
o Mention kern.suser_permitted
...
Obtained from: TrustedBSD Project
2000-06-05 14:56:01 +00:00
steve
a11aaa3c1a
Use 'following' instead of 'follow' in a couple of places for a slightly
...
better read.
2000-02-26 16:55:21 +00:00
des
ebb4d4db22
Belatedly back out rev. 1.20.
1999-11-22 08:38:29 +00:00
grog
de007c895f
Allow octal or hex input.
...
Suggested-by: Geoff Steckel <gwes@sitaranetworks.com>
1999-11-17 23:42:09 +00:00
peter
76f0c923fe
$Id$ -> $FreeBSD$
1999-08-28 00:22:10 +00:00
csgr
2435bad49c
Add reference to blackhole(4)
1999-08-17 14:28:07 +00:00
billf
16090fda0f
Avoid ambigious if/else
1999-07-21 02:49:42 +00:00
obrien
f2521ffec6
Move sysctl/ to src/sbin/ where it now belongs.
...
Repository copied by: Peter
1999-05-10 10:17:22 +00:00
des
cd585d50b4
Clean up option handling a little.
...
Add an option for showing sysctl descriptions instead of their values.
1999-01-10 02:10:08 +00:00
phk
153e666c16
Allow for printing out integer arrays.
1998-11-08 19:27:43 +00:00
jkoshy
4f1d2ca2b5
`kern.maxproc' is not changeable using sysctl(1). Change examples
...
that show `kern.maxproc' being written.
PR: docs/7978
Submitted by: jlemon@americantv.com
1998-09-29 02:01:06 +00:00
dfr
f7a70d8e02
Change length arguments to sysctl to size_t.
1998-08-25 07:38:19 +00:00
joerg
4a3c46b359
Document the kern.logsigexit sysctl variable (sort of).
...
Reminded by: bde
1998-07-29 08:30:37 +00:00
joerg
9b0b785230
Document sef's recent changes in the corefile naming.
...
Reviewed by: sef (well, i believe his `Looks good' was a review result :)
1998-07-21 18:16:16 +00:00
bde
e98f798c6a
Don't assume that time_t is long.
1998-06-29 17:54:29 +00:00
bde
aa2bd98249
Install sysctl in /sbin. It is used in some cases in network_pass1(),
...
before /usr is mounted if /usr has type nfs.
1997-12-18 15:34:08 +00:00
jdp
8a7bf8aff1
Add missing argument detected by "-Wformat".
1997-11-18 03:37:45 +00:00
charnier
a9b89e1f31
Use err(3). Change err(-1,... to err(1,...
1997-10-20 12:53:54 +00:00
kato
09489fa1b7
Added hw.machine_arch.
1997-08-30 02:28:00 +00:00
jhay
0814c237ff
Display tickadj in struct clockinfo.
1997-06-24 18:23:32 +00:00
imp
691010efad
compare return value from getopt against -1 rather than EOF, per the final
...
posix standard on the topic.
1997-03-31 05:11:47 +00:00