cvs commit: src/lib/libkvm kvm.c

Matthew Dillon dillon at
Mon Oct 24 13:04:14 PDT 2005

dillon      2005/10/24 12:59:51 PDT

DragonFly src repository

  Modified files:
    lib/libkvm           kvm.c 
  Temporarily work around a race in the kernel.  The kernel does a sanity check
  on the KVM memory range read via /dev/[k]mem.  However, if the user buffer
  takes a VM fault and blocks the process, the related kernel memory could
  become invalid while the process was blocked.  Try to avoid taking faults on
  the user buffer by touching it first.
  Reported-by: =?ISO-8859-1?Q?Stefan_Kr=FCger?= <skrueger at xxxxxxxxxxxxxxxx>
  Revision  Changes    Path
  1.7       +10 -0     src/lib/libkvm/kvm.c

More information about the Commits mailing list