Smack: Fix setting label on successful file open
authorMarcin Niesluchowski <m.niesluchow@samsung.com>
Tue, 19 Aug 2014 12:26:32 +0000 (14:26 +0200)
committerCasey Schaufler <casey@schaufler-ca.com>
Mon, 25 Aug 2014 21:27:28 +0000 (14:27 -0700)
While opening with CAP_MAC_OVERRIDE file label is not set.
Other calls may access it after CAP_MAC_OVERRIDE is dropped from process.

Signed-off-by: Marcin Niesluchowski <m.niesluchow@samsung.com>
security/smack/smack_lsm.c

Simple merge