summaryrefslogtreecommitdiff
path: root/lib/libkvm
Commit message (Collapse)AuthorAgeFilesLines
* Pass correct length OID to kernel for KERN_PROC_ALL.Poul-Henning Kamp1996-06-061-2/+2
| | | | Notes: svn path=/head/; revision=16158
* NBPG -> PAGE_SIZEPoul-Henning Kamp1996-05-023-10/+10
| | | | Notes: svn path=/head/; revision=15533
* From Lite2: proc and file LIST changesJeffrey Hsu1996-03-112-8/+10
| | | | Notes: svn path=/head/; revision=14523
* If the two recently added sysctl variables exist, use those rather thanPeter Wemm1996-02-241-2/+17
| | | | | | | | | | the statically compiled PS_STRINGS and USRSTACK variables. This prevents programs using setproctitle from coredumping if the kernel VM is increased, and stops libkvm users (w, ps, etc) from needing to be recompiled if only the VM layout changes. Notes: svn path=/head/; revision=14236
* Add some missing MLINKS, correct some cross references, correct someMike Pritchard1996-02-091-1/+0
| | | | | | | file locations and some minor formatting/style problems. Notes: svn path=/head/; revision=14003
* Another round of spelling fixes.Mike Pritchard1996-01-301-2/+2
| | | | Notes: svn path=/head/; revision=13754
* Extract the login name when doing a ps on a dead kernel.Peter Wemm1996-01-011-0/+2
| | | | Notes: svn path=/head/; revision=13156
* Cosmetic cleanup and documentation of kvm_argv.. Hopefully the flow ofPeter Wemm1995-12-161-6/+65
| | | | | | | the routine can be much more easily understood now... :-) Notes: svn path=/head/; revision=12885
* phkmalloc strikes again! :-) Another use of un-cleared returns fromPeter Wemm1995-12-091-0/+3
| | | | | | | malloc squashed... Notes: svn path=/head/; revision=12683
* Updates to read the extra indirection in ps_strings. Note that anyPeter Wemm1995-12-092-35/+53
| | | | | | | | | | static executables that depend on this will need to be relinked (ie: do this before 'ps'), but the dynamic linked stuff should be OK (ie: 'w') Obtained from: NetBSD (not much point reinventing the wheel.. :-) Notes: svn path=/head/; revision=12682
* Removed unnecessary include of <sys/tty.h>. tty.h apparently once hadBruce Evans1995-10-221-1/+0
| | | | | | | some user interfaces in it. It no longer does. Notes: svn path=/head/; revision=11679
* 41 headers must be implicitly included and one more (<sys/param.h>) mustBruce Evans1995-06-251-1/+2
| | | | | | | be explicitly included before kvm_getprocs() can be used. Notes: svn path=/head/; revision=9303
* Update the man page for kvm_getprocs.3 to reflect our sysctl-basedJoerg Wunsch1995-06-241-9/+9
| | | | | | | | | kvm mechanism. Submitted by: (Vic Abell) <abe@cc.purdue.edu> Notes: svn path=/head/; revision=9302
* Remove trailing whitespace.Rodney W. Grimes1995-05-308-37/+37
| | | | Notes: svn path=/head/; revision=8870
* Comment out declaration of kvm_uread until it can be fixed correctly.Rodney W. Grimes1995-03-201-0/+2
| | | | Notes: svn path=/head/; revision=7189
* Change u_long to unsigned long to be consistent.Rodney W. Grimes1995-03-201-1/+2
| | | | Notes: svn path=/head/; revision=7188
* libkvm exports kvm_uread(), so do declare it in the header file.Joerg Wunsch1995-03-191-0/+1
| | | | | | | Got apparent by Philippe's -Wall patch for /usr/bin. Notes: svn path=/head/; revision=7167
* Cast the offset of one call to lseek() to off_t, as it's already doneJoerg Wunsch1995-03-191-1/+1
| | | | | | | | | | | in all other places here. This is a hack, the interface should be changed to use off_t's everywhere around, but this will require to update all the programs that happen to use libkvm. Notes: svn path=/head/; revision=7166
* Fix previous fix to agree with the man page - don't report errors inBruce Evans1995-02-251-2/+3
| | | | | | | kvm_open() if errstr is NULL. Notes: svn path=/head/; revision=6701
* Remove some unused variables and fix two blatant core dump triggers.Poul-Henning Kamp1995-02-243-11/+9
| | | | Notes: svn path=/head/; revision=6683
* A semicolon was lost.Poul-Henning Kamp1994-11-072-2/+2
| | | | Notes: svn path=/head/; revision=4241
* From: "gj%pcs.dec.com@inet-gw-1.pa.dec.com" <garyj@rks32.pcs.dec.com>Jordan K. Hubbard1994-11-072-0/+2
| | | | | | | | | | | | | | Given the right circumstances, a call to kvm_open can result in a core dump. The diff belows fixes this (note that this change is already in the NetBSD code). Could somebody apply this? Gary J. Submitted by: gj Notes: svn path=/head/; revision=4231
* Fix from Gary Jennejohn - use 'cp' not 'buf' in read call. Oops.David Greenman1994-11-021-1/+1
| | | | Notes: svn path=/head/; revision=4095
* Added spare space on the usr stack. Used in ibcs2 emulation.Søren Schmidt1994-10-091-2/+2
| | | | Notes: svn path=/head/; revision=3477
* Don't include sys/exec.h.David Greenman1994-09-251-1/+0
| | | | Notes: svn path=/head/; revision=3101
* Get rid of _PATH_UNIX completely; use getbootfile(3) instead.Garrett Wollman1994-09-242-4/+3
| | | | | | | | | | DANGER WILL ROBINSON! _PATH_UNIX is currently defined as the literal string "don't use this". I am of two minds about this myself, but wanted to get something into the tree as quickly as possible. Notes: svn path=/head/; revision=3041
* Made kvm routines use procfs to get out process data such as argumentDavid Greenman1994-08-113-155/+33
| | | | | | | strings. Notes: svn path=/head/; revision=2029
* Converted 'vmunix' to 'kernel'.David Greenman1994-08-053-4/+4
| | | | Notes: svn path=/head/; revision=1856
* Make it work with our make macros.Garrett Wollman1994-08-051-2/+2
| | | | Notes: svn path=/head/; revision=1850
* Fix kvm_i386.c just enough to make it compile and return lots of errorsRodney W. Grimes1994-05-283-346/+74
| | | | | | | | when called. Noop out swapread in kvm_proc.c as our vm system is different. Notes: svn path=/head/; revision=1603
* This is a COPY of kvm_hp300.c, soon to be patched to sorta work withRodney W. Grimes1994-05-282-0/+572
| | | | | | | the i386 port. Notes: svn path=/head/; revision=1602
* BSD 4.4 Lite Lib SourcesRodney W. Grimes1994-05-2717-0/+3223
| | | | Notes: svn path=/cvs2svn/branches/unlabeled-1.1.1/; revision=1573
* BSD 4.4 Lite Include SourcesRodney W. Grimes1994-05-241-0/+69
Notes: svn path=/head/; revision=1539