git: unp_connect() - Use euid/egid for access checks via VOP_EACCESS().

Joe Talbott josepht at crater.dragonflybsd.org
Mon Nov 29 18:17:03 PST 2010


commit 9de9cb5c7c5a9dd117de703ed7b4c80a8b3eb2b3
Author: Joe Talbott <josepht at dragonflybsd.org>
Date:   Mon Nov 29 21:03:20 2010 -0500

    unp_connect() - Use euid/egid for access checks via VOP_EACCESS().
    
    Fixes socket access for set[ug]id applications by using the euid/egid
    rather than the uid/gid.
    
    Reported-By: Tim Darby <t+dfbsd at timdarby.net>

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

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/9de9cb5c7c5a9dd117de703ed7b4c80a8b3eb2b3


-- 
DragonFly BSD source repository





More information about the Commits mailing list