Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Replace the old, broken KERN_PROC ABI and its matching functions | 2011-03-12 | 1 | -4/+1 | |
| | | | | | | | | | in libkvm with the stable-ABI versions that are currently named KERN_PROC2, kvm_get{proc,argv,envv}2(). The latter names and symbols will continue to be supported for a few releases. Committing now that they ports people have had a couple releases to update pkgs that usd the old functions | ||||
* | rcsid[] and sccsid[] and copyright[] are essentially unmaintained (and | 2009-10-27 | 1 | -9/+1 | |
| | | | | | | | unmaintainable). these days, people use source. these id's do not provide any benefit, and do hurt the small install media (the 33,000 line diff is essentially mechanical) ok with the idea millert, ok dms | ||||
* | Add kvm_getfile2 which uses KERN_FILE2 when possible, falling | 2009-06-07 | 1 | -2/+5 | |
| | | | | back on kmem grovelling for non-live kernels. OK deraadt@ | ||||
* | All operation on live kernels uses sysctl interface, there is no reason to | 2009-01-21 | 1 | -5/+3 | |
| | | | | | | access the swap area. Change kvm_open() to no longer require a swap area, and to not consider failure to open() it as fatal. Post-mortem analysis would need an image of the swap area at the time of the crash, anyway. | ||||
* | careful cleanup following advice from lint. be very very very careful | 2006-03-31 | 1 | -36/+39 | |
| | | | | with sprinkling in size_t! | ||||
* | kvm_openfiles() should take int flag, not unsigned | 2006-03-31 | 1 | -3/+3 | |
| | |||||
* | for some of internal functions use paddr_t where phys addr is intended insteadd of u_long; miod@ ok | 2006-03-20 | 1 | -4/+5 | |
| | |||||
* | Kill (almost all) warnings. | 2004-09-15 | 1 | -2/+4 | |
| | |||||
* | KVM_NO_FILES is 0x80000000, so arg 4 of kvm_openfiles() must be unsigned | 2004-09-14 | 1 | -3/+3 | |
| | | | | int instead of int; millert ok | ||||
* | free memory allocated by kvm_getproc2() in kvm_close() | 2004-08-11 | 1 | -2/+4 | |
| | | | | ok deraadt@ millert@ | ||||
* | if sym has null value -- report as not found; check that kd->vmst is set before use; millert@ ok | 2004-07-01 | 1 | -2/+8 | |
| | |||||
* | knf; ok millert | 2004-06-15 | 1 | -90/+49 | |
| | |||||
* | more explicitly check against -1 for pread/pwrite error returns; millert ok | 2004-02-23 | 1 | -5/+5 | |
| | |||||
* | strlcpy is nicer. ok deraadt@ millert@ | 2004-02-18 | 1 | -4/+4 | |
| | |||||
* | Initialize procbase2 to 0 in _kvm_open(); Dan Harnett | 2004-01-09 | 1 | -2/+3 | |
| | |||||
* | Remove the advertising clause in the UCB license which Berkeley | 2003-06-02 | 1 | -7/+3 | |
| | | | | rescinded 22 July 1999. Proofed by myself and Theo. | ||||
* | indent | 2002-09-17 | 1 | -5/+8 | |
| | |||||
* | Set close on exec flag for file descriptors opened by kvm_open(). | 2002-09-17 | 1 | -3/+23 | |
| | | | | Inspired by NetBSD. deraadt@ and myself. | ||||
* | Add a flag - KVM_NO_FILES which tells kvm_openfiles to not | 2002-06-08 | 1 | -2/+10 | |
| | | | | | open any files, just return an kvm handle that we can use to some of the functions. | ||||
* | call open() with 3 args, for the heck of it | 2002-03-05 | 1 | -9/+9 | |
| | |||||
* | We live in an ANSI C world. Remove lots of gratuitous #ifdef __STDC__ cruft. | 2002-02-19 | 1 | -50/+5 | |
| | |||||
* | Manual cleanup of remaining userland __P use (excluding packages maintained outside the tree) | 2002-02-17 | 1 | -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. | 2002-02-16 | 1 | -5/+5 | |
| | |||||
* | Use the address of the symbol, do not overwrite the address with 0, before | 2001-11-21 | 1 | -5/+5 | |
| | | | | calling pwrite. Fix from dlucq. ok millert. | ||||
* | Adapt to new uvm/ includes. | 2001-11-06 | 1 | -4/+2 | |
| | |||||
* | No need to pull in vm/vm_param.h in any of these files. | 2001-11-05 | 1 | -3/+2 | |
| | |||||
* | no more vm/swap_pager.h | 2001-06-27 | 1 | -3/+2 | |
| | |||||
* | Convert lseek/{read,write} pairs into pread and pwrite. | 2001-05-18 | 1 | -99/+84 | |
| | | | | from my todo list, work by Jonathon Fletcher <jonathon.fletcher@pobox.com>. | ||||
* | Repair a fprintf message lacking one parameter. | 2001-05-17 | 1 | -3/+3 | |
| | | | | | Found by having a look at the recent TPE patches, which fixes libkvm but not libkvm.old... | ||||
* | spelling | 2001-01-04 | 1 | -3/+3 | |
| | |||||
* | various savecore/kvm fixes; gluk@ptci.ru, PR#1461 | 2000-10-25 | 1 | -9/+10 | |
| | |||||
* | Format string paranoia; deraadt@ ok | 2000-10-23 | 1 | -3/+3 | |
| | |||||
* | Don't return error trying to make a dump header when no | 1998-10-28 | 1 | -3/+3 | |
| | | | | crash dump exists | ||||
* | In kvm_open, if no file is specified, try /dev/ksyms and fall back to /bsd. Also, if a file is specified, try the .db version of that file if it exists. | 1998-08-24 | 1 | -14/+24 | |
| | |||||
* | don't print 'unknown dbopen() error' when kvm_bsd.db doesn't exist | 1998-08-19 | 1 | -2/+5 | |
| | |||||
* | indent | 1998-07-11 | 1 | -25/+19 | |
| | |||||
* | Fix a couple of error return values that I shouldn't have changed, | 1998-06-29 | 1 | -5/+27 | |
| | | | | add some more verbose error messages. | ||||
* | Missed one; The problem was reported by msaitoh@spa.is.uec.ac.jp, whom | 1998-06-29 | 1 | -3/+3 | |
| | | | | I forgot to credit in my other commits. | ||||
* | Do the right thing with error return values. | 1998-06-29 | 1 | -11/+11 | |
| | |||||
* | #if __STDC__ --> #ifdef __STDC__ | 1997-07-25 | 1 | -6/+6 | |
| | |||||
* | more error messages | 1997-06-18 | 1 | -5/+11 | |
| | |||||
* | import some cleanup for libkvm/kvm.c from netbsd, udpate libkvm so that sparc can use libkvm vs. libkvm.old and update sparc pmap.c and machdep.c to make dumps compatible with the new libkvm's notions. | 1997-06-11 | 1 | -32/+31 | |
| | |||||
* | Man page claims O_WRONLY is allowed. Why not? | 1997-06-02 | 1 | -3/+3 | |
| | |||||
* | Switch alpha from libkvm.old to libkvm with code from NetBSD. | 1997-02-26 | 1 | -4/+4 | |
| | | | | %x -> %lx format fixes from me. | ||||
* | r?index -> strr?chr | 1997-01-17 | 1 | -3/+3 | |
| | |||||
* | sync with netbsd | 1996-05-10 | 1 | -117/+139 | |
| | |||||
* | sync with 0430 | 1996-05-05 | 1 | -35/+36 | |
| | |||||
* | From NetBSD: merge of 960317 | 1996-03-19 | 1 | -6/+389 | |
| | |||||
* | initial import of NetBSD tree | 1995-10-18 | 1 | -0/+552 | |