git: DragonFly_RELEASE_2_4 Fix exec from setuid/setgid binaries

Matthew Dillon dillon at crater.dragonflybsd.org
Wed Sep 30 08:40:48 PDT 2009


commit d8251b4ea0451fdc6f36b91859b71673f67933ba
Author: Simon Schubert <corecode at 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





More information about the Commits mailing list