]> git.baikalelectronics.ru Git - kernel.git/commit
fix mnt_mountpoint abuse in smack
authorAl Viro <viro@zeniv.linux.org.uk>
Sat, 30 Jan 2010 20:27:27 +0000 (15:27 -0500)
committerAl Viro <viro@zeniv.linux.org.uk>
Wed, 3 Mar 2010 19:07:56 +0000 (14:07 -0500)
commite324b14f03595bb8d531c0ad608992b43d2840b9
tree807ac88de94235afb40117b27d4400bd32573cea
parent4f83a98abc5e4fc481c1dc8f03fe6ecfe43b2a91
fix mnt_mountpoint abuse in smack

(mnt,mnt_mountpoint) pair is conceptually wrong; if you want
to use it for generating pathname and for nothing else *and*
if you know that vfsmount tree is unchanging, you can get
away with that, but the right solution for that is (mnt,mnt_root).

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
security/smack/smack_lsm.c