git: kernel - Fix panic in setrlimit() when changing the stack limit

Matthew Dillon dillon at crater.dragonflybsd.org
Tue May 25 15:15:51 PDT 2010


commit e81fcb2c8ba8c4ad138c6a9dc8c1edeb22f32e27
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Tue May 25 15:13:29 2010 -0700

    kernel - Fix panic in setrlimit() when changing the stack limit
    
    * setrlimit() has to make a VM call with the MP lock held when changing
      the stack limit, and was not properly obtaining the MP lock.

Summary of changes:
 sys/kern/kern_plimit.c |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/e81fcb2c8ba8c4ad138c6a9dc8c1edeb22f32e27


-- 
DragonFly BSD source repository





More information about the Commits mailing list