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

cvs commit: src/sys/vm vm_fault.c


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Mon, 24 Oct 2005 13:02:09 -0700 (PDT)

dillon      2005/10/24 13:02:09 PDT

DragonFly src repository

  Modified files:
    sys/vm               vm_fault.c 
  Log:
  Avoid a recursive kernel fault and subsequent double fault if the VM fault
  code gets a KVM map_entry with a NULL object.  Such entries exist in system
  maps managed directly by the kernel, such as the buffer cache and kernel_map.
  Instead, we check for the condition and panic immediately.  Programs which
  access /dev/[k]mem can hit this race/failure.
  
  Reported-by: =?ISO-8859-1?Q?Stefan_Kr=FCger?= <skrueger@xxxxxxxxxxxxxxxx>
  
  Revision  Changes    Path
  1.19      +9 -0      src/sys/vm/vm_fault.c


http://www.dragonflybsd.org/cvsweb/src/sys/vm/vm_fault.c.diff?r1=1.18&r2=1.19&f=u



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