summaryrefslogtreecommitdiffstats
path: root/lib/libkvm/kvm.c (follow)
Commit message (Expand)AuthorAgeFilesLines
* that 0 should be NULLderaadt2021-03-111-2/+2
* Accommodate POSIX basename(3) that takes a non-const parameter andnaddy2020-10-141-3/+4
* When system calls indicate an error they return -1, not some arbitraryderaadt2019-06-281-5/+5
* Cleanup usage of free() in libkvm.zhuk2018-05-031-20/+11
* A few fixes for kvm_getargv(3)/kvm_getenv(3):zhuk2018-05-031-1/+10
* Add Symbols.map to explicitly define the ABIs, hiding linker defined symbols.guenther2017-12-141-1/+4
* use offsetof to create an offset instead of illegal unaligned pointerstedu2016-07-101-3/+4
* Revert previous commit. Converting bcopy into memcpy is never safe whenkettenis2016-05-141-7/+7
* convert bcopy to memcpy. ok dlg millerttedu2016-05-111-7/+7
* Remove NULL-checks before free(). ok tb@mmcc2015-12-191-9/+5
* port the changes just made to kvm_getfiles in kvm_file2.c r1.47 todlg2015-09-081-4/+3
* fix a race when fetching files from the kernel. the number of filesdlg2015-09-041-4/+3
* add kvm_realloc() as a private function.dlg2015-09-041-1/+9
* When checking flags that will be passed to open(), test the O_ACCMODE portionguenther2015-05-111-2/+2
* Move to the <limits.h> universe.deraadt2015-01-161-4/+4
* Use O_CLOEXEC wherever we open a file and then call fcntl(F_SETFD, FD_CLOEXEC)guenther2014-08-151-34/+32
* ANSIfy a declarationguenther2013-11-161-3/+2
* reduce use of <sys/user.h>deraadt2013-11-011-2/+2
* Remove support for a.out and ecoff. We only do elf now.deraadt2013-10-171-2/+2
* Replace the old, broken KERN_PROC ABI and its matching functionsguenther2011-03-121-4/+1
* rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andderaadt2009-10-271-9/+1
* Add kvm_getfile2 which uses KERN_FILE2 when possible, fallingmillert2009-06-071-2/+5
* All operation on live kernels uses sysctl interface, there is no reason tomiod2009-01-211-5/+3
* careful cleanup following advice from lint. be very very very carefulderaadt2006-03-311-36/+39
* kvm_openfiles() should take int flag, not unsignedderaadt2006-03-311-3/+3
* for some of internal functions use paddr_t where phys addr is intended insteadd of u_long; miod@ okmickey2006-03-201-4/+5
* Kill (almost all) warnings.miod2004-09-151-2/+4
* KVM_NO_FILES is 0x80000000, so arg 4 of kvm_openfiles() must be unsignedderaadt2004-09-141-3/+3
* free memory allocated by kvm_getproc2() in kvm_close()jaredy2004-08-111-2/+4
* if sym has null value -- report as not found; check that kd->vmst is set before use; millert@ okmickey2004-07-011-2/+8
* knf; ok millertderaadt2004-06-151-90/+49
* more explicitly check against -1 for pread/pwrite error returns; millert okderaadt2004-02-231-5/+5
* strlcpy is nicer. ok deraadt@ millert@tedu2004-02-181-4/+4
* Initialize procbase2 to 0 in _kvm_open(); Dan Harnettmillert2004-01-091-2/+3
* Remove the advertising clause in the UCB license which Berkeleymillert2003-06-021-7/+3
* indentderaadt2002-09-171-5/+8
* Set close on exec flag for file descriptors opened by kvm_open().millert2002-09-171-3/+23
* Add a flag - KVM_NO_FILES which tells kvm_openfiles to notart2002-06-081-2/+10
* call open() with 3 args, for the heck of itderaadt2002-03-051-9/+9
* We live in an ANSI C world. Remove lots of gratuitous #ifdef __STDC__ cruft.millert2002-02-191-50/+5
* Manual cleanup of remaining userland __P use (excluding packages maintained outside the tree)millert2002-02-171-4/+4
* Part one of userland __P removal. Done with a simple regexp with some minor hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.millert2002-02-161-5/+5
* Use the address of the symbol, do not overwrite the address with 0, beforedrahn2001-11-211-5/+5
* Adapt to new uvm/ includes.art2001-11-061-4/+2
* No need to pull in vm/vm_param.h in any of these files.art2001-11-051-3/+2
* no more vm/swap_pager.hderaadt2001-06-271-3/+2
* Convert lseek/{read,write} pairs into pread and pwrite.art2001-05-181-99/+84
* Repair a fprintf message lacking one parameter.miod2001-05-171-3/+3
* spellingtodd2001-01-041-3/+3
* various savecore/kvm fixes; gluk@ptci.ru, PR#1461deraadt2000-10-251-9/+10