DragonFly BSD
DragonFly commits List (threaded) for 2005-10
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

cvs commit: src/lib/libkvm kvm.c


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Mon, 24 Oct 2005 12:59:51 -0700 (PDT)

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

DragonFly src repository

  Modified files:
    lib/libkvm           kvm.c 
  Log:
  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@xxxxxxxxxxxxxxxx>
  
  Revision  Changes    Path
  1.7       +10 -0     src/lib/libkvm/kvm.c


http://www.dragonflybsd.org/cvsweb/src/lib/libkvm/kvm.c.diff?r1=1.6&r2=1.7&f=u



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]