BACKPORT: smack: fix cache of access labels
authorJosé Bollo <jobol@nonadev.net>
Tue, 12 Jan 2016 20:23:40 +0000 (21:23 +0100)
committerRafal Krypa <r.krypa@samsung.com>
Fri, 18 Nov 2016 10:57:11 +0000 (11:57 +0100)
commite016cf4b05bd213c1165d7dcd3f4f760f20b194f
treec7734b76f8cc754f412b502b0916f4af95756b8c
parentfa9cded6b8d23ad101fec4cedb300424b000115b
BACKPORT: smack: fix cache of access labels

Before this commit, removing the access property of
a file, aka, the extended attribute security.SMACK64
was not effictive until the cache had been cleaned.

This patch fixes that problem.

Signed-off-by: José Bollo <jobol@nonadev.net>
Acked-by: Casey Schaufler <casey@schaufler-ca.com>
(cherry-picked from upstream 8012495e177bbf67eba8915e266a6f897bedbd53)
security/smack/smack_lsm.c