policychecker: allow i-dont-need-any-name configs 12/212612/1
authorAdrian Szyndela <adrian.s@samsung.com>
Fri, 23 Aug 2019 09:37:51 +0000 (11:37 +0200)
committerAdrian Szyndela <adrian.s@samsung.com>
Fri, 23 Aug 2019 09:37:51 +0000 (11:37 +0200)
commitab5ed7f3d68071e62900e5dc6fe54f4d092ca359
treedb80bb05e90a3ce393c098b8debf1c3f63cf7a7f
parenta4eb932554391653cf7d4b8f7b55b2725a5c29cd
policychecker: allow i-dont-need-any-name configs

This allows configurations that do not concern any owned names, e.g.
configurations for specifying who can receive some specific signals.

Without this change, the checking rules ensure that every policy
configuration file contains at least one <deny send_destination/prefix>
and one <deny own> policy rule. This was introduced when there
was "global default allow" policy in some uses. Nowadays, such policies
are probably long gone.

Anyway, there are still other checking rules present, which complain for
not having proper <deny> rules in default context, if <allow>
rules for a name are present in the configuration file.

Change-Id: Ic4eeee3ff5c8524fda58d17874fe6fdb37fb4d1c
policychecker/rules.xsl