selinux/libsemanage/include/semanage
Stephen Smalley 0a515c4610 libsemanage: Add semanage_mls_enabled interface
Add a semanage_mls_enabled() interface to libsemanage so that
semanage/seobject can be rewritten to use it to test whether MLS is
enabled for a given policy store rather than checking the runtime MLS
enabled status, which can be misleading when using semanage on a
SELinux-disabled host or when using semanage on a store other than the
active one.  Sample usage:
	from semanage import *
	handle = semanage_handle_create()
	rc = semanage_connect(handle)
	rc = semanage_mls_enabled(handle)

Signed-off-by: Stephen Smalley <sds@tycho.nsa.gov>
2008-11-12 09:20:30 -05: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 semanage_mls_enabled interface 2008-11-12 09:20:30 -05: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 initial import from svn trunk revision 2950 2008-08-19 15:30:36 -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