policychecker: modified 'Unconstrained allow' rule 15/186815/3
authorAdrian Szyndela <adrian.s@samsung.com>
Tue, 14 Aug 2018 13:54:50 +0000 (15:54 +0200)
committerAdrian Szyndela <adrian.s@samsung.com>
Mon, 20 Aug 2018 09:39:23 +0000 (11:39 +0200)
commit15ab63956560f4d994d3d22478d8877d98cc46e6
tree5343bf0df8ecb064d70de39498bde281d539a810
parent705f681440e17e7fdc0f9e1a62f347e586728b39
policychecker: modified 'Unconstrained allow' rule

Unconstrained allow rule was reporting any allow in context default
or mandatory.
Now, it reports those rules in both contexts that:
- allow send_type='method_call' but do not specify destination and interface;
- allow send_path but do not specify destination;
- allow receive_type='method_call' but do not specify sender and interface;
- allow receive_path but do not specify sender.
Additionally, in user and group context send_destination is required
when send_type="method_call" or send_path is present, and receive_sender
is required when receive_type="method_call" or receive_path is present.

Change-Id: Icd822bf4b3e2f105a07e80ca61415410faaeb00a
policychecker/rules.xsl