smack: Fix a bidirectional UDS connect check typo
authorZbigniew Jasinski <z.jasinski@samsung.com>
Mon, 29 Dec 2014 14:34:58 +0000 (15:34 +0100)
committerCasey Schaufler <casey@schaufler-ca.com>
Mon, 19 Jan 2015 18:00:05 +0000 (10:00 -0800)
commit96be7b5424948ae39d29d5149eaec0bd6edd7404
treec467ec4b6531e2ac3985e0aefa0bc5471e9cfc2e
parent1d8c2326a4a2a4d942f9165b5702fe6f869ccf48
smack: Fix a bidirectional UDS connect check typo

The 54e70ec5eb090193b03e69d551fa6771a5a217c4 commit introduced a
bidirectional check that should have checked for mutual WRITE access
between two labels. Due to a typo subject's OUT label is checked with
object's OUT. Should be OUT to IN.

Signed-off-by: Zbigniew Jasinski <z.jasinski@samsung.com>
security/smack/smack_lsm.c