This should diminish differences between policies generated for the same
container (allow rules should be in the same order).
Fixes: Two subsequent calls to Udica on the same container sometimes
generate different policy files (functionally equivalent, but
with different rule order). This issue makes it difficult to use
udica for CI purposes.
https://github.com/containers/udica/issues/84
Signed-off-by: Vit Mojzis <vmojzis@redhat.com>
Udica generates SELinux security allow rules only for files,dirs and
sockets. Following commit adds also FIFO files.
The change required also to modify existing unit tests.
Fixes: #85