aboutsummaryrefslogtreecommitdiff
path: root/lib/libkvm
Commit message (Collapse)AuthorAgeFilesLines
* MFC src/lib/libkvm/kvm.c 1.23: mark file descriptors close-on-exec.Jacques Vidrine2002-09-131-0/+12
| | | | Notes: svn path=/releng/4.5/; revision=103292
* This commit was manufactured by cvs2svn to create branch 'RELENG_4_5'.cvs2svn2002-02-041-1/+1
| | | | Notes: svn path=/releng/4.5/; revision=90219
* MFC 1.41: kern.ps_arg_max_cache is a long, not an int. This breaksPeter Wemm2002-01-311-1/+1
| | | | | | | ps(1) without /proc on 4.x on alpha. Notes: svn path=/stable/4/; revision=90038
* MFC: Reduce gratuitous diffs to -CURRENT.Ruslan Ermilov2001-12-178-14/+14
| | | | Notes: svn path=/stable/4/; revision=88037
* MFC: 1.12: s/processes/files/Ruslan Ermilov2001-11-241-1/+1
| | | | Notes: svn path=/stable/4/; revision=86859
* MFC: 1.11: Adjust to kernbase changes automatically rather than compilingPeter Wemm2001-09-211-1/+11
| | | | | | | it in statically. Notes: svn path=/stable/4/; revision=83751
* MFC: markup and misc fixes.Ruslan Ermilov2001-08-173-5/+13
| | | | | | | Approved by: re Notes: svn path=/stable/4/; revision=81834
* MFC: remove whitespace at EOL.Dima Dorfman2001-07-225-27/+27
| | | | Notes: svn path=/stable/4/; revision=80145
* MFC: remove extraneous .Pp before and/or after .Sh.Dima Dorfman2001-07-223-3/+0
| | | | Notes: svn path=/stable/4/; revision=80140
* MFC: MAN[1-9] -> MAN.Ruslan Ermilov2001-04-251-1/+1
| | | | Notes: svn path=/stable/4/; revision=75949
* MFC: recent mdoc(7) fixes.Ruslan Ermilov2001-03-063-18/+44
| | | | Notes: svn path=/stable/4/; revision=73888
* MFC: Prepare for mdoc(7)NG.Ruslan Ermilov2001-01-161-1/+1
| | | | Notes: svn path=/stable/4/; revision=71105
* MFC: add /dev/zero and use PATH_* where possible.David E. O'Brien2000-12-111-1/+2
| | | | Notes: svn path=/stable/4/; revision=69839
* MFC: recent mdoc(7) fixes.Ruslan Ermilov2000-12-084-4/+0
| | | | Notes: svn path=/stable/4/; revision=69764
* MFC: Limit the amount of data copied to the error buffer to _POSIX2_LINE_MAX.Kris Kennaway2000-08-231-2/+2
| | | | Notes: svn path=/stable/4/; revision=65006
* MFC: [rev 1.12] Remove unneeded #include.Paul Saab2000-07-041-1/+0
| | | | Notes: svn path=/stable/4/; revision=62551
* MFC:Paul Saab2000-07-013-22/+22
| | | | | | | | | | | kvm.c [rev 1.14] Change the return value of kvm_read/kvm_write to be -1 on error. kvm.c [rev 1.13], kvm_getswapinfo [rev 1.11], kvm_proc.c [rev 1.26] -Wall, which caught a real bug where buflen wasn't being set properly. Notes: svn path=/stable/4/; revision=62312
* MFC: Remove obsolete reference to /var/db/kvm_kernel.dbKris Kennaway2000-05-071-4/+0
| | | | Notes: svn path=/stable/4/; revision=60114
* MFC: introduce .Lb macro to libraries manpages, some mdoc cleanupAlexey Zelkin2000-04-229-1/+19
| | | | Notes: svn path=/stable/4/; revision=59519
* This commit was manufactured by cvs2svn to create branch 'RELENG_4'.cvs2svn2000-03-131-198/+0
| | | | Notes: svn path=/stable/4/; revision=57955
* Correct an error message presumably as a result of cut/paste.Peter Wemm2000-02-181-1/+1
| | | | | | | kvm_getfiles() referred to itself as kvm_getprocs(). Notes: svn path=/head/; revision=57321
* Repair misspelled `.Pp' directive:Chris Costello2000-02-141-1/+1
| | | | | | | .PP -> .Pp Notes: svn path=/head/; revision=57195
* Replace beforeinstall target with new variables used by .mk system.Rodney W. Grimes2000-01-141-4/+1
| | | | | | | Reviewed by: marcel, and make world Notes: svn path=/head/; revision=55955
* Fixed missing includes in synopsis. <sys/file.h> went missing when KERNELBruce Evans2000-01-051-2/+3
| | | | | | | | was not updated to _KERNEL. Actually including <sys/file.h> as specified never actually worked, since a prerequisite was missing. Notes: svn path=/head/; revision=55463
* Change #ifdef KERNEL to #ifdef _KERNEL in the public headers. "KERNEL"Peter Wemm1999-12-291-2/+2
| | | | | | | | | is an application space macro and the applications are supposed to be free to use it as they please (but cannot). This is consistant with the other BSD's who made this change quite some time ago. More commits to come. Notes: svn path=/head/; revision=55206
* Use kldsym(2) to lookup symbol values. This avoids the kvm_mkdb jugglingPeter Wemm1999-12-2711-128/+59
| | | | | | | | | and is module aware. Yes, this means that kvm_nlist(3) will find symbols in loaded modules. The emulation of the nlist struct is pretty crude but seems to work well enough for all the users in the tree that I found. Notes: svn path=/head/; revision=55127
* Report swapdevices as cdevs rather than bdevs.Poul-Henning Kamp1999-11-291-1/+1
| | | | | | | Remove unused dev2budev() function. Notes: svn path=/head/; revision=53899
* Introduce commandline caching in the kernel.Poul-Henning Kamp1999-11-161-0/+48
| | | | | | | | | | | | | | This fixes some nasty procfs problems for SMP, makes ps(1) run much faster, and makes ps(1) even less dependent on /proc which will aid chroot and jails alike. To disable this facility and revert to previous behaviour: sysctl -w kern.ps_arg_cache_limit=0 For full details see the current@FreeBSD.org mail-archives. Notes: svn path=/head/; revision=53239
* Delete the sf (swapfile) arg to an internal function that used to point toPeter Wemm1999-10-111-6/+8
| | | | | | | | /dev/drum but has not been used for a LONG time. Add $FreeBSD$ Notes: svn path=/head/; revision=52117
* Install <kvm.h> from here (after repo copy) so it's all in one package.Peter Wemm1999-10-041-0/+5
| | | | Notes: svn path=/head/; revision=51933
* $Id$ -> $FreeBSD$Peter Wemm1999-08-2811-11/+11
| | | | Notes: svn path=/head/; revision=50476
* $Id$ -> $FreeBSD$Peter Wemm1999-08-271-1/+1
| | | | Notes: svn path=/head/; revision=50473
* Don't open the swap file. The open descriptor for it hasn't been usedBruce Evans1999-08-252-9/+1
| | | | | | | | | for over 5 years since we switched to using procfs for kvm_uread(). This cleanup was motivated by recent breakage of the default swap file (/dev/drum) when swapon() has not been called. Notes: svn path=/head/; revision=50331
* Add $Id$, to make it simpler for members of the translation teams toNik Clayton1999-07-128-0/+8
| | | | | | | | | | | | | | | | | | | | track. The $Id$ line is normally at the bottom of the main comment block in the man page, separated from the rest of the manpage by an empty comment, like so; .\" $Id$ .\" If the immediately preceding comment is a @(#) format ID marker than the the $Id$ will line up underneath it with no intervening blank lines. Otherwise, an additional blank line is inserted. Approved by: bde Notes: svn path=/head/; revision=48794
* Tidy up references to <sys/rlist.h> and support for the old swap managementPeter Wemm1999-05-111-88/+9
| | | | | | | that went away in January. Notes: svn path=/head/; revision=47018
* Oops, the previous log message should have been:Bruce Evans1999-04-101-1/+1
| | | | | | | | | | | Include <machine/ansi.h> so that this file is self-sufficient again. Rev.1.6 doesn't do this as claimed unless <nlist.h> has nonstandard pollution. Cleaned up includes. Notes: svn path=/head/; revision=45525
* Declare mkstemps().Bruce Evans1999-04-091-4/+5
| | | | Notes: svn path=/head/; revision=45513
* make libkvm capable of dealing with a crashdump on alphasAndrew Gallatin1999-03-121-50/+65
| | | | | | | Reviewed by: Doug Rabson <dfr@nlsystems.com> Notes: svn path=/head/; revision=44689
* Don't use u_long in the synopsis, since u_long is not part of the kvmBruce Evans1999-03-051-2/+2
| | | | | | | interface. Notes: svn path=/head/; revision=44491
* From rev. 1.12 of usr.sbin/pstat/pstat.c by phk:Dmitrij Tejblum1999-02-141-3/+6
| | | | | | | | Reflect the fact that we do not swap on the first <dmmax> blocks of a swapdev, to protect disklabels and other such magic stuff. Notes: svn path=/head/; revision=44021
* Handle case where no swap is configuredMatthew Dillon1999-02-061-3/+10
| | | | Notes: svn path=/head/; revision=43696
* Removed evil typedef kvm_swap_t and all uses of it (not many).Bruce Evans1999-01-272-11/+13
| | | | | | | Hoped for by: wollman Notes: svn path=/head/; revision=43282
* Fix swap radix tree dump formatting ( pstat -ss ), it was printing theMatthew Dillon1999-01-251-4/+4
| | | | | | | wrong radix for recursive subnodes. Notes: svn path=/head/; revision=43173
* Fixed missing cross reference to kvm_getfiles.Bruce Evans1999-01-231-0/+1
| | | | | | | | | | This man page may be overdoing the cross references by referencing man pages that are just links to other pages that are referenced. kvm_uread() is still completely undocumented in kvm*.3. Notes: svn path=/head/; revision=43090
* Fixed unsorting of SRCS and MAN3 in previous commit.Bruce Evans1999-01-231-4/+4
| | | | | | | Sorted MLINKS. Notes: svn path=/head/; revision=43089
* Fixed unsorting of cross references in previous commit.Bruce Evans1999-01-231-1/+1
| | | | Notes: svn path=/head/; revision=43088
* Oops, forgot this. Needed by libkvm.Matthew Dillon1999-01-231-1/+14
| | | | Notes: svn path=/head/; revision=43085
* Fix type-o's in manualMatthew Dillon1999-01-221-3/+3
| | | | Notes: svn path=/head/; revision=43051
* Add SWIF_DEV_PREFIX flag to add "/dev/..." to device name.Matthew Dillon1999-01-221-2/+3
| | | | Notes: svn path=/head/; revision=43048
* Implement kvm_getswapinfo() libkvm function. Will be used byMatthew Dillon1999-01-224-2/+551
| | | | | | | pstat, top, and systat. Notes: svn path=/head/; revision=43045