platform_external_selinux/policycoreutils
Yuli Khodorkovskiy f42d013eec policycoreutils/hll/pp: Fix role/roletype scoping
- Create role declarations no matter if the declaration is in base or
  a module. Since CIL does not permit role re-declarations, this change
  will break existing policies that have the same role declared in multiple
  modules. To fix this, the policies will need to change the role to be
  defined in a single place.
- Pass around the avrule_decl stack rather than just the most recent
  decl. The full stack is needed to determine if identifiers are in
  scope
- Only create roletype statements for a role and a type in two cases:
   1) The role is declared/required and the type is declared/required in
      the same scope or an ancestor scope of the role
   2) The type is declared/required and the role is declared/required in
      an ancestor scope of the type

Signed-off-by: Yuli Khodorkovskiy <ykhodorkovskiy@tresys.com>
Acked-by: Steve Lawrence <slawrence@tresys.com>
2014-10-02 09:56:58 -04:00
..
.tx Update Translations 2013-10-24 13:58:39 -04:00
audit2allow Use $(PYTHON) instead of "python" in every Makefile 2014-10-02 09:56:49 -04:00
gui Fix up desktop files to match current standards 2013-11-08 15:50:59 -05:00
hll policycoreutils/hll/pp: Fix role/roletype scoping 2014-10-02 09:56:58 -04:00
load_policy Minor manpages improvements 2013-11-06 09:36:33 -05:00
man Merge branch 'fedora' into master-merge 2013-10-24 15:24:17 -04:00
mcstrans policycoreutils: mcstrans: use string_to_av_perm() to calculate permission access vector 2014-08-29 09:19:50 -04:00
newrole Fix gcc -Wstrict-prototypes warnings 2014-10-02 09:56:38 -04:00
po Update Translations 2013-10-24 13:58:39 -04:00
restorecond Fix gcc -Wstrict-prototypes warnings 2014-10-02 09:56:38 -04:00
run_init Fix gcc -Wstrict-prototypes warnings 2014-10-02 09:56:38 -04:00
sandbox Use $(PYTHON) instead of "python" in every Makefile 2014-10-02 09:56:49 -04:00
scripts Minor manpages improvements 2013-11-06 09:36:33 -05:00
secon Minor manpages improvements 2013-11-06 09:36:33 -05:00
semanage Use $(PYTHON) instead of "python" in every Makefile 2014-10-02 09:56:49 -04:00
semodule policycoreutils: add semodule option to set store root path 2014-08-26 08:03:31 -04:00
semodule_deps Laurent Bigonville patch to fix various minor manpage issues and correct section numbering. 2013-10-24 13:58:37 -04:00
semodule_expand tree: Makefiles: syntax, convert all ${VAR} to $(VAR) 2011-11-02 15:37:08 -04:00
semodule_link tree: Makefiles: syntax, convert all ${VAR} to $(VAR) 2011-11-02 15:37:08 -04:00
semodule_package policycoreutils: fix most gcc -Wwrite-strings warnings 2014-10-02 09:56:34 -04:00
sepolgen-ifgen tree: Makefiles: syntax, convert all ${VAR} to $(VAR) 2011-11-02 15:37:08 -04:00
sepolicy Use $(PYTHON) instead of "python" in every Makefile 2014-10-02 09:56:49 -04:00
sestatus Laurent Bigonville patch to fix various minor manpage issues and correct section numbering. 2013-10-24 13:58:37 -04:00
setfiles Fix gcc -Wstrict-prototypes warnings 2014-10-02 09:56:38 -04:00
setsebool Cleanup whitespace 2013-11-08 15:52:11 -05:00
.gitignore policycoreutils: add a HLL compiler to convert policy packages (.pp) to CIL 2014-08-26 08:03:31 -04:00
ChangeLog Bump versions for r2 2014-08-27 11:47:04 -04:00
COPYING initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
Makefile policycoreutils: add a HLL compiler to convert policy packages (.pp) to CIL 2014-08-26 08:03:31 -04:00
VERSION Bump versions for r2 2014-08-27 11:47:04 -04:00