summaryrefslogtreecommitdiffstats
path: root/bin/ps/nlist.c
Commit message (Collapse)AuthorAgeFilesLines
* Fixed breakage of %CPU and %MEM in the previous commit. sysctlbyname()bde1998-09-101-5/+11
| | | | | | was called with wrong args so it always failed. PR: 7881
* Pick up kernel variables/constants using sysctl rather than through /dev/memphk1998-06-301-76/+7
| | | | | | | | Use /dev/null for opening the kvm library, we don't need access to /dev/mem anymore. ps can now run without the setgid(kmem) bit. If it does it will not be able to show argv/envp for another uid's processes unless you are root.
* Correct use of .Nm. Add rcsid.charnier1998-05-151-3/+5
|
* Kill #ifndef NEWVM etc. It affected a lot of other things besidespeter1997-08-031-19/+1
| | | | | | | VM structure (eg: credentials etc) and it's highly unlikely we'll ever get to see the "tainted" BSD<=4.3 VM code in public use. Although it indicated the way some things used to be done, it obfuscates things too much.
* Revert $FreeBSD$ to $Id$peter1997-02-221-1/+1
|
* Make the long-awaited change from $Id$ to $FreeBSD$jkh1997-01-141-1/+1
| | | | | | | | This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long. Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise.
* -Wall cleaning.steve1996-12-141-2/+2
|
* Re-apply an old patchkit days fix of mine for mempages:dg1994-11-241-1/+2
| | | | | | | | | * PATCHES MAGIC LEVEL PATCH THAT GOT US HERE * -------------------- ----- ---------------------- * CURRENT PATCH LEVEL: 1 00051 * -------------------- ----- ---------------------- * * 14 Aug 92 David Greenman Fixed NEWVM mempages calculation
* On second thought...back out previous commit.dg1994-10-021-2/+1
|
* Include rtprio.hdg1994-10-021-1/+2
|
* Added $Id$dg1994-09-241-0/+2
|
* BSD 4.4 Lite bin Sourcesrgrimes1994-05-261-0/+136
OpenPOWER on IntegriCloud