OpenAFS Master Repository branch, openafs-stable-1_6_x, updated. openafs-stable-1_6_8-146-g38a4a13

Gerrit Code Review gerrit@openafs.org
Wed, 13 Aug 2014 11:27:50 -0400


The following commit has been merged in the openafs-stable-1_6_x branch:
commit 38a4a13c32ce9373a7cbc23baa114b98e09bb42c
Author: Michael Meffie <mmeffie@sinenomine.net>
Date:   Mon Jul 28 17:27:40 2014 -0400

    libafs: do not allow NULL creds for afs_CreateReq
    
    Do not allow callers to pass a NULL cred to afs_CreateReq.  This
    avoids setting the uid of zero in the vrequest when no cred is
    passed.  Update callers to pass afs_osi_credp for an anonymous cred
    when no cred is available.
    
    Thanks to Andrew Deason for pointing out afs_osi_credp should be
    used.
    
    Reviewed-on: http://gerrit.openafs.org/11336
    Tested-by: BuildBot <buildbot@rampaginggeek.com>
    Reviewed-by: Benjamin Kaduk <kaduk@mit.edu>
    Reviewed-by: Chas Williams - CONTRACTOR <chas@cmf.nrl.navy.mil>
    Reviewed-by: D Brashear <shadow@your-file-system.com>
    (cherry picked from commit b7f1763652fb932ca5bd3f3351a48df11e58f2dc)
    
    Change-Id: I0a7f17a05decdd0a9ef1ff72d7bf73153db95bed
    Reviewed-on: http://gerrit.openafs.org/11365
    Tested-by: BuildBot <buildbot@rampaginggeek.com>
    Reviewed-by: Andrew Deason <adeason@sinenomine.net>
    Reviewed-by: Benjamin Kaduk <kaduk@mit.edu>
    Reviewed-by: Stephan Wiesand <stephan.wiesand@desy.de>

 src/afs/afs_osi_pag.c  |   17 +++++++----------
 src/afs/afs_osi_vget.c |    2 +-
 src/afs/afs_vcache.c   |    2 +-
 3 files changed, 9 insertions(+), 12 deletions(-)

-- 
OpenAFS Master Repository