summaryrefslogtreecommitdiff
path: root/lib/libkvm/kvm.c
AgeCommit message (Expand)Author
2014-08-15Use O_CLOEXEC wherever we open a file and then call fcntl(F_SETFD, FD_CLOEXEC)Philip Guenther
2013-11-16ANSIfy a declarationPhilip Guenther
2013-11-01reduce use of <sys/user.h>Theo de Raadt
2013-10-17Remove support for a.out and ecoff. We only do elf now.Theo de Raadt
2011-03-12Replace the old, broken KERN_PROC ABI and its matching functionsPhilip Guenthe
2009-10-28rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andTheo de Raadt
2009-06-07Add kvm_getfile2 which uses KERN_FILE2 when possible, fallingTodd C. Miller
2009-01-21All operation on live kernels uses sysctl interface, there is no reason toMiod Vallat
2006-03-31careful cleanup following advice from lint. be very very very carefulTheo de Raadt
2006-03-31kvm_openfiles() should take int flag, not unsignedTheo de Raadt
2006-03-20for some of internal functions use paddr_t where phys addr is intended instea...Michael Shalayeff
2004-09-15Kill (almost all) warnings.Miod Vallat
2004-09-14KVM_NO_FILES is 0x80000000, so arg 4 of kvm_openfiles() must be unsignedTheo de Raadt
2004-08-11free memory allocated by kvm_getproc2() in kvm_close()Jared Yanovich
2004-07-01if sym has null value -- report as not found; check that kd->vmst is set befo...Michael Shalayeff
2004-06-15knf; ok millertTheo de Raadt
2004-02-23more explicitly check against -1 for pread/pwrite error returns; millert okTheo de Raadt
2004-02-18strlcpy is nicer. ok deraadt@ millert@Ted Unangst
2004-01-09Initialize procbase2 to 0 in _kvm_open(); Dan HarnettTodd C. Miller
2003-06-02Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
2002-09-17indentTheo de Raadt
2002-09-17Set close on exec flag for file descriptors opened by kvm_open().Todd C. Miller
2002-06-08Add a flag - KVM_NO_FILES which tells kvm_openfiles to notArtur Grabowski
2002-03-05call open() with 3 args, for the heck of itTheo de Raadt
2002-02-19We live in an ANSI C world. Remove lots of gratuitous #ifdef __STDC__ cruft.Todd C. Miller
2002-02-17Manual cleanup of remaining userland __P use (excluding packages maintained o...Todd C. Miller
2002-02-16Part one of userland __P removal. Done with a simple regexp with some minor ...Todd C. Miller
2001-11-21Use the address of the symbol, do not overwrite the address with 0, beforeDale Rahn
2001-11-06Adapt to new uvm/ includes.Artur Grabowski
2001-11-05No need to pull in vm/vm_param.h in any of these files.Artur Grabowski
2001-06-27no more vm/swap_pager.hTheo de Raadt
2001-05-18Convert lseek/{read,write} pairs into pread and pwrite.Artur Grabowski
2001-05-17Repair a fprintf message lacking one parameter.Miod Vallat
2001-01-04spellingTodd T. Fries
2000-10-25various savecore/kvm fixes; gluk@ptci.ru, PR#1461Theo de Raadt
2000-10-23Format string paranoia; deraadt@ okAaron Campbell
1998-10-28Don't return error trying to make a dump header when noMarco S Hyman
1998-08-24In kvm_open, if no file is specified, try /dev/ksyms and fall back to /bsd. ...Todd C. Miller
1998-08-19don't print 'unknown dbopen() error' when kvm_bsd.db doesn't existTodd C. Miller
1998-07-11indentTheo de Raadt
1998-06-29Fix a couple of error return values that I shouldn't have changed,Angelos D. Keromytis
1998-06-29Missed one; The problem was reported by msaitoh@spa.is.uec.ac.jp, whomAngelos D. Keromytis
1998-06-29Do the right thing with error return values.Angelos D. Keromytis
1997-07-25#if __STDC__ --> #ifdef __STDC__Michael Shalayeff
1997-06-18more error messageskstailey
1997-06-11import some cleanup for libkvm/kvm.c from netbsd, udpate libkvm so that sparc...grr
1997-06-02Man page claims O_WRONLY is allowed. Why not?dm
1997-02-26Switch alpha from libkvm.old to libkvm with code from NetBSD.Niklas Hallqvist
1997-01-17r?index -> strr?chrTodd C. Miller
1996-05-10sync with netbsdTheo de Raadt