Commit Graph

17 Commits

Author SHA1 Message Date
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
mikel 480894feb2 xref sliplogin(8), not nonexistent sliplogin(1) 1997-08-27 07:59:19 +00:00
mycroft a6a278a7bf Fix typo. 1996-12-08 13:54:42 +00:00
explorer 22018a843b Reference the new sl(4) page 1996-08-10 21:26: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
paulus a437541fdd restored to its former state 1995-08-02 01:27:08 +00:00
glass 6614c5a7b3 pppstats(8) and slstats(8) has been rewritten and merged
semantics and interface now follow the iostat/vmstat standard for
statistics reporting.

man page rewritten to match new semantics and interface.  now shared.
1994-11-15 07:20:52 +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 81bae33f1f needs -lkvm, not -lutil 1994-01-28 01:00:24 +00:00
jtc 495a70fd26 Fix bug #50, by bringing in slstats manpage from cslip 2.7 distribution. 1994-01-08 03:03:34 +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