OpenAFS Master Repository branch, master, updated. openafs-devel-1_5_76-4700-gd351643

Gerrit Code Review gerrit@openafs.org
Thu, 24 Sep 2015 00:19:29 -0400


The following commit has been merged in the master branch:
commit d35164370a8e799ed35f7f23670ddee02dc87f50
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.
    
    Change-Id: Ib8772e185aa1e4e52979ec847bbc18a9878bcaca
    Reviewed-on: http://gerrit.openafs.org/11909
    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