OpenAFS Master Repository branch, openafs-devel-1_7_x, updated. openafs-devel-1_7_2a-67-ga6f5474

Gerrit Code Review gerrit@openafs.org
Sun, 18 Dec 2011 09:32:30 -0800 (PST)


The following commit has been merged in the openafs-devel-1_7_x branch:
commit a6f5474dc1acc08c4c792a5c1ca98af4a4f71d96
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.
    
    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>
    (cherry picked from commit 92bfaae062c596d678220dcb93f9dc61304d3c5a)
    
    Change-Id: I8c3775d7e4ca8c0747309d3f081fb5d01f74b996
    Reviewed-on: http://gerrit.openafs.org/6374
    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