connection: for KDBUS_MSG_SIGNAL check match db then the policy db
authorDjalal Harouni <tixxdz@opendz.org>
Mon, 5 Jan 2015 19:33:56 +0000 (20:33 +0100)
committerDjalal Harouni <tixxdz@opendz.org>
Mon, 5 Jan 2015 19:33:56 +0000 (20:33 +0100)
commit3f10c81bec843e0c6ec53e8ca23a54e6e9fe26c3
tree46aaa2d3f7238d8223b344c76177cc59c9df2959
parentb05777ae472dc417ac5f2d3377d67cafcbf8e070
connection: for KDBUS_MSG_SIGNAL check match db then the policy db

Minor optimization, before locking the endpoint policy db in order to
check for TALK access, check first that the destination match db is
interested in the signal.

Signed-off-by: Djalal Harouni <tixxdz@opendz.org>
connection.c