Home | History | Annotate | Download | only in libkvm
History log of /src/lib/libkvm/kvm_file.c
RevisionDateAuthorComments
 1.29  19-Feb-2014  dsl Remove the #include <sys/user.h> from all of libkvm.
sys/user.h is a stub that just #includes sys/pcb.h.
There are no 'struct pcb' anywhere in here, so I'm extremely doubtful
any of the builds will fail.
OTOH it might be relying on a header that pcb.h includes.
In any case i386 and amd64 build.
 1.28  26-Sep-2010  jym branches: 1.28.6; 1.28.12;
Define KREAD() inside kvm_private.h, for reusability.
 1.27  19-Sep-2010  jym Ansify and KNF all functions within kvm(3). No objection on current-users@.

Used as ground for u_long => vaddr_t/paddr_t replacements in kvm(3)
private functions.

Compile tested for all arches. See also:

http://mail-index.netbsd.org/current-users/2010/09/07/msg014249.html
 1.26  12-Mar-2008  mrg don't need <sys/tty.h> here.
 1.25  27-Feb-2008  ad +#define _KERNEL
+#include <sys/types.h>
+#undef _KERNEL
 1.24  16-Feb-2006  christos branches: 1.24.10; 1.24.16;
1. Eliminate some unnecessary to kvm_{m,re}alloc.
2. Don't malloc/free procbase/procbase2/lwpbase continuously. Keep track
of the size, and only do it if necessary.
3. Write a macro to malloc/realloc and set the size of members so that it
is done correctly. Previous open coded version in kvm_file.c always
set the length, which is incorrect.
4. Remove bogus check against INT_MAX.
5. use NULL to initialize pointers instead of 0.
 1.23  07-Aug-2003  agc Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22280, verified by myself.
 1.22  02-Feb-2003  christos undo mallocvar.h change!
 1.21  01-Feb-2003  tron Include "sys/mallocvar.h" with "_KERNEL" defined in time to avoid
build failure because MALLOC_DECLARE() is not defined.
 1.20  01-Feb-2003  tron Fix build problem by rearranging the order of "#include" statements so
that "sys/mallocvar.h" gets include while "_KERNEL" is defined.
 1.19  18-Jan-2003  thorpej Merge the nathanw_sa branch.
 1.18  05-Nov-2001  lukem branches: 1.18.2;
WARNS=2 fixes
 1.17  29-Jun-2000  mrg <vm/vm.h> -> <uvm/uvm_extern.h>
 1.16  26-Jun-2000  mrg remove redundant vm includes
 1.15  26-May-2000  simonb Add kvm interface to the new sysctls:
kvm_getproc2() -> sysctl(KERN_PROC2)
kvm_getargv2() -> sysctl(KERN_PROC_ARGS, KERN_PROC_ARGV)
kvm_getenvv2() -> sysctl(KERN_PROC_ARGS, KERN_PROC_ENV)
Add new KVM_NO_FILES flag to kvm_open*() - set up enough state to
use the above calls without having to open any kernel files.

XXX: kvm_getprocs.3 and kvm_open.3 to be updated soon.
 1.14  19-Aug-1999  cgd fix four major and one minor bug in dead kernel file-getting. Three
of the biggies crept in in rev. 1.10 (we need a lint trap!), the
others were here since the file was originally imported.
 1.13  02-Jul-1999  simonb More trailing white space.
 1.12  01-Apr-1999  veego branches: 1.12.2;
Nuke swap_pager.h.
 1.11  29-Sep-1998  thorpej Need string.h.
 1.10  27-Sep-1998  christos Remove lint
 1.9  03-Feb-1998  perry remove obsolete register declarations
 1.8  15-Aug-1997  drochner Fix compiler warnings.
 1.7  15-Aug-1997  mikel use <sys/cdefs.h> __RCSID() macro
GC unused variables and fix error message typo in kvm_deadfiles()
 1.6  20-Jun-1997  mikel add explicit return type for kvm_deadfiles()
 1.5  18-Mar-1996  thorpej RCS id police.
 1.4  28-Mar-1995  jtc KERNEL -> _KERNEL
 1.3  19-Oct-1994  cgd fix type of variables, add headers, protos, where necessary.
 1.2  30-Aug-1994  mycroft Update to match include files.
 1.1  09-May-1994  cgd branches: 1.1.1;
Initial revision
 1.1.1.1  09-May-1994  cgd new libkvm
 1.12.2.1  20-Aug-1999  cgd pull up rev 1.14 from trunk (cgd)
 1.18.2.2  23-Apr-2002  nathanw Make libkvm able to cope with a LWPified kernel.

Add a kvm_getlwps() function to retrieve the LWPs of a specific process.
 1.18.2.1  05-Nov-2001  nathanw file kvm_file.c was added on branch nathanw_sa on 2002-04-23 20:10:19 +0000
 1.24.16.1  24-Mar-2008  keiichi sync with head.
 1.24.10.1  23-Mar-2008  matt sync with HEAD
 1.28.12.1  20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.28.6.1  22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")

RSS XML Feed