Commit Graph

14 Commits

Author SHA1 Message Date
itojun d56d2a76af new copyright notice for VJ. via openbsd.
update copyright notice.  mckusick says that Van signed the standard
  Berkeley copyright assignment form, therefore the new license should
  be on these files. I just copied in the notice that Kirk mailed me.
2002-06-18 22:32:16 +00:00
cgd 25bdbb661e convert to use getprogname() 2001-02-19 23:22:40 +00:00
bouyer 689cdcf64b Adapt printf formats for 64bit counters. 1999-11-19 10:45:23 +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
lukem ffbc1b4bf5 deprecate register, s/bcopy/memmove 1997-10-18 11:38:26 +00:00
lukem 745600d863 WARNSify 1997-10-17 13:36:36 +00:00
mycroft a6a278a7bf Fix typo. 1996-12-08 13:54:42 +00:00
thorpej 5ac89b5cd9 Discard setgid privileges if not reading the running kernel, as suggested
by Mike Grupenhoff <kashmir@umiacs.umd.edu> in PR #2485.

While I'm here, do some long-overdue cleanup, including function prototypes,
and update for modern libkvm interfaces.
1996-06-07 00:44:18 +00:00
glass bbd135f568 inspired to redo slstats man page. slstats.c changed to print
column headers in upper case like most stat utilities.

needs a little more work wordsmithing.. Then copy to pppstats as well.
Code needs rewrite.
1994-11-13 11:20:51 +00:00
cgd 57c58b0a66 fix for new kvm lib 1994-05-14 18:50:57 +00:00
cgd 16980ff4d4 some very xxx changes to get this to be happy with the current kvm lib. 1994-04-16 08:12:12 +00:00
cgd 4a44e21ee4 casting foo 1994-03-28 07:22:05 +00:00
cgd 56a2b2e2c1 Fix slstats to compile with new if_slvar.h. Get the appropriate
stats from the network interface struct, not their now-nonexistant
old locations.  i came up with the fix, prompted by Rich Murphey's
solution, which simply removed the printing of those statistics entirely.
1993-12-22 12:16:00 +00:00
brezak 578eb233b1 slstats command from cslip-2.6 distr. 1993-11-16 04:16:46 +00:00