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

Matthew Dillon dillon at crater.dragonflybsd.org
Wed Dec 7 21:38:41 PST 2011


commit 471bd2903fec832418cd0a632d1e3eff272338c9
Author: Matthew Dillon <dillon at 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





More information about the Commits mailing list