selinux/secilc/test
James Carter 4a60fd78d2 secilc/test: Add test for anonymous args
CIL has rules that allow names to be assigned to certain objects
like MLS category sets, MLS levels, MLS ranges, IP addresses, and
class permission sets. These objects can also be named as parameters
for a macro. A call may pass in a name for one of these objects, but
it also may pass in one of the actual objects. These objects are
referred as anonymous arguments.

Add CIL policy that can be used to test whether or not anonymous
arguments are being handled properly in macros. Also test the
equivalent named arguments to help determine if the problem is with
that argument type or just with an anonymous argument of that type.

The anonymouse arguments that are tested are categoryset, level,
levelrange, ipaddr, and classpermission.

Signed-off-by: James Carter <jwcart2@gmail.com>
Acked-by: Nicolas Iooss <nicolas.iooss@m4x.org>
2021-06-22 09:33:28 -04:00
..
anonymous_arg_test.cil secilc/test: Add test for anonymous args 2021-06-22 09:33:28 -04:00
block_test.cil
bounds.cil
in_test.cil
integration.cil
minimum.cil
name_resolution_test.cil
neverallow.cil
opt-expected.cil secilc: Fix policy optimization test 2020-05-15 12:40:13 +02:00
opt-input.cil secilc: add basic test for policy optimization 2020-03-18 13:56:34 -04:00
optional_test.cil
policy.cil selinux: Add support for the SCTP portcon keyword 2018-03-19 12:34:29 -04:00