xtraeme
b11450ab76
Mention vfs.sync.*, bump date.
2005-09-21 19:08:44 +00:00
rpaulo
dcc35c7ff8
Handle net.inet.tcp.debug, net.inet.tcp.debx, net.ns.spp.debug and
...
net.ns.spp.debx. Bump man page date.
2005-09-06 03:22:58 +00:00
rpaulo
a49638942e
net.inet?.*.stats are viewable with netstat(1).
2005-08-28 16:18:04 +00:00
rpaulo
92c6f16501
Added net.bpf.peers and net.bpf.stats and bumped the date.
2005-08-04 20:10:24 +00:00
rpaulo
78d05017af
Inform the user that net.bpf.stats and net.bpf.peers are viewable with
...
netstat(1).
2005-08-04 19:44:18 +00:00
christos
2c6eadc9ce
Move WARNS=3 to the Makefile.inc, and add a little const to the remaining
...
programs that did not compile before.
2005-06-27 01:00:04 +00:00
christos
29a6465002
Add code to handle cp_id. From atatat.
2005-06-16 14:56:36 +00:00
wiz
e45ea581c3
Bump date for previous. <> -> \*[Lt]\*[Gt].
2005-05-24 16:00:11 +00:00
elad
6755bac719
Add man-page bits about the 'count' node.
2005-05-24 15:47:46 +00:00
elad
cd0c4134f1
Remove common code for returning supported fingerprints. This is done now
...
via sysctl(8) using kern.veriexec.algorithms.
Also add an entry for the 'algorithms' variable in sysctl.8 forgotten in
the last commit.
2005-05-20 19:52:52 +00:00
elad
5888b16eef
Some changes in veriexec.
...
New features:
- Add a veriexec_report() routine to make most reporting consistent and
remove some common code.
- Add 'strict' mode that controls how veriexec behaves.
- Add sysctl knobs:
o kern.veriexec.verbose controls verbosity levels. Value: 0, 1.
o kern.veriexec.strict controls strict level. Values: 0, 1, 2. See
documentation in sysctl(3) for details.
o kern.veriexec.algorithms returns a string with a space separated
list of supported hashing algorithms in veriexec.
- Updated documentation in man pages for sysctl(3) and sysctl(8).
Bug fixes:
- veriexec_removechk(): Code cleanup + handle FINGERPRINT_NOTEVAL
correctly.
- exec_script(): Don't pass 0 as flag when executing a script; use the
defined VERIEXEC_INDIRECT - which is 1. Makes indirect execution
enforcement work.
- Fix some printing formats and types..
2005-05-19 20:16:19 +00:00
christos
ad6c31cee3
PPR/29909: Manuel Bouyer: sysctl dumps core if kern.consdev returns unknown
...
device. If we cannot determine the device name of the console, print the
console dev_t in hex.
2005-04-06 21:13:03 +00:00
christos
7a221682eb
make sysctl -n print the real console tty name and -nn print the numeric
...
value.
XXX: -n means don't print name, not numeric. We should stop overloading
it and use a different flag.
2005-03-28 04:03:13 +00:00
atatat
0f48b53686
If a "create" or "destroy" operation succeeds, mark the cached tree as
...
"stale" so that the next time we try to read or write to it, we can
purge (and refresh) it.
Addresses PR 29222.
2005-03-23 03:45:25 +00:00
atatat
160438234d
Fix possible segmentation fault when retrieving descriptions. Thought
...
I committed this a while ago. I guess the fact that no one filed a pr
meant no one else found it. :)
2005-03-19 23:19:17 +00:00
atatat
64dd54edba
Use regexes instead of static lists of annoying numbers to recognize
...
sysctl nodes that have "helpers". This is more concise, imho more
easy to understand, and has the added bonus of making it *possible* to
assign helpers to dynamically numbered nodes.
2005-03-18 04:52:24 +00:00
atatat
6472d0c335
Make requestors of kern.file2 be referred to pstat (the same as
...
kern.file) and add EINVAL to the list of errno values which are
silently ignored when walking the tree.
2005-03-15 13:59:35 +00:00
christos
4eb7659c2c
PR/28782: OBATA Akio: Document that kern.rtc_offset is writable.
2004-12-26 16:57:09 +00:00
atatat
2971543eb5
Pass dynamic buffer pointer to display_string(), not static buffer
...
pointer. Causes...misfunction if the kernel says the buffer needs to
be too much larger.
2004-12-17 05:03:03 +00:00
jdolecek
a9ebca7170
add vfs.cd9660.utf8_joliet, and couple other vfs.* entries while here
...
bump date and add TNF copyright
2004-11-21 22:18:10 +00:00
jdolecek
0154132fed
constify handlers[]
2004-10-17 11:04:39 +00:00
daniel
84a34aedec
Add vm.bufcache, vm.bufmem, vm.bufmem_lowater, m.bufmem_hiwater (PR misc/27247, misc/27233).
2004-10-15 08:47:16 +00:00
wiz
484705032c
Bump date for removal of net.key.random_int.
2004-08-27 14:35:11 +00:00
itojun
8ba8c58e74
remove net.key.random_int
2004-08-27 04:58:10 +00:00
snj
7c289c6773
Bump date for last.
2004-04-28 20:28:39 +00:00
ragge
e79327fe4a
Note net.inet.arp.* entries.
2004-04-28 14:15:10 +00:00
atatat
605d2000dd
When converting a string to a number, also make sure that you didn't
...
convert an empty string to a zero.
Follow on to PR bin/25115 in private email.
2004-04-25 05:36:49 +00:00
atatat
a929f1c4f7
Allocate adjusted size, not fixed size.
2004-04-23 12:03:39 +00:00
atatat
d528f2f477
Some lint cleaning, strip leading (and sometimes trailing) whitespace
...
from values to be assigned when processing a file. Clean up error
reporting (print the name of the file and the line number), and tidy
some numeric conversions. Continue after most "errors" when
processing a -f argument.
Addresses PR bin/25115.
2004-04-22 03:56:31 +00:00
atatat
de37b59396
If the node was specifically requested but has no description, print
...
the "no description" message instead of skipping (as happens when
recursing into a subtree). This does not apply to non-node-type
nodes.
2004-04-14 05:13:50 +00:00
atatat
67f14f8fff
Don't copy the size that sysctl gave back directly, copy the size of
...
the description. *thwap*
2004-04-08 06:49:03 +00:00
atatat
610ed0d02a
Don't copy the size that sysctl gave back directly, copy the size of
...
the description.
2004-04-08 06:12:43 +00:00
atatat
4f406ff76d
Do nothing else for nodes with no children if -d is used (dflag is
...
set). Otherwise, some nodes (those with "printers") will also print
the "use foo ..." message.
2004-04-08 04:00:33 +00:00
atatat
fcc6bb1735
Add -d flag to usage message(s).
2004-04-06 19:39:44 +00:00
he
4af725d078
Make this too gcc2-compileable.
2004-03-26 23:55:45 +00:00
atatat
29e15c7932
Move sysctlbyname(), sysctlnametomib(), and sysctlgetmibinfo() from
...
sysctl(8) into libc, making the minor number jump. Add prototypes to
sys/sysctl.h, fix sets, modify man pages, etc. That oughta cover it.
2004-03-25 19:36:26 +00:00
wiz
bb06082698
Remove duplicate and superfluous words.
2004-03-24 23:49:13 +00:00
atatat
b7dd417f09
Remove #define of __USE_NEW_SYSCTL. I'm not even sure I remember what
...
I used it for, but we certainly don't need it now.
2004-03-24 20:20:44 +00:00
atatat
2de2c6ed07
This file should have a copyright notice on it.
2004-03-24 20:17:59 +00:00
snj
463ea56ee8
Bump date for last.
2004-03-24 19:11:06 +00:00
atatat
4723bb21ba
Bring sysctl man pages up to date (wrt new query interface, the
...
versioning, and descriptions).
2004-03-24 18:22:30 +00:00
atatat
38c4183b04
Implement sysctl descriptions. Now all that remains is actually to
...
write them.
2004-03-24 18:11:09 +00:00
atatat
c6abd47f96
New node version and layout. This should take care of the netbsd32
...
emulation problem, formalizes the versioning (should it ever be needed
again), and provides a slot for descriptions.
2004-03-24 17:21:02 +00:00
atatat
d42aae36c0
The new sysctl query interface returns the same information as the old
...
one, but you must pass in an empty node that indicates the version
you're using.
2004-03-24 16:34:34 +00:00
atatat
19af35fd0d
Tango on sysctl_createv() and flags. The flags have all been renamed,
...
and sysctl_createv() now uses more arguments.
2004-03-24 15:34:46 +00:00
atatat
299501e0d7
A little syntactic sugar
2004-03-20 05:22:41 +00:00
atatat
f99654532c
Make this:
...
% sysctl -A kern.cp_time
(and also "sysctl -A" without the kern.cp_time argument) print this:
kern.cp_time: user = 851648, nice = 683496, sys = 69383, ...
kern.cp_time.0: user = 85648, nice = 68496, sys = 6983, ...
...
instead of just:
kern.cp_time.0: user = 85648, nice = 68496, sys = 6983, ...
...
2004-02-20 05:27:39 +00:00
atatat
589a080332
More better display of kern.cp_time for MP machines. Now we use one
...
sysctl() call to query for each of three different display modes:
(1) sum across all cpus
% sysctl kern.cp_time
kern.cp_time: user = 93240, nice = 1507, sys = 17252, ...
(2) data for just cpu 0
% sysctl kern.cp_time.0
kern.cp_time.0: user = 93282, nice = 1507, sys = 17264, ...
(3) each cpu individually up to hw.ncpu
% sysctl -A kern.cp_time
kern.cp_time.0: user = 93349, nice = 1507, sys = 17280, ...
kern.cp_time.1: user = 93403, nice = 1507, sys = 17291, ...
...
2004-02-19 06:51:11 +00:00
atatat
5e111b3c0a
Miscellaneous display bugfixes.
2004-02-19 06:44:18 +00:00
atatat
a44f68529b
Rename sysctlnametomib() to sysctlgetmibinfo() and add FreeBSD
...
compatible sysctlnametomib() and sysctlbyname() functions.
These are intended to move to libc real soon now.
2004-02-19 06:40:14 +00:00