summaryrefslogtreecommitdiffstats
path: root/mm/gup.c
diff options
context:
space:
mode:
authorPaul Moore <pmoore@redhat.com>2015-01-22 06:00:23 +0100
committerAl Viro <viro@zeniv.linux.org.uk>2015-01-23 06:23:58 +0100
commit55422d0bd292f5ad143cc32cb8bb8505257274c4 (patch)
treefd1d6fae56c5e01d9d8fd6fb2fd913f5e24c7b56 /mm/gup.c
parentaudit: fix filename matching in __audit_inode() and __audit_inode_child() (diff)
downloadlinux-55422d0bd292f5ad143cc32cb8bb8505257274c4.tar.xz
linux-55422d0bd292f5ad143cc32cb8bb8505257274c4.zip
audit: replace getname()/putname() hacks with reference counters
In order to ensure that filenames are not released before the audit subsystem is done with the strings there are a number of hacks built into the fs and audit subsystems around getname() and putname(). To say these hacks are "ugly" would be kind. This patch removes the filename hackery in favor of a more conventional reference count based approach. The diffstat below tells most of the story; lots of audit/fs specific code is replaced with a traditional reference count based approach that is easily understood, even by those not familiar with the audit and/or fs subsystems. CC: viro@zeniv.linux.org.uk CC: linux-fsdevel@vger.kernel.org Signed-off-by: Paul Moore <pmoore@redhat.com> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'mm/gup.c')
0 files changed, 0 insertions, 0 deletions