OpenAFS Master Repository branch, master, updated. openafs-devel-1_5_76-2652-g05ac745

Gerrit Code Review gerrit@openafs.org
Tue, 3 Jul 2012 09:29:37 -0700 (PDT)


The following commit has been merged in the master branch:
commit 05ac74528b30d36c195ff8f4df343fa72082a213
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.
    
    Change-Id: I3260bf0061beed5d95aae1d40e25d17be1811271
    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>

 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