Go to file
Manoj Srivastava 98455c5524 sepolgen: fix detection of policy loads
I am running into an issue with sepolgen. Debian ships more
than one version of the refpolicy, a default one, and a MLS enabled
one. So, the include files live in either
/usr/share/selinux/{default,mls}/include sepolgen (in
src/sepolgen/defaults.py) sets refpolicy_devel() to a single
location -- and thus, only one version of the security policy may be
supported. So, sepolgen-ifgen from policycoreutils can only work
with one policy, which may not be the one installed on the target
machine. Could this be made configurable, somehow? As far as I can
see, sepolgen's python library does not offer any way to set the
value. This change fixes that. Now you may set the path to look for
development headers in /etc/selinux/sepolgen.conf, in the variable
SELINUX_DEVEL_PATH. The builtin default will have it work on Debian
and fedora machines out of the box.

Signed-off-by: Laurent Bigonville bigon@debian.org
Signed-off-by: Eric Paris <eparis@redhat.com>
Acked-by: Dan Walsh <dwalsh@redhat.com>
2012-03-28 14:52:13 -04:00
checkpolicy checkpolicy: libselinux: Fix dead links to www.nsa.gov/selinux 2012-03-28 08:39:07 -04:00
libselinux libselinux: take security_deny_unknown into account 2012-03-28 14:52:13 -04:00
libsemanage libsemanage: Alternate path for semanage.conf 2012-03-28 08:39:07 -04:00
libsepol libsepol: checkpolicy: implement new default labeling behaviors 2012-03-27 16:49:31 -04:00
policycoreutils policycoreutils: newrole: Use correct capng calls in newrole 2012-03-28 14:52:13 -04:00
scripts release script 2009-03-12 01:23:32 -04:00
sepolgen sepolgen: fix detection of policy loads 2012-03-28 14:52:13 -04:00
.gitignore .gitignore: More files to ignore 2011-09-16 11:54:04 -04:00
Makefile global: Makefile: create global 'all' target 2011-08-26 14:27:57 -04:00