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

DragonFly-2.3.0.575.gea8f32 master sys/kern kern_descrip.c uipc_usrreq.c sys/sys fcntl.h un.h


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Fri, 3 Apr 2009 09:50:47 -0700 (PDT)

commit ea8f324c34cc7837fa0cc397d329322bee5f99b9
Author: Matthew Dillon <dillon@apollo.backplane.com>
Date:   Fri Apr 3 09:46:57 2009 -0700

    Revoke reimplementation - primary commit part 2/2.
    
    This finishes out the primary revoke changes.  Adjust the revoke code
    to do a primary pass on the file pointer table and mark fps with FREVOKED,
    then do a pass on the process descriptor tables to clean them out.
    
    Add checks to dup() to silently use a dummy fp when the source fp has
    been revoked.  This removes revoke/dup races.
    
    Add unix domain in-transit tests.  If a revoked fp is in-transit then
    unix-domain sockets are scanned and revoked file pointers replaced with
    dummy file pointers.

Summary of changes:
 sys/kern/kern_descrip.c |  127 ++++++++++++++++++++++++++++++---------
 sys/kern/uipc_usrreq.c  |  156 +++++++++++++++++++++++++++++++++++++++++++----
 sys/sys/fcntl.h         |    4 +
 sys/sys/un.h            |    1 +
 4 files changed, 248 insertions(+), 40 deletions(-)

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


-- 
DragonFly BSD source repository



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