summaryrefslogtreecommitdiff
path: root/lib/libkvm
AgeCommit message (Collapse)Author
2006-10-10Preliminary userland bits for OpenBSD/landisk, many things coming fromMiod Vallat
NetBSD.
2006-07-13Back out the anon change. Apparently it was tested by a few, but most ofTheo de Raadt
us did not see it or get a chance to test it before it was commited. It broke cvs, in the ami driver, making it not succeed at seeing it's devices.
2006-06-21from netbsd: make anons dynamically allocated from pool.Michael Shalayeff
this results in lesse kva waste due to static preallocation of those for every phys page and also every swap page. tested by beck krw miod
2006-06-19Real kvm routines for vax; allows ``target kvm'' to work in gdb for kernelMiod Vallat
crash dumps. ok kettenis@
2006-06-12Use the non-generic SEGSHIFT value in the 020/030 specific codepath.Miod Vallat
2006-06-09proper type and ptdsize checks; had it for three weeks now... sighMichael Shalayeff
2006-05-07Unbreak. Fix some of the lint warnings that mickey reintroduced.Mark Kettenis
ok miod@
2006-04-27detect page table dir size difference for normal and pae modesMichael Shalayeff
(4k vs 16k) and use proper physical address types and page table indexing.
2006-03-31careful cleanup following advice from lint. be very very very carefulTheo de Raadt
with sprinkling in size_t!
2006-03-31ARGSUSED for for a few thingsTheo de Raadt
2006-03-31lint happiness, mostly avoiding variable aliasingTheo 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 ↵Michael Shalayeff
insteadd of u_long; miod@ ok
2006-03-14Prevent double-free.Mark Kettenis
ok mickey@, todd@, deraadt@
2005-11-24use WANTLINT= (on all architectures)Theo de Raadt
2005-10-12Use queue macros instead of directly accessing fields. ok millert@Otto Moerbeek
2005-01-14add $OpenBSD$ tag. ok miodKevin Lo
2004-11-22.{N,O}x fixes;Jason McIntyre
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