Smack: Correctly remove SMACK64TRANSMUTE attribute
authorCasey Schaufler <casey@schaufler-ca.com>
Thu, 10 Apr 2014 23:35:36 +0000 (16:35 -0700)
committerStephane Desneux <stephane.desneux@open.eurogiciel.org>
Wed, 4 Feb 2015 10:23:21 +0000 (11:23 +0100)
commiteef470b54962c9e90f4cb6443b859fdeb1f9267c
treee8dd7b1929f67bfb18a16554a68cb11ff4d4d562
parent28e703b93d62fe25da971670878337360a668aaa
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

Change-Id: Iae25080bfd0ec247391c997a59f3e2327423e33d
Signed-off-by: Casey Schaufler <casey@schaufler-ca.com>
Signed-off-by: Rafal Krypa <r.krypa@samsung.com>
security/smack/smack_lsm.c