summaryrefslogtreecommitdiff
path: root/lib/libkvm
AgeCommit message (Collapse)Author
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
int instead of int; millert ok
2004-08-11free memory allocated by kvm_getproc2() in kvm_close()Jared Yanovich
ok deraadt@ millert@
2004-08-06wrong filenameTheo de Raadt
2004-08-06ansiTheo de Raadt
2004-08-06mips alive againPer Fogelstrom
2004-08-05- fix includes needed to compileJared Yanovich
- mdoc and macro fixes - sync to reality - mention where the kinfo_proc type definition can be found ok millert jmc
2004-07-13errno changes, lib major version bumps, and general flag dayMarco S Hyman
To build you must: cd /usr/src && make obj && make includes cd lib/libc && make depend && make && NOMAN=1 sudo make install cd /usr/src && make build
2004-07-03This was supposed to compile.Miod Vallat
2004-07-01if sym has null value -- report as not found; check that kd->vmst is set ↵Michael Shalayeff
before use; millert@ ok
2004-06-24Back out part of last commit; we want to realloc + loop for argv too.Todd C. Miller
2004-06-24Allocate 8 pages for process argv, not one. This should really be ARG_MAXTodd C. Miller
but sysctl_proc_args() needs changes to support that.
2004-06-15knf; ok millertTheo de Raadt
2004-06-14Zero p_schedflags in struct struct kinfo_proc2 for the non-sysctl case.Todd C. Miller
2004-06-13temporary tree building workaround until millert shows upTheo de Raadt
2004-05-05fix va -> pa decode. 'by all means' deraadt@Marco S Hyman
2004-04-28Include db.h, not ndbm.h since this uses db routines and not ndbm.Todd C. Miller
2004-04-28remove dup file kvm_amd64 should be used.Marco S Hyman
OK deraadt@
2004-04-21Rename kvm_mvme88k so that luna88k can build libkvm.Miod Vallat
2004-02-27change amd64's MACHINE_ARCH from x86_64 to amd64. There are many manyTheo de Raadt
reasons for this, quite a few of them technical, and not all of them in response to Intel's broken ia32e crud. The gcc toolchain stays at x86_64 for now.
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-02-09Stub this out, copied from other archs with this stubbed out.Dale Rahn
2004-01-28the rest of the libs stuff; from art@ againMichael Shalayeff
2004-01-09Initialize procbase2 to 0 in _kvm_open(); Dan HarnettTodd C. Miller
2004-01-08Add MLINKs for kvm_getproc2() and friends.Todd C. Miller
2004-01-07Sync PTRTOINT64 w/ kernel version and remove some unused vars.Todd C. Miller
2004-01-07Implement kvm_getproc2(), kvm_getargv2() and kvm_getenvv2() that useTodd C. Miller
the KERN_PROC2 sysctl. Based on changes from NetBSD but uses our own kvm_arg_sysctl().
2003-11-17Zero nlist array before using; fixes a bug in the error conditionTodd C. Miller
when the corefile is not a valid executable. otto@ OK
2003-08-06Remove some double semicolons (hmm, do two semis equal a maxi?).Todd C. Miller
I've skipped the GNU stuff for now. From Patrick Latifi.
2003-07-18add missing includesDavid Krause
ok tedu@
2003-06-26protosTheo de Raadt
2003-06-02Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
rescinded 22 July 1999. Proofed by myself and Theo.
2003-06-02Relax licence by removing the 3rd clause on all files whereI was stillMiod Vallat
using a 3 clause licence.
2003-06-02section reorder;Jason McIntyre
2003-05-16crashdump/crash-dump -> crash dump;Jason McIntyre
this fits in with the rest of our docs.
2002-12-31amiga and sun3 turned out to not be y2k+3 compliant here. Remove them, asMiod Vallat
well as the few userland tools which were only used on these platforms.
2002-12-03Crank all library major numbers. Needed due to the fact that weTodd C. Miller
now build libraries with propolice enabled. Without this, existing binaries (such as ports/packages) that link with any system library other than libc will fail with an undefined symbol of "___guard" (__guard on ELF). Pointed out by markus@ and discussed with deraadt@
2002-11-29inconsistant spelling; torh@bogus.netTheo de Raadt
2002-09-17indentTheo de Raadt
2002-09-17Set close on exec flag for file descriptors opened by kvm_open().Todd C. Miller
Inspired by NetBSD. deraadt@ and myself.
2002-08-03hppa stub, from miodMichael Shalayeff
2002-06-20Redo the logic in kvm_arg_sysctl for resizing the buffer.Artur Grabowski
- actually use the value we've just reallocated. - Don't return success just because the error wasn't ENOMEM (doh!).
2002-06-08If possible get arg and env information with sysctl.Artur Grabowski
2002-06-08Add a flag - KVM_NO_FILES which tells kvm_openfiles to notArtur Grabowski
open any files, just return an kvm handle that we can use to some of the functions.
2002-05-01o) start new sentence on a new line;Mike Pechkin
o) always close .Bl tags; o) fix usage of .Xr; millert@ ok
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 ↵Todd C. Miller
outside the tree)
2002-02-16Part one of userland __P removal. Done with a simple regexp with some minor ↵Todd C. Miller
hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.