OpenAFS Master Repository branch, master, updated. openafs-devel-1_5_76-2006-g92bfaae

Gerrit Code Review gerrit@openafs.org
Sun, 18 Dec 2011 07:43:18 -0800 (PST)


The following commit has been merged in the master branch:
commit 92bfaae062c596d678220dcb93f9dc61304d3c5a
Author: Peter Scott <pscott@kerneldrivers.com>
Date:   Wed Dec 14 12:27:54 2011 -0700

    Windows: Track AuthGroup in Context Control Block
    
    Tracking the AuthGroup in the File Control Block proved to be
    insufficient to ensure that dirty extents can be stored back
    to the file server when an anti-virus service opens a file
    in authgroup without 'write' permission immediate after the
    application performing a WriteFile() opens it.  In this situation
    the Fcb ends up with the AuthGroup set to the anti-virus value
    and not the one that belongs to the writing application.
    
    Tracking the AuthGroup by Ccb provides the ability to select
    an AuthGroup from the list of open handles instead of tracking
    the most recent one.
    
    Change-Id: I851ea646feb531d7c765e1cf789a4ba541e4a150
    Reviewed-on: http://gerrit.openafs.org/6333
    Tested-by: BuildBot <buildbot@rampaginggeek.com>
    Reviewed-by: Jeffrey Altman <jaltman@secure-endpoints.com>
    Tested-by: Jeffrey Altman <jaltman@secure-endpoints.com>

 src/WINNT/afsrdr/common/AFSRedirCommonStructs.h   |    8 +-
 src/WINNT/afsrdr/kernel/lib/AFSCleanup.cpp        |   18 ++-
 src/WINNT/afsrdr/kernel/lib/AFSClose.cpp          |   65 +++++----
 src/WINNT/afsrdr/kernel/lib/AFSCommSupport.cpp    |   44 +-----
 src/WINNT/afsrdr/kernel/lib/AFSCreate.cpp         |   47 +++++--
 src/WINNT/afsrdr/kernel/lib/AFSDirControl.cpp     |    7 +-
 src/WINNT/afsrdr/kernel/lib/AFSExtentsSupport.cpp |  100 +++++++++++-
 src/WINNT/afsrdr/kernel/lib/AFSFSControl.cpp      |    2 +-
 src/WINNT/afsrdr/kernel/lib/AFSFcbSupport.cpp     |   83 ++++++++++-
 src/WINNT/afsrdr/kernel/lib/AFSFileInfo.cpp       |   12 +-
 src/WINNT/afsrdr/kernel/lib/AFSFlushBuffers.cpp   |    6 +-
 src/WINNT/afsrdr/kernel/lib/AFSGeneric.cpp        |  174 +++++++++++++++++----
 src/WINNT/afsrdr/kernel/lib/AFSLockControl.cpp    |    6 +-
 src/WINNT/afsrdr/kernel/lib/AFSNameSupport.cpp    |   14 +-
 src/WINNT/afsrdr/kernel/lib/AFSRead.cpp           |   15 ++-
 src/WINNT/afsrdr/kernel/lib/AFSWorker.cpp         |   13 ++-
 src/WINNT/afsrdr/kernel/lib/AFSWrite.cpp          |   10 +-
 src/WINNT/afsrdr/kernel/lib/Include/AFSCommon.h   |   35 ++++-
 src/WINNT/afsrdr/kernel/lib/Include/AFSDefines.h  |    1 +
 src/WINNT/afsrdr/kernel/lib/Include/AFSStructs.h  |   12 ++
 20 files changed, 503 insertions(+), 169 deletions(-)

-- 
OpenAFS Master Repository