cvs commit: src/lib/libkvm kvm.c
    Matthew Dillon 
    dillon at crater.dragonflybsd.org
       
    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 
  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 at 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
    
    
More information about the Commits
mailing list