BACKPORT: smack: Add missing logging in bidirectional UDS connect check
authorRafal Krypa <r.krypa@samsung.com>
Thu, 8 Jan 2015 17:52:45 +0000 (18:52 +0100)
committerRafal Krypa <r.krypa@samsung.com>
Thu, 30 Jun 2016 12:57:44 +0000 (14:57 +0200)
commit3eed177cd2459a3581dff3909eb59acacefb444c
treefc679fa91b6d743f39481461f1cc2576167ed04a
parent9804319ea071c337035b2086b4e782b62fbe2fe9
BACKPORT: smack: Add missing logging in bidirectional UDS connect check

During UDS connection check, both sides are checked for write access to
the other side. But only the first check is performed with audit support.
The second one didn't produce any audit logs. This simple patch fixes that.

Signed-off-by: Rafal Krypa <r.krypa@samsung.com>
(cherry-picked from upstream 138a868f009bfca8633032cdb91e2b02e292658b)
security/smack/smack_lsm.c