OpenAFS Master Repository branch, openafs-stable-1_6_x, updated. openafs-stable-1_6_6pre1-10-gd68e6c2
Gerrit Code Review
gerrit@openafs.org
Wed, 18 Dec 2013 08:02:30 -0800 (PST)
The following commit has been merged in the openafs-stable-1_6_x branch:
commit d68e6c24f53b6878733e28909e23e44a0fdfae1d
Author: Jeff Layton <jlayton@redhat.com>
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 <jlayton@redhat.com>
Reviewed-on: http://gerrit.openafs.org/10547
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Jeff Layton <jlayton@poochiereds.net>
Reviewed-by: Derrick Brashear <shadow@your-file-system.com>
(cherry picked from commit d40ed7391670010db0df2202d770341b2ca82f32)
Change-Id: I860366b5ad3ce43cbade0ddfb8bed5ba5e7908a8
Reviewed-on: http://gerrit.openafs.org/10578
Reviewed-by: Derrick Brashear <shadow@your-file-system.com>
Reviewed-by: Andrew Deason <adeason@sinenomine.net>
Reviewed-by: Stephan Wiesand <stephan.wiesand@desy.de>
Tested-by: BuildBot <buildbot@rampaginggeek.com>
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