policychecker: allow signal rules if send_path is present 09/197509/1 accepted/tizen/unified/20190115.173220 submit/tizen/20190115.084148
authorAdrian Szyndela <adrian.s@samsung.com>
Thu, 10 Jan 2019 11:29:12 +0000 (12:29 +0100)
committerAdrian Szyndela <adrian.s@samsung.com>
Fri, 11 Jan 2019 14:32:50 +0000 (15:32 +0100)
commit04c24ab8c5d723b6b51f053388650815feb32c0e
tree8391fc11240b89a37d3bd02de434f126d1df6428
parent47790c834576d4731df612f31a5aa14649d92096
policychecker: allow signal rules if send_path is present

In case a rule contained send_path, we required it also to have
send_destination or send_destination_prefix.
However, a rule may be crafted for signals, which are broadcast,
therefore they don't have any destination at all.
This patch relaxes the requirement a bit, allowing rules
having send_path without send_destination under condition that
the rule contains send_interface and send_type='signal' attributes.

Change-Id: I99ff19271121f726df81e2aed8a124a78f7eadbc
policychecker/rules.xsl