ross
029a64cc29
from Erik Bertelsen <erik@mediator.uni-c.dk>
...
{ put } { in } { lots } { of } { these } { to } { shut } { up } { egcs }
1998-08-25 19:18:12 +00:00
msaitoh
7970137565
delete an obsolete usage
1998-08-10 18:03:04 +00:00
thorpej
6a3defb749
Remove the stats printing code. Now that the ccd driver uses the pool
...
allocator, there are no more stats that it keeps.
1998-07-31 01:34:20 +00:00
mrg
80efe80bc9
- change setgid kmem programs (that lend themselves to this) so setegid(getgid())
...
and the top, and then set the effective gid back to kmem around the call to
kvm_openfiles(). this reduces the time group kmem is available.
- for those above that also allow this, setgid(getgid()) after the call to
kvm_openfiles() to fully revoke priviledges.
- some KNF
- use err(3) over fprintf(3) in some places
1998-07-06 07:50:18 +00:00
mrg
3d7b0bedb6
use warn() properly.
1998-02-03 09:13:49 +00:00
mycroft
6ee0ed93a2
The output of `ccdconfig -g' is supposed to be a valid configuration file.
...
Prefix two messages with `# ' so they're comments.
1997-12-30 05:58:06 +00:00
mrg
464d5b30e5
reset the gid before calling fopen() on the config file. stops people
...
having read kmem access. from rotel@indigo.ie (who obtained it from
openbsd).
1997-12-30 05:40:47 +00:00
thorpej
f4b569b12b
Fix type problems on the Alpha.
1997-12-05 20:01:51 +00:00
lukem
93dfe82696
use fparseln() instead of fgets(), improve man page
1997-12-01 03:40:51 +00:00
lukem
12ad7a4d6c
use memset instead of bzero
1997-09-14 08:39:43 +00:00
jtc
8c11c4ff0e
Fix files using old TNF copyright notice
1997-07-31 00:11:51 +00:00
thorpej
a45e75a084
Clean up usage of __COPYRIGHT() macro.
1997-07-23 20:25:13 +00:00
thorpej
c832f759ea
Case size_t to "long" for printing, and use %ld for the format.
1997-07-20 05:20:40 +00:00
thorpej
78af0e94b2
- Use __COPYRIGHT() and __RCSID().
...
- Fix compiler warnings.
1997-07-20 05:00:51 +00:00
mrg
3a9bd0a52a
be safe with buffers.
1997-04-21 11:26:22 +00:00
thorpej
17aa7541b7
Add support to display the ccd-specific statistics kept by the ccd
...
driver.
1997-01-30 04:02:08 +00:00
thorpej
19ae2142e3
Discard setgid privelidges if not reading the running kernel, as suggested
...
in PR #2485 from Mike Grupenhoff <ashmir@umiacs.umd.edu>.
1996-06-06 23:34:39 +00:00
thorpej
8a5bb3e806
Use getmaxpartitions() and getrawpartition() from libutil, not homegrown
...
versions.
1996-05-16 07:11:17 +00:00
thorpej
ee8a2c002f
Copyright assigned to The NetBSD Foundation.
1996-02-28 01:01:17 +00:00
thorpej
732dd94a83
Add experimental data mirroring support, derived from code written by
...
Satoshi Asami and Nisha Talagala. For details on using data mirroring,
see the ccd(4) manual page.
1996-02-01 20:47:13 +00:00
thorpej
0e43650d58
Fix handling of "-M core" and "-N system"; a real brain-o on my part.
...
Fix related typo in manual page.
1995-11-11 02:41:43 +00:00
thorpej
38634f3a18
Fix up a printf(), from Chris P. Ross.
1995-08-23 01:06:59 +00:00
thorpej
9a422ea24a
Configuration utility for the ccd.
1995-08-17 16:37:17 +00:00