Commit Graph

12 Commits

Author SHA1 Message Date
dsl
58cc83950f Remove a splurious check for a NULL pointer (always passed as &struct->member).
Stops Coverty SID:2362 complaint
2006-03-30 21:05:07 +00:00
rpaulo
1f649eba90 If reading values from a live system, use sysctls net.ns.spp.(debug|debx). 2005-09-06 02:58:48 +00:00
rpaulo
db74a52bff ANSI func. decl. and de-P(). 2005-09-05 23:17:08 +00:00
agc
326b2259b7 Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22366, verified by myself.
2003-08-07 11:25:11 +00:00
itojun
7bd25b06e9 die if out-of-range address is specified to -p 2002-11-16 04:20:42 +00:00
grant
eda9e509bb sweep of errx/warnx, remove unnecessary trailing \n 2002-07-20 08:40:16 +00:00
cgd
25bdbb661e convert to use getprogname() 2001-02-19 23:22:40 +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
thorpej
8f8a2e37ef - Rewrite this program to use libkvm, not grovel /dev/kmem manually. Now
works on crash dumps, as well as live kernels.
- Fix a few 64-bit bugs.
- Add prototypes.
- Fix compiler warnings.
- Fix potential bad pointer arithmetic interaction with sort comparison
  function.
- Build with WARNS.
- Update copyright.
1997-07-23 18:20:46 +00:00
mikel
bd9a24e449 merge lite-2 changes, RCSid police 1997-07-23 06:16:44 +00:00
mycroft
e9d867ef50 Add RCS identifiers. 1993-08-01 17:54:45 +00:00
cgd
cf98284671 added accton, edquota, flcopy, gettable, htable, iostat, quotaon,
repquota, trpt, and trsp, per (currently alpha) patch 125.
1993-04-09 12:15:37 +00:00