git: Fix exec from setuid/setgid binaries

Simon Schubert corecode at crater.dragonflybsd.org
Tue Sep 29 18:52:41 PDT 2009


commit 90a83564dcb0a2cbd396793eaa0ce66b694f014f
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/90a83564dcb0a2cbd396793eaa0ce66b694f014f


-- 
DragonFly BSD source repository





More information about the Commits mailing list