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

git: kernel - Fix missing token release on I/O error during exec


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 7 Dec 2011 21:38:09 -0800 (PST)

commit 471bd2903fec832418cd0a632d1e3eff272338c9
Author: Matthew Dillon <dillon@apollo.backplane.com>
Date:   Wed Dec 7 21:36:57 2011 -0800

    kernel - Fix missing token release on I/O error during exec
    
    * If an EIO occurs while exec is mapping pages from the binary we need
      to drop the vm_object we are holding before returning.
    
    * Fixes panic when the system runs out of memory and no swap is present.

Summary of changes:
 sys/kern/kern_exec.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/471bd2903fec832418cd0a632d1e3eff272338c9


-- 
DragonFly BSD source repository



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