OpenAFS Master Repository branch, openafs-stable-1_6_x, updated. openafs-stable-1_6_2_1-133-gaf2dda5

Gerrit Code Review gerrit@openafs.org
Wed, 15 May 2013 10:32:34 -0700 (PDT)


The following commit has been merged in the openafs-stable-1_6_x branch:
commit af2dda555adfa71bc6a84e04f72523273aca6c16
Author: Antoine Verheijen <antoine@ualberta.ca>
Date:   Mon Apr 8 20:29:58 2013 -0600

    OpenBSD 5.3: Replace use of copyinstr for setting mount point name.
    
    As a result of a realignment of kernel memory in OpenBSD 5.3,
    the copyinstr() routine no longer works for copying the mount
    point name into the internal mount table structure. It also
    fails silently, so it's not noticed until someone looks at
    the mount table and discovers that the mount point name for
    AFS is missing.
    
    This patch replaces the use of copyinstr() with strlcpy() for
    copying the mount point name in OpenBSD 5.3.
    
    Note that this is consistent with how other similar device
    support has addressed the same issue in OpenBSD 5.3.
    
    Reviewed-on: http://gerrit.openafs.org/9752
    Reviewed-by: Derrick Brashear <shadow@your-file-system.com>
    Tested-by: BuildBot <buildbot@rampaginggeek.com>
    (cherry picked from commit b39461fc67d4f258d31e0a13b5d8dcb3c5fae49f)
    
    Change-Id: I5e9a3d0871360e0e3b19cdb2b4a609baeed050f8
    Reviewed-on: http://gerrit.openafs.org/9908
    Reviewed-by: Andrew Deason <adeason@sinenomine.net>
    Reviewed-by: Benjamin Kaduk <kaduk@mit.edu>
    Tested-by: BuildBot <buildbot@rampaginggeek.com>
    Reviewed-by: Stephan Wiesand <stephan.wiesand@desy.de>

 src/afs/OBSD/osi_vfsops.c |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

-- 
OpenAFS Master Repository