Smack: pipefs fix in smack_d_instantiate
authorRoman Kubiak <r.kubiak@samsung.com>
Mon, 5 Oct 2015 10:27:16 +0000 (12:27 +0200)
committerCasey Schaufler <casey@schaufler-ca.com>
Fri, 9 Oct 2015 22:13:41 +0000 (15:13 -0700)
commit8da4aba5bf9869f58d2a6bb30daaf54b2fa72569
treeff412b663cff7760540410a90e33712241bdabd3
parentd21b7b049c0c1753a10c1d01606f42bad0e0f733
Smack: pipefs fix in smack_d_instantiate

This fix writes the task label when
smack_d_instantiate is called, before the
label of the superblock was written on the
pipe's inode.

Signed-off-by: Roman Kubiak <r.kubiak@samsung.com>
Acked-by: Casey Schaufler <casey@schaufler-ca.com>
security/smack/smack_lsm.c