platform_external_selinux/secilc/test
Ondrej Mosnacek 539b066036 libsepol/cil: add support for self keyword in type transitions
With the addition of the anon_inode class in the kernel, 'self'
transition rules became useful, but haven't been implemented.

The typetransition, typemember, and typechange statements share the
relevant code, so this patch implements the self keyword in all of them
at the CIL level. It also adds basic coverage for the such 'self' rules
to the secilc test policy.

Signed-off-by: Ondrej Mosnacek <omosnace@redhat.com>
Acked-by: James Carter <jwcart2@gmail.com>
2022-05-16 10:37:05 -04:00
..
anonymous_arg_test.cil secilc/test: Add test for anonymous args 2021-06-22 09:33:28 -04:00
block_test.cil Correct some typos 2021-09-30 15:42:11 -04:00
bounds.cil secilc: Add a CIL policy file to test bounds checking. 2015-06-22 10:03:16 -04:00
in_test.cil libsepol: Move secilc out of libsepol 2015-03-31 12:31:38 -04:00
integration.cil libsepol: Move secilc out of libsepol 2015-03-31 12:31:38 -04:00
minimum.cil libsepol: Move secilc out of libsepol 2015-03-31 12:31:38 -04:00
name_resolution_test.cil libsepol: Move secilc out of libsepol 2015-03-31 12:31:38 -04:00
neverallow.cil secilc: Add a CIL policy file to test neverallow checking. 2015-06-22 10:03:16 -04:00
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 libsepol: Move secilc out of libsepol 2015-03-31 12:31:38 -04:00
policy.cil libsepol/cil: add support for self keyword in type transitions 2022-05-16 10:37:05 -04:00