DragonFly-2.3.1.493.gcd554 master sys/kern kern_jail.c kern_prot.c sys/sys jail.h

Michael Neumann mneumann at crater.dragonflybsd.org
Thu Jun 25 12:37:58 PDT 2009


commit cd554aa41e2b63bb34083837cc51d7ef9404f9d5
Author: Michael Neumann <mneumann at ntecs.de>
Date:   Thu Jun 25 21:29:52 2009 +0200

    priv: Introduce prison_priv_check()
    
    One day the PRISON_ROOT flag, which when passed to priv_check_cred()
    allows the privilege in a jail, will be gone and all privileges allowed
    in a jail are centrally maintained in the prison_priv_check() function
    instead of spreading it over all the calls.

Summary of changes:
 sys/kern/kern_jail.c |   12 ++++++++++++
 sys/kern/kern_prot.c |   12 ++++++++++--
 sys/sys/jail.h       |    1 +
 3 files changed, 23 insertions(+), 2 deletions(-)

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


-- 
DragonFly BSD source repository





More information about the Commits mailing list