Smack: Correctly remove SMACK64TRANSMUTE attribute
authorCasey Schaufler <casey@schaufler-ca.com>
Thu, 10 Apr 2014 23:35:36 +0000 (16:35 -0700)
committerCasey Schaufler <casey@schaufler-ca.com>
Fri, 11 Apr 2014 21:35:19 +0000 (14:35 -0700)
commitf59bdfba3e2b0ba5182f23d96101d106f18132ca
tree21fe374cf808cdbbc30d068d542ff2ea07849a35
parent9598f4c9e7069aee8639be1e04e8af26b5a77fa2
Smack: Correctly remove SMACK64TRANSMUTE attribute

Sam Henderson points out that removing the SMACK64TRANSMUTE
attribute from a directory does not result in the directory
transmuting. This is because the inode flag indicating that
the directory is transmuting isn't cleared. The fix is a tad
less than trivial because smk_task and smk_mmap should have
been broken out, too.

Targeted for git://git.gitorious.org/smack-next/kernel.git

Signed-off-by: Casey Schaufler <casey@schaufler-ca.com>
security/smack/smack_lsm.c