summaryrefslogtreecommitdiffstats
path: root/usr.bin/systat/pigs.c
Commit message (Collapse)AuthorAgeFilesLines
* Remove previously unneeded and now incorrect cast of user_from_uid()dwmalone2002-04-131-7/+7
| | | | | to a char *. Fix up vendor ID.
* remove __Pimp2002-03-221-1/+1
|
* WARNS=2 fixes with NO_WERROR set, as there are some header issuesmarkm2001-12-121-21/+24
| | | | with namelists. use __FBSDID().
* Compensate for "Compensate for header dethreading" by backing it out.bde2001-10-101-1/+0
|
* Compensate for header dethreading.markm2001-05-011-0/+1
|
* Catch up to new proc flags.jhb2001-01-241-1/+1
|
* Change the proc information returned from the kernel so that itmckusick2000-12-121-10/+6
| | | | | | | | | | | | no longer contains kernel specific data structures, but rather only scalar values and structures that are already part of the kernel/user interface, specifically rusage and rtprio. It no longer contains proc, session, pcred, ucred, procsig, vmspace, pstats, mtx, sigiolst, klist, callout, pasleep, or mdproc. If any of these changed in size, ps, w, fstat, gcore, systat, and top would all stop working. The new structure has over 200 bytes of unassigned space for future values to be added, yet is nearly 100 bytes smaller per entry than the structure that it replaced.
* fix another int/long type mismatch. This one was causing pigs togallatin2000-12-011-1/+1
| | | | die with an fpe on alpha because fscale wasn't properly initted
* o make systat/pigs.c use syctl() to retrieve cp_time, fscale, and ccpurwatson2000-11-251-27/+32
| | | | instead of using kmem.
* systat is way too comfortable with curses internals...peter1999-08-301-2/+2
|
* Fixed type mismatches which were fatal when sizeof(long) > sizeof(int).bde1998-07-061-2/+2
|
* o Use snprintf rather than sprintfimp1998-06-091-1/+1
| | | | | | | | | | | o Add more checks for buffer overflows o Use snprintf rather than strcat/cpy and have better checks for max length exceeded. Most of these changes are not exploitable buffer overruns, but it never hurts to be safe. Inspired by and obtained from: OpenBSD
* Fix: too many arguments for format in call to sprintf().jdp1997-11-181-1/+1
|
* Really eliminated includes of the "temporary" backwards compatibilitybde1996-09-241-1/+0
| | | | | header <sys/dir.h> in applications. My previous sweep didn't find the places that included it without needing it.
* #include <sys/user.h>phk1995-10-291-0/+1
|
* Remove trailing whitespace.rgrimes1995-05-301-1/+1
|
* BSD 4.4 Lite Usr.bin Sourcesrgrimes1994-05-271-0/+245
OpenPOWER on IntegriCloud