policychecker: allow 'destination without interface' rules 49/210849/2 accepted/tizen/unified/20190807.111828 submit/tizen/20180808.030253 submit/tizen/20190807.012600 submit/tizen/20190807.012805
authorAdrian Szyndela <adrian.s@samsung.com>
Thu, 25 Jul 2019 08:01:33 +0000 (10:01 +0200)
committerAdrian Szyndela <adrian.s@samsung.com>
Thu, 25 Jul 2019 08:05:50 +0000 (10:05 +0200)
commita4eb932554391653cf7d4b8f7b55b2725a5c29cd
tree2e2592402fd29534d4691bf0d2e7ca8480df15eb
parent54d94273b3fd210f4bcf519196e3deb72d0a65a4
policychecker: allow 'destination without interface' rules

It seems that the checking rules that require all the policy rules
with send_type="method_call" to have specified send_interface
are too strong.

This relaxes the checking rules a bit by allowing rules that:
- are in the "default" or "mandatory" contexts;
- have 'send_type' or 'receive_type set' to "method_call";
- have specified 'send_destination' or 'receive_sender'.
That is, we don't require "send_interface" or "receive interface" anymore
for such rules.

Change-Id: Iefa9bb5a5e23319c7549fa597ab00b5c88600585
policychecker/rules.xsl