BACKPORT: 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)
committerRafal Krypa <r.krypa@samsung.com>
Thu, 30 Jun 2016 12:57:43 +0000 (14:57 +0200)
commit6294db461a1d67904eb409e5c3b2418f3e9c39d3
treeb2e3f83fc6c9763cce2770c217eee100e23daa1f
parentc92d9bc62117e216d3665317c5a8bdb2d6d10cf3
BACKPORT: 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>
(cherry-picked from upstream 96be7b5424948ae39d29d5149eaec0bd6edd7404)
security/smack/smack_lsm.c