cvs commit: src/lib src/lib/libkinfo src/share/mk src/sys/kern src/sys/sys

Joerg Sonnenberger joerg at crater.dragonflybsd.org
Thu Nov 18 05:57:20 PST 2004


joerg       2004/11/18 05:56:56 PST

DragonFly src repository

  Modified files:
    lib                  Makefile 
    share/mk             bsd.libnames.mk 
    sys/kern             kern_descrip.c 
  Added files:
    lib/libkinfo         kinfo.h kinfo_file.c 
    sys/sys              kinfo.h 
  Log:
  Add a new system library, libkinfo. It is intended to replace libkvm for
  most userland tools, which want to deal with a living kernel, not
  post-mortem analysation.
  
  Change the kern.file backing from a struct file array to a struct kinfo_file
  array. The later is an independent structure, which includes the information
  useful for userland. This allows changing the kernel-internals without
  having to recompile libkinfo and derived programs. This is inspired by the
  changes DES did in FreeBSD 5 (struct xfile).
  
  Partly-obtained-from: FreeBSD (kern_descrip.c changes)
  
  Revision  Changes    Path
  1.9       +1 -1      src/lib/Makefile
  1.6       +1 -0      src/share/mk/bsd.libnames.mk
  1.33      +48 -19    src/sys/kern/kern_descrip.c


http://www.dragonflybsd.org/cvsweb/src/lib/Makefile.diff?r1=1.8&r2=1.9&f=u
http://www.dragonflybsd.org/cvsweb/src/share/mk/bsd.libnames.mk.diff?r1=1.5&r2=1.6&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/kern/kern_descrip.c.diff?r1=1.32&r2=1.33&f=u





More information about the Commits mailing list