[git pull] apparmor fix for __d_path() misuse

From: Al Viro
Date: Tue Dec 06 2011 - 10:48:56 EST


Fix for use-after-free race in apparmor d_namespace_path() and
partially sanitizing the atrocious __d_path() API that has caused that
mess in the first place. Please, pull from
git://git.kernel.org:/pub/scm/linux/kernel/git/viro/vfs.git for-linus

Shortlog:
Al Viro (1):
fix apparmor dereferencing potentially freed dentry, sanitize __d_path() API

Diffstat:
fs/dcache.c | 73 +++++++++++++++++++++++++++----------------
fs/namespace.c | 20 ++++++-----
fs/seq_file.c | 8 ++--
include/linux/dcache.h | 3 +-
include/linux/fs.h | 1 +
security/apparmor/path.c | 36 ++++++++-------------
security/tomoyo/realpath.c | 2 +-
7 files changed, 79 insertions(+), 64 deletions(-)
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/