OpenAFS Master Repository branch, openafs-stable-1_6_5_x, updated. openafs-stable-1_6_5_1-7-g512ef08

Gerrit Code Review
Fri, 20 Dec 2013 07:25:05 -0800 (PST)

The following commit has been merged in the openafs-stable-1_6_5_x branch:
commit 512ef081c1f1c2e31e7233e4b79338ae27f787b6
Author: Jeff Layton <>
Date:   Fri Dec 6 13:34:04 2013 -0500

    Linux: stop trying to use getname/putname
    The current code has afs_putname defined as
        kmem_cache_free (names_cachep, (void *) name);
    This is wrong and will cause a double -free when syscall auditing is
    enabled. Fix it to call putname properly.
    Instead of that, just create a new afs_getname function that doesn't
    bother with struct filename at all, and use that unconditionally.
    Signed-off-by:Jeff Layton <>
    Tested-by: BuildBot <>
    Reviewed-by: Jeff Layton <>
    Reviewed-by: Derrick Brashear <>
    (cherry picked from commit d40ed7391670010db0df2202d770341b2ca82f32)
    Reviewed-by: Derrick Brashear <>
    Reviewed-by: Andrew Deason <>
    Reviewed-by: Stephan Wiesand <>
    Tested-by: BuildBot <>
    (cherry picked from commit d68e6c24f53b6878733e28909e23e44a0fdfae1d)
    Change-Id: Ic8055a6ed7aa955266c0f3112817924ef8ba591b
    Tested-by: Stephan Wiesand <>
    Reviewed-by: Stephan Wiesand <>

 acinclude.m4               |    1 -
 src/afs/LINUX/osi_compat.h |   36 ------------------------------
 src/afs/LINUX/osi_misc.c   |   52 +++++++++++++++++++++++++++++++++-----------
 3 files changed, 39 insertions(+), 50 deletions(-)

OpenAFS Master Repository