selinux/libsemanage/src
Xin Ouyang 18649484ee libsemanage: Fix segfault for building standard policies.
If you are building "standard" policies(not MCS/MLS), libsemanage
will crash, which caused by strdup() to "level" NULL pointers.
For example, semodule -s refpolicy -b base.pp -i a.pp

Signed-off-by: Eric Paris <eparis@redhat.com>
2012-09-12 21:15:53 -04:00
..
.gitignore libselinux: additional makefile support for rubywrap 2012-06-28 11:21:16 -04:00
boolean_internal.h initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
boolean_record.c libsemanage: do boolean name substitution 2012-09-12 13:17:30 -04:00
booleans_active.c initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
booleans_activedb.c initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
booleans_file.c initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
booleans_local.c initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
booleans_policy.c initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
booleans_policydb.c initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
conf-parse.y libsemanage: add ignoredirs config for genhomedircon 2011-12-21 12:25:28 -05:00
conf-scan.l libsemanage: add ignoredirs config for genhomedircon 2011-12-21 12:25:28 -05: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
database_activedb.c initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
database_activedb.h initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
database_file.c initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
database_file.h initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
database_join.c initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
database_join.h initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
database_llist.c Author: "Justin P. Mattock" 2010-12-08 18:16:42 -05:00
database_llist.h initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
database_policydb.c Author: "Justin P. Mattock" 2010-12-08 18:16:42 -05:00
database_policydb.h initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
database.c libsemanage: drop the -no-unused-parameter build flag 2011-08-01 13:40:20 -04:00
database.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:16:42 -05:00
debug.h initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
direct_api.c libsemanage: add ignoredirs config for genhomedircon 2011-12-21 12:25:28 -05:00
direct_api.h libsemanage: Enable configuration of bzip behavior 2009-08-05 08:33:34 -04:00
dso.h initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
exception.sh libsemanage: throw exceptions in python rather than return NULL 2011-08-11 23:35:52 -04:00
fcontext_internal.h initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
fcontext_record.c libsemanage: use after free in python bindings 2012-06-28 13:29:23 -04:00
fcontexts_file.c initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
fcontexts_local.c initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
fcontexts_policy.c initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
genhomedircon.c libsemanage: Fix segfault for building standard policies. 2012-09-12 21:15:53 -04:00
genhomedircon.h libsemanage: add ignoredirs config for genhomedircon 2011-12-21 12:25:28 -05:00
handle_internal.h libsemanage: introduce semanage_set_root and friends 2011-08-11 23:35:52 -04:00
handle.c libsemanage: Use default semanage.conf as a fallback 2012-06-28 13:29:23 -04:00
handle.h libsemanage: Alternate path for semanage.conf 2012-03-28 08:39:07 -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_file.c initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
interfaces_local.c initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
interfaces_policy.c initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
interfaces_policydb.c initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
libsemanage.map libsepol: libsemanage: policycoreutils: Create a new preserve_tunables flag in sepol_handle_t. 2011-09-16 11:54:02 -04:00
libsemanage.pc.in updated libselinux pkgconfig does not work correctly on lib64 machines. 2010-03-06 18:06:43 -05:00
Makefile libselinux: libsemanage: remove PYTHONLIBDIR and ruby equivalent 2012-09-12 12:16:19 -04:00
module_internal.h Last attempt at upstreaming semodule_disable patch. 2010-03-06 17:56:24 -05:00
modules.c Last attempt at upstreaming semodule_disable patch. 2010-03-06 17:56:24 -05:00
modules.h Last attempt at upstreaming semodule_disable patch. 2010-03-06 17:56:24 -05:00
node_internal.h initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
node_record.c initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
nodes_file.c initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
nodes_local.c initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
nodes_policy.c initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
nodes_policydb.c initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
parse_utils.c initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
parse_utils.h initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
policy_components.c initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
policy.h Last attempt at upstreaming semodule_disable patch. 2010-03-06 17:56:24 -05: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_file.c initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
ports_local.c initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
ports_policy.c initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
ports_policydb.c initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
pywrap-test.py initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
semanage_conf.h libsemanage: add ignoredirs config for genhomedircon 2011-12-21 12:25:28 -05:00
semanage_store.c libsemanage: semanage_store: fix snprintf length argument by using asprintf 2012-06-28 13:29:15 -04:00
semanage_store.h libsemanage: Alternate path for semanage.conf 2012-03-28 08:39:07 -04:00
semanage.conf initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
semanageswig_python.i libsemanage: throw exceptions in python rather than return NULL 2011-08-11 23:35:52 -04:00
semanageswig_ruby.i libsemanage: Add Ruby Bindings 2009-05-28 10:53:11 -04:00
semanageswig.i initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
seuser_internal.h initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
seuser_record.c initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
seusers_file.c initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
seusers_local.c initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
seusers_policy.c initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
user_base_record.c initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
user_extra_record.c initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04: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_base_file.c initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
users_base_policydb.c initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
users_extra_file.c initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
users_join.c initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
users_local.c initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
users_policy.c initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
utilities.c initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
utilities.h initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00