selinux/libsepol/src
Stephen Smalley 14eb8acb1a libsepol: fix policydb_read for policy versions < 24
Policy versions < 24 did not include type attributes in the types symtab,
so there can be holes in the type_val_to_struct array.  Fixes a segfault
during the downgrade test performed by a make test in libsepol.

Signed-off-by: Stephen Smalley <sds@tycho.nsa.gov>
2015-07-16 09:28:55 -04:00
..
assertion.c libsepol: Refactored neverallow checking. 2015-06-22 09:44:55 -04:00
av_permissions.h initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
avrule_block.c libsepol: coverity fixes 2013-02-05 20:14:45 -05:00
avtab.c checkpolicy: switch operations to extended perms 2015-06-15 09:21:20 -04:00
boolean_internal.h initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
boolean_record.c initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
booleans.c Author: "Justin P. Mattock" 2010-12-08 18:13:46 -05:00
conditional.c libsepol: Write and read TUNABLE flags in related data structures. 2011-09-16 11:54:01 -04:00
constraint.c initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
context_internal.h initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
context_record.c initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
context.c initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
context.h initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
debug.c Author: "Justin P. Mattock" 2010-12-08 18:13:46 -05:00
debug.h initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
dso.h libsepol: Don't use symbol versioning for static object files 2015-04-15 15:20:20 -04:00
ebitmap.c libsepol: Add new ebitmap function named ebitmap_match_any() 2015-06-22 09:44:55 -04:00
expand.c libsepol: Treat types like an attribute in the attr_type_map. 2015-06-22 09:44:55 -04:00
genbools.c libsepol: coverity fixes 2013-02-05 20:14:45 -05:00
genusers.c libsepol: coverity fixes 2013-02-05 20:14:45 -05:00
handle.c libsepol: libsemanage: policycoreutils: Create a new preserve_tunables flag in sepol_handle_t. 2011-09-16 11:54:02 -04:00
handle.h libsepol: libsemanage: policycoreutils: Create a new preserve_tunables flag in sepol_handle_t. 2011-09-16 11:54:02 -04:00
hashtab.c initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
hierarchy.c libsepol: Refactored bounds (hierarchy) checking code 2015-06-22 09:44:55 -04:00
iface_internal.h initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
iface_record.c initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
interfaces.c Author: "Justin P. Mattock" 2010-12-08 18:13:46 -05:00
libsepol.map.in libsepol: add function to generate CIL from a module policydb 2015-04-01 13:09:21 -04:00
libsepol.pc.in updated libselinux pkgconfig does not work correctly on lib64 machines. 2010-03-06 18:06:43 -05:00
link.c libsepol: bool_copy_callback set state on creation 2015-03-19 14:33:47 -04:00
Makefile Build libsepol with -O2 2015-01-15 10:44:01 -05:00
mls.c initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
mls.h initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
module_internal.h initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
module_to_cil.c libsepol: with pp to CIL, always write auditadm_r and secadm_r roles 2015-05-29 09:46:25 -04:00
module.c libsepol: coverity fixes 2013-02-05 20:14:45 -05:00
node_internal.h initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
node_record.c libsepol: Android/MacOS X build support 2012-06-28 11:21:15 -04:00
nodes.c Author: "Justin P. Mattock" 2010-12-08 18:13:46 -05:00
polcaps.c libsepol: Add always_check_network policy capability 2012-09-12 14:30:24 -04:00
policydb_convert.c libsepol: Fix memory leak issues found by Klocwork 2013-02-05 20:14:50 -05:00
policydb_internal.h libsepol: fix most gcc -Wwrite-strings warnings 2014-10-02 09:56:15 -04:00
policydb_public.c libsepol: add function to libsepol for setting target_platform 2014-08-26 08:02:16 -04:00
policydb.c libsepol: fix policydb_read for policy versions < 24 2015-07-16 09:28:55 -04:00
port_internal.h initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
port_record.c initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
ports.c Author: "Justin P. Mattock" 2010-12-08 18:13:46 -05:00
private.h libsepol: Android/MacOS X build support 2012-06-28 11:21:15 -04:00
roles.c Author: "Justin P. Mattock" 2010-12-08 18:13:46 -05:00
services.c libsepol: fix most gcc -Wwrite-strings warnings 2014-10-02 09:56:15 -04:00
sidtab.c initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
symtab.c libsepol: Fix memory leak issues found by Klocwork 2013-02-05 20:14:50 -05:00
user_internal.h initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
user_record.c initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
users.c Add role attribute support when expanding role_set_t. 2011-07-25 10:09:43 -04:00
util.c initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
write.c checkpolicy: switch operations to extended perms 2015-06-15 09:21:20 -04:00