OpenAFS Master Repository branch, openafs-devel-1_7_x, updated. openafs-devel-1_7_15-42-gcd241d1

Gerrit Code Review gerrit@openafs.org
Wed, 4 Jul 2012 06:57:24 -0700 (PDT)


The following commit has been merged in the openafs-devel-1_7_x branch:
commit cd241d1b7e2e6c411aa7d2edad9b9326fa8f0e2d
Author: Jeffrey Altman <jaltman@your-file-system.com>
Date:   Fri Jun 22 00:25:26 2012 -0400

    Windows: check perms before RXAFS_GetVolumeStatus
    
    Instead of calling RXAFS_GetVolumeStatus naked, perform a read
    permission check using RXAFS_FetchStatus first.  This permits EACCES
    caching to prevent unnecessary requests.
    
    Regardless of which FileId is queried, always use the root vnode
    FileId for the permission check.  The file server performs its
    permission check using the root vnode.
    
    Reviewed-on: http://gerrit.openafs.org/7641
    Tested-by: BuildBot <buildbot@rampaginggeek.com>
    Reviewed-by: Jeffrey Altman <jaltman@your-file-system.com>
    Tested-by: Jeffrey Altman <jaltman@your-file-system.com>
    (cherry picked from commit 05ac74528b30d36c195ff8f4df343fa72082a213)
    
    Change-Id: Ia9408c2c80bcce0e857afdfe9f7e524f38ccaa07
    Reviewed-on: http://gerrit.openafs.org/7694
    Tested-by: BuildBot <buildbot@rampaginggeek.com>
    Reviewed-by: Jeffrey Altman <jaltman@your-file-system.com>

 src/WINNT/afsd/cm_ioctl.c           |   48 ++++++++++++++++++++++++----------
 src/WINNT/afsd/cm_vnodeops.c        |   42 +++++++++++++++++++++--------
 src/WINNT/afsd/cm_volume.c          |   40 +++++++++++++++++++---------
 src/WINNT/afsrdr/user/RDRFunction.c |   13 ++++-----
 4 files changed, 97 insertions(+), 46 deletions(-)

-- 
OpenAFS Master Repository