selinux/libsepol/include/sepol/policydb
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
..
avrule_block.h libsepol: do not #include <sys/cdefs.h> 2016-11-29 11:03:17 -05:00
avtab.h checkpolicy,libselinux,libsepol,policycoreutils: Update my email address 2017-08-17 14:17:12 -04:00
conditional.h libsepol: avoid implicit conversions 2021-07-13 21:01:07 +02:00
constraint.h checkpolicy,libselinux,libsepol,policycoreutils: Update my email address 2017-08-17 14:17:12 -04:00
context.h libsepol: mark immutable mls and context parameter const 2022-04-06 10:46:10 +02:00
ebitmap.h libsepol: mark read-only parameters of ebitmap interfaces const 2021-06-24 09:40:18 -04:00
expand.h libsepol: do not #include <sys/cdefs.h> 2016-11-29 11:03:17 -05:00
flask_types.h libsepol: introduce sepol_const_security_context_t typedef 2022-04-12 13:09:13 -04:00
hashtab.h libsepol, newrole: remove unused hashtab functions 2020-02-21 15:15:41 -05:00
hierarchy.h libsepol: do not #include <sys/cdefs.h> 2016-11-29 11:03:17 -05:00
link.h libsepol: do not #include <sys/cdefs.h> 2016-11-29 11:03:17 -05:00
mls_types.h libsepol: mark immutable mls and context parameter const 2022-04-06 10:46:10 +02:00
module.h libsepol: do not #include <sys/cdefs.h> 2016-11-29 11:03:17 -05:00
polcaps.h libsepol: Shorten the policy capability enum names 2022-03-11 10:16:15 -05:00
policydb.h libsepol,checkpolicy: add support for self keyword in type transitions 2022-05-16 10:37:17 -04:00
services.h libsepol: introduce sepol_const_security_context_t typedef 2022-04-12 13:09:13 -04:00
sidtab.h checkpolicy,libselinux,libsepol,policycoreutils: Update my email address 2017-08-17 14:17:12 -04:00
symtab.h checkpolicy,libselinux,libsepol,policycoreutils: Update my email address 2017-08-17 14:17:12 -04:00
util.h libsepol: do not #include <sys/cdefs.h> 2016-11-29 11:03:17 -05:00