selinux/libsepol
Ondrej Mosnacek 9e096e6ef0 libsepol,checkpolicy: 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 TE language level and adds the support to the module policydb
format. Note that changing the kernel policydb format is not necessary
at all, as type transitions are always expanded in the kernel policydb.

Signed-off-by: Ondrej Mosnacek <omosnace@redhat.com>
Acked-by: James Carter <jwcart2@gmail.com>
2022-05-16 10:37:17 -04:00
..
cil libsepol/cil: add support for self keyword in type transitions 2022-05-16 10:37:05 -04:00
fuzz libsepol: add libfuzz based fuzzer for reading binary policies 2021-12-15 12:48:28 -05:00
include libsepol,checkpolicy: add support for self keyword in type transitions 2022-05-16 10:37:17 -04:00
man selinux: Update manpages after removing legacy boolean and user code 2019-07-29 23:46:47 +02:00
src libsepol,checkpolicy: add support for self keyword in type transitions 2022-05-16 10:37:17 -04:00
tests libsepol/tests: adjust IPv6 netmasks 2022-04-20 14:03:44 -04:00
utils libsepol: add policy utilities 2022-04-12 13:09:19 -04:00
.gitignore libsepol: add policy utilities 2022-04-12 13:09:19 -04:00
COPYING initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
Makefile libsepol: build cil into libsepol 2014-08-26 08:03:31 -04:00
VERSION Update VERSIONs to 3.4-rc3 for release. 2022-05-04 19:20:37 +02:00