]> git.baikalelectronics.ru Git - kernel.git/commit
Apparmor: mediated_filesystem() should use dentry->d_sb not inode->i_sb
authorDavid Howells <dhowells@redhat.com>
Thu, 29 Jan 2015 12:02:31 +0000 (12:02 +0000)
committerAl Viro <viro@zeniv.linux.org.uk>
Sun, 22 Feb 2015 16:38:39 +0000 (11:38 -0500)
commit7f6dd1bce07d81540e2b187f0a02fa285a81b013
treef56b9d59ecbeeb69da6d4d7c2aeaa1cd7418b988
parentd47f2156ac6d6905cc8d91200bfbbf69ae3d1c58
Apparmor: mediated_filesystem() should use dentry->d_sb not inode->i_sb

mediated_filesystem() should use dentry->d_sb not dentry->d_inode->i_sb and
should avoid file_inode() also since it is really dealing with the path.

Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
security/apparmor/include/apparmor.h
security/apparmor/lsm.c