policychecker: allow sending signal rules with only send_interface 79/193179/1 accepted/tizen/unified/20181119.013241 submit/tizen/20181116.003516
authorAdrian Szyndela <adrian.s@samsung.com>
Thu, 15 Nov 2018 16:01:27 +0000 (17:01 +0100)
committerAdrian Szyndela <adrian.s@samsung.com>
Thu, 15 Nov 2018 16:05:09 +0000 (17:05 +0100)
commit9f931bdf593be12e01739a4196a0a07475aa1efd
tree62d6e9c24e0e76fba7fd8c14e4bb20f14e7436c4
parentad3c7e33fd56d6ec8e07099392aad9ea02524a0c
policychecker: allow sending signal rules with only send_interface

If the global policy for signals is deny, then we need a way
to choose who can send signals. They (usually) have no destination,
so the allowing rules can't have destination.

This commit changes checking rules to allow policy rules with
send_interface constraint, without send_destination, when
send_type="signal" is allows specified.

Change-Id: I041b4e409cbffeae2edaaec8bb2dfa8f60e3994f
policychecker/rules.xsl