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>
Mon, 21 Nov 2016 16:02:09 +0000 (17:02 +0100)
commitd76609c96cbf01aea214d2a60a1cefad668b854d
tree178cedebe297999b7e8e0dce467015d4bfeaea70
parent5ccbe056d05024a44e568092b9a0f46f70bb950f
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