selinux/checkpolicy
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
..
ru checkpolicy: Minor tweaks to the names of the contributors to the manpages 2020-06-04 16:06:25 -04:00
test checkpolicy: avoid implicit conversion 2021-09-15 10:14:27 -04:00
.gitignore Repo: update .gitignore 2011-08-02 13:31:51 -04:00
checkmodule.8 checkpolicy: update documentation 2021-10-04 09:25:12 -04:00
checkmodule.c checkpolicy: misc checkmodule tweaks 2021-09-15 10:13:51 -04:00
checkpolicy.8 checkpolicy: update documentation 2021-10-04 09:25:12 -04:00
checkpolicy.c checkpolicy: Fix potential undefined shifts 2021-10-12 13:44:55 -04:00
checkpolicy.h checkpolicy: remove unused te_assertions 2020-01-27 10:51:21 -05:00
COPYING
Makefile checkpolicy: drop -pipe compile option 2021-07-13 21:02:04 +02:00
module_compiler.c libsepol: Populate and use policy name 2022-02-24 10:44:46 -05:00
module_compiler.h checkpolicy: mark read-only parameters in module compiler const 2021-09-15 10:13:58 -04:00
parse_util.c libsepol: Populate and use policy name 2022-02-24 10:44:46 -05:00
parse_util.h
policy_define.c libsepol,checkpolicy: add support for self keyword in type transitions 2022-05-16 10:37:17 -04:00
policy_define.h checkpolicy: Add support for ibendportcon labels 2017-05-23 16:20:55 -04:00
policy_parse.y checkpolicy: error out on parsing too big integers 2021-09-15 10:14:33 -04:00
policy_scan.l checkpolicy: ignore possible string truncation 2021-11-15 16:00:54 -05:00
queue.c checkpolicy,libselinux,libsepol,policycoreutils: Update my email address 2017-08-17 14:17:12 -04:00
queue.h checkpolicy,libselinux,libsepol,policycoreutils: Update my email address 2017-08-17 14:17:12 -04:00
VERSION Update VERSIONs to 3.4-rc3 for release. 2022-05-04 19:20:37 +02:00