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

git: DragonFly_RELEASE_2_4 Fix exec from setuid/setgid binaries


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 30 Sep 2009 08:40:23 -0700 (PDT)

commit d8251b4ea0451fdc6f36b91859b71673f67933ba
Author: Simon Schubert <corecode@dragonflybsd.org>
Date:   Tue Sep 29 20:42:01 2009 +0200

    Fix exec from setuid/setgid binaries
    
    In the context of exec, we have to use the effective uid/gid to check
    whether the process has permissions to exec, not the ruid/rgid.

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

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


-- 
DragonFly BSD source repository



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