selinux/libsemanage/include/semanage
Yuli Khodorkovskiy cae4a4c951 libsemanage: add support for HLL to CIL compilers
An HLL to CIL compiler must exist in the compiler_directory path which
is configubrable in semanage.conf. By default, this path is
/usr/libexec/selinux/hll/. The compiler name needs to match the HLL
language extension. For example, for pp files,
/usr/libexec/selinux/hll/pp must exist.

The HLL infrastructure uncompresses the HLL module and pipes the data to
the appropriate CIL compiler. The output CIL from the compiler is read
from another pipe, compressed, and saved to the module store as a cached
CIL file. This file will be used on all subsequent policy builds, unless
a new module is installed with the same name at the same priority, at
which point the cache is deleted and is subsequently rebuilt and cached.

A new option is added to semanage.conf, ignore_cache, which if set to
true will cause the cached CIL files to be ignored and all HLL files to
be recompiled and the resulting CIL to be recached.

Signed-off-by: Yuli Khodorkovskiy <ykhodorkovskiy@tresys.com>
2014-08-26 08:03:31 -04:00
..
boolean_record.h initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
booleans_active.h initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
booleans_local.h initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
booleans_policy.h initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
context_record.h initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
debug.h initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
fcontext_record.h initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
fcontexts_local.h initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
fcontexts_policy.h initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
handle.h libsemanage: add support for HLL to CIL compilers 2014-08-26 08:03:31 -04:00
iface_record.h initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
interfaces_local.h initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
interfaces_policy.h initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
modules.h libsemanage: update install functions to support CIL 2014-08-26 08:02:16 -04:00
node_record.h initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
nodes_local.h initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
nodes_policy.h initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
port_record.h initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
ports_local.h initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
ports_policy.h initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
semanage.h initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
seuser_record.h initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
seusers_local.h initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
seusers_policy.h initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
user_record.h initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
users_local.h initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
users_policy.h initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00