The following commit has been merged in the master branch:
commit d40ed7391670010db0df2202d770341b2ca82f32
Author: Jeff Layton <[email protected]>
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 <[email protected]>
Change-Id: I1cd58a7e528abfeb7473cf47ae4cff5b8c8f419c
Reviewed-on: http://gerrit.openafs.org/10547
Tested-by: BuildBot <[email protected]>
Reviewed-by: Jeff Layton <[email protected]>
Reviewed-by: Derrick Brashear <[email protected]>
acinclude.m4 | 1 -
src/afs/LINUX/osi_compat.h | 26 ----------------------
src/afs/LINUX/osi_misc.c | 52 +++++++++++++++++++++++++++++++++-----------
3 files changed, 39 insertions(+), 40 deletions(-)
--
OpenAFS Master Repository
_______________________________________________
OpenAFS-cvs mailing list
[email protected]
https://lists.openafs.org/mailman/listinfo/openafs-cvs