OpenAFS Master Repository branch, openafs-devel-1_7_x, updated. openafs-devel-1_7_32-9-gb817988

Gerrit Code Review gerrit@openafs.org
Thu, 24 Sep 2015 23:25:41 -0400


The following commit has been merged in the openafs-devel-1_7_x branch:
commit b8179886a29a116a5308f5a7b4fdf638d6004ebf
Author: Jeffrey Altman <jaltman@your-file-system.com>
Date:   Sun Jun 28 13:12:13 2015 -0400

    Windows: Move GetAuthenticationId to Worker Thread
    
    When PsReferenceImpersonationToken(), PsReferencePrimaryToken(), and
    SeQueryInformationToken() are called in the kernel from a user process
    thread the restrictions on the userland process still apply.  Since we do
    not want to be restricted we must obtain the token and query the token
    information from a SYSTEM thread.
    
    This change restructures the AFSGetAuthenticationId() process to queue a
    synchronous task to the worker thread.
    
    This should address the problem that has been seen during system boot when
    the Group Policy Service attempts to query, remove or create a drive
    letter mapping.
    
    Reviewed-on: http://gerrit.openafs.org/11909
    Tested-by: BuildBot <buildbot@rampaginggeek.com>
    Reviewed-by: Jeffrey Altman <jaltman@your-file-system.com>
    (cherry picked from commit d35164370a8e799ed35f7f23670ddee02dc87f50)
    
    Change-Id: I327f68570631f7bb435c2651f1567b071f3de802
    Reviewed-on: http://gerrit.openafs.org/12030
    Tested-by: BuildBot <buildbot@rampaginggeek.com>
    Reviewed-by: Jeffrey Altman <jaltman@your-file-system.com>

 src/WINNT/afsrdr/kernel/lib/AFSGeneric.cpp         |  112 ++++++++++++++++++--
 .../kernel/lib/AFSNetworkProviderSupport.cpp       |   47 +++++----
 src/WINNT/afsrdr/kernel/lib/AFSWorker.cpp          |   26 ++++-
 src/WINNT/afsrdr/kernel/lib/Include/AFSCommon.h    |   11 ++-
 src/WINNT/afsrdr/kernel/lib/Include/AFSDefines.h   |    4 +-
 src/WINNT/afsrdr/kernel/lib/Include/AFSStructs.h   |   12 ++-
 6 files changed, 170 insertions(+), 42 deletions(-)

-- 
OpenAFS Master Repository