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

Joerg Sonnenberger joerg at
Thu Nov 18 05:57:20 PST 2004

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

DragonFly src repository

  Modified files:
    lib                  Makefile 
    sys/kern             kern_descrip.c 
  Added files:
    lib/libkinfo         kinfo.h kinfo_file.c 
    sys/sys              kinfo.h 
  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/
  1.33      +48 -19    src/sys/kern/kern_descrip.c

More information about the Commits mailing list