Mini Shell
# This file was automatically generated by SWIG (http://www.swig.org).
# Version 3.0.12
#
# Do not make changes to this file unless you know what you are doing--modify
# the SWIG interface file instead.
from sys import version_info as _swig_python_version_info
if _swig_python_version_info >= (2, 7, 0):
def swig_import_helper():
import importlib
pkg = __name__.rpartition('.')[0]
mname = '.'.join((pkg, '_semanage')).lstrip('.')
try:
return importlib.import_module(mname)
except ImportError:
return importlib.import_module('_semanage')
_semanage = swig_import_helper()
del swig_import_helper
elif _swig_python_version_info >= (2, 6, 0):
def swig_import_helper():
from os.path import dirname
import imp
fp = None
try:
fp, pathname, description = imp.find_module('_semanage', [dirname(__file__)])
except ImportError:
import _semanage
return _semanage
try:
_mod = imp.load_module('_semanage', fp, pathname, description)
finally:
if fp is not None:
fp.close()
return _mod
_semanage = swig_import_helper()
del swig_import_helper
else:
import _semanage
del _swig_python_version_info
try:
_swig_property = property
except NameError:
pass # Python < 2.2 doesn't have 'property'.
try:
import builtins as __builtin__
except ImportError:
import __builtin__
def _swig_setattr_nondynamic(self, class_type, name, value, static=1):
if (name == "thisown"):
return self.this.own(value)
if (name == "this"):
if type(value).__name__ == 'SwigPyObject':
self.__dict__[name] = value
return
method = class_type.__swig_setmethods__.get(name, None)
if method:
return method(self, value)
if (not static):
if _newclass:
object.__setattr__(self, name, value)
else:
self.__dict__[name] = value
else:
raise AttributeError("You cannot add attributes to %s" % self)
def _swig_setattr(self, class_type, name, value):
return _swig_setattr_nondynamic(self, class_type, name, value, 0)
def _swig_getattr(self, class_type, name):
if (name == "thisown"):
return self.this.own()
method = class_type.__swig_getmethods__.get(name, None)
if method:
return method(self)
raise AttributeError("'%s' object has no attribute '%s'" % (class_type.__name__, name))
def _swig_repr(self):
try:
strthis = "proxy of " + self.this.__repr__()
except __builtin__.Exception:
strthis = ""
return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,)
try:
_object = object
_newclass = 1
except __builtin__.Exception:
class _object:
pass
_newclass = 0
SEMANAGE_MSG_ERR = _semanage.SEMANAGE_MSG_ERR
SEMANAGE_MSG_WARN = _semanage.SEMANAGE_MSG_WARN
SEMANAGE_MSG_INFO = _semanage.SEMANAGE_MSG_INFO
def semanage_msg_get_level(handle):
return _semanage.semanage_msg_get_level(handle)
semanage_msg_get_level = _semanage.semanage_msg_get_level
def semanage_msg_get_channel(handle):
return _semanage.semanage_msg_get_channel(handle)
semanage_msg_get_channel = _semanage.semanage_msg_get_channel
def semanage_msg_get_fname(handle):
return _semanage.semanage_msg_get_fname(handle)
semanage_msg_get_fname = _semanage.semanage_msg_get_fname
def semanage_msg_set_callback(handle, msg_callback, msg_callback_arg):
return _semanage.semanage_msg_set_callback(handle, msg_callback, msg_callback_arg)
semanage_msg_set_callback = _semanage.semanage_msg_set_callback
def semanage_handle_create():
return _semanage.semanage_handle_create()
semanage_handle_create = _semanage.semanage_handle_create
def semanage_handle_destroy(arg1):
return _semanage.semanage_handle_destroy(arg1)
semanage_handle_destroy = _semanage.semanage_handle_destroy
SEMANAGE_CON_INVALID = _semanage.SEMANAGE_CON_INVALID
SEMANAGE_CON_DIRECT = _semanage.SEMANAGE_CON_DIRECT
SEMANAGE_CON_POLSERV_LOCAL = _semanage.SEMANAGE_CON_POLSERV_LOCAL
SEMANAGE_CON_POLSERV_REMOTE = _semanage.SEMANAGE_CON_POLSERV_REMOTE
def semanage_select_store(handle, path, storetype):
return _semanage.semanage_select_store(handle, path, storetype)
semanage_select_store = _semanage.semanage_select_store
def semanage_reload_policy(handle):
return _semanage.semanage_reload_policy(handle)
semanage_reload_policy = _semanage.semanage_reload_policy
def semanage_set_reload(handle, do_reload):
return _semanage.semanage_set_reload(handle, do_reload)
semanage_set_reload = _semanage.semanage_set_reload
def semanage_set_rebuild(handle, do_rebuild):
return _semanage.semanage_set_rebuild(handle, do_rebuild)
semanage_set_rebuild = _semanage.semanage_set_rebuild
def semanage_set_check_ext_changes(handle, do_check):
return _semanage.semanage_set_check_ext_changes(handle, do_check)
semanage_set_check_ext_changes = _semanage.semanage_set_check_ext_changes
def semanage_get_hll_compiler_path(sh, lang_ext):
return _semanage.semanage_get_hll_compiler_path(sh, lang_ext)
semanage_get_hll_compiler_path = _semanage.semanage_get_hll_compiler_path
def semanage_set_create_store(handle, create_store):
return _semanage.semanage_set_create_store(handle, create_store)
semanage_set_create_store = _semanage.semanage_set_create_store
def semanage_get_disable_dontaudit(handle):
return _semanage.semanage_get_disable_dontaudit(handle)
semanage_get_disable_dontaudit = _semanage.semanage_get_disable_dontaudit
def semanage_set_disable_dontaudit(handle, disable_dontaudit):
return _semanage.semanage_set_disable_dontaudit(handle, disable_dontaudit)
semanage_set_disable_dontaudit = _semanage.semanage_set_disable_dontaudit
def semanage_set_check_contexts(sh, do_check_contexts):
return _semanage.semanage_set_check_contexts(sh, do_check_contexts)
semanage_set_check_contexts = _semanage.semanage_set_check_contexts
def semanage_get_default_priority(sh):
return _semanage.semanage_get_default_priority(sh)
semanage_get_default_priority = _semanage.semanage_get_default_priority
def semanage_set_default_priority(sh, priority):
return _semanage.semanage_set_default_priority(sh, priority)
semanage_set_default_priority = _semanage.semanage_set_default_priority
def semanage_is_managed(arg1):
return _semanage.semanage_is_managed(arg1)
semanage_is_managed = _semanage.semanage_is_managed
def semanage_connect(arg1):
return _semanage.semanage_connect(arg1)
semanage_connect = _semanage.semanage_connect
def semanage_disconnect(arg1):
return _semanage.semanage_disconnect(arg1)
semanage_disconnect = _semanage.semanage_disconnect
def semanage_begin_transaction(arg1):
return _semanage.semanage_begin_transaction(arg1)
semanage_begin_transaction = _semanage.semanage_begin_transaction
def semanage_commit(arg1):
return _semanage.semanage_commit(arg1)
semanage_commit = _semanage.semanage_commit
SEMANAGE_CAN_READ = _semanage.SEMANAGE_CAN_READ
SEMANAGE_CAN_WRITE = _semanage.SEMANAGE_CAN_WRITE
def semanage_access_check(sh):
return _semanage.semanage_access_check(sh)
semanage_access_check = _semanage.semanage_access_check
def semanage_is_connected(sh):
return _semanage.semanage_is_connected(sh)
semanage_is_connected = _semanage.semanage_is_connected
def semanage_mls_enabled(sh):
return _semanage.semanage_mls_enabled(sh)
semanage_mls_enabled = _semanage.semanage_mls_enabled
def semanage_set_root(path):
return _semanage.semanage_set_root(path)
semanage_set_root = _semanage.semanage_set_root
def semanage_root():
return _semanage.semanage_root()
semanage_root = _semanage.semanage_root
def semanage_get_preserve_tunables(handle):
return _semanage.semanage_get_preserve_tunables(handle)
semanage_get_preserve_tunables = _semanage.semanage_get_preserve_tunables
def semanage_set_preserve_tunables(handle, preserve_tunables):
return _semanage.semanage_set_preserve_tunables(handle, preserve_tunables)
semanage_set_preserve_tunables = _semanage.semanage_set_preserve_tunables
def semanage_get_ignore_module_cache(handle):
return _semanage.semanage_get_ignore_module_cache(handle)
semanage_get_ignore_module_cache = _semanage.semanage_get_ignore_module_cache
def semanage_set_ignore_module_cache(handle, ignore_module_cache):
return _semanage.semanage_set_ignore_module_cache(handle, ignore_module_cache)
semanage_set_ignore_module_cache = _semanage.semanage_set_ignore_module_cache
def semanage_set_store_root(sh, store_root):
return _semanage.semanage_set_store_root(sh, store_root)
semanage_set_store_root = _semanage.semanage_set_store_root
def semanage_module_install(arg1, module_data, data_len, name, ext_lang):
return _semanage.semanage_module_install(arg1, module_data, data_len, name, ext_lang)
semanage_module_install = _semanage.semanage_module_install
def semanage_module_install_file(arg1, module_name):
return _semanage.semanage_module_install_file(arg1, module_name)
semanage_module_install_file = _semanage.semanage_module_install_file
def semanage_module_remove(arg1, module_name):
return _semanage.semanage_module_remove(arg1, module_name)
semanage_module_remove = _semanage.semanage_module_remove
def semanage_module_extract(sh, modkey, extract_cil):
return _semanage.semanage_module_extract(sh, modkey, extract_cil)
semanage_module_extract = _semanage.semanage_module_extract
def semanage_module_list(arg1):
return _semanage.semanage_module_list(arg1)
semanage_module_list = _semanage.semanage_module_list
def semanage_module_info_datum_destroy(arg1):
return _semanage.semanage_module_info_datum_destroy(arg1)
semanage_module_info_datum_destroy = _semanage.semanage_module_info_datum_destroy
def semanage_module_list_nth(list, n):
return _semanage.semanage_module_list_nth(list, n)
semanage_module_list_nth = _semanage.semanage_module_list_nth
def semanage_module_get_name(arg1):
return _semanage.semanage_module_get_name(arg1)
semanage_module_get_name = _semanage.semanage_module_get_name
def semanage_module_info_create(sh):
return _semanage.semanage_module_info_create(sh)
semanage_module_info_create = _semanage.semanage_module_info_create
def semanage_module_info_destroy(handle, modinfo):
return _semanage.semanage_module_info_destroy(handle, modinfo)
semanage_module_info_destroy = _semanage.semanage_module_info_destroy
def semanage_module_info_get_priority(sh, modinfo):
return _semanage.semanage_module_info_get_priority(sh, modinfo)
semanage_module_info_get_priority = _semanage.semanage_module_info_get_priority
def semanage_module_info_get_name(sh, modinfo):
return _semanage.semanage_module_info_get_name(sh, modinfo)
semanage_module_info_get_name = _semanage.semanage_module_info_get_name
def semanage_module_info_get_lang_ext(sh, modinfo):
return _semanage.semanage_module_info_get_lang_ext(sh, modinfo)
semanage_module_info_get_lang_ext = _semanage.semanage_module_info_get_lang_ext
def semanage_module_info_get_enabled(sh, modinfo):
return _semanage.semanage_module_info_get_enabled(sh, modinfo)
semanage_module_info_get_enabled = _semanage.semanage_module_info_get_enabled
def semanage_module_info_set_priority(sh, modinfo, priority):
return _semanage.semanage_module_info_set_priority(sh, modinfo, priority)
semanage_module_info_set_priority = _semanage.semanage_module_info_set_priority
def semanage_module_info_set_name(sh, modinfo, name):
return _semanage.semanage_module_info_set_name(sh, modinfo, name)
semanage_module_info_set_name = _semanage.semanage_module_info_set_name
def semanage_module_info_set_lang_ext(sh, modinfo, lang_ext):
return _semanage.semanage_module_info_set_lang_ext(sh, modinfo, lang_ext)
semanage_module_info_set_lang_ext = _semanage.semanage_module_info_set_lang_ext
def semanage_module_info_set_enabled(sh, modinfo, enabled):
return _semanage.semanage_module_info_set_enabled(sh, modinfo, enabled)
semanage_module_info_set_enabled = _semanage.semanage_module_info_set_enabled
def semanage_module_key_create(sh):
return _semanage.semanage_module_key_create(sh)
semanage_module_key_create = _semanage.semanage_module_key_create
def semanage_module_key_destroy(sh, modkey):
return _semanage.semanage_module_key_destroy(sh, modkey)
semanage_module_key_destroy = _semanage.semanage_module_key_destroy
def semanage_module_key_get_name(sh, modkey):
return _semanage.semanage_module_key_get_name(sh, modkey)
semanage_module_key_get_name = _semanage.semanage_module_key_get_name
def semanage_module_key_get_priority(sh, modkey):
return _semanage.semanage_module_key_get_priority(sh, modkey)
semanage_module_key_get_priority = _semanage.semanage_module_key_get_priority
def semanage_module_key_set_name(sh, modkey, name):
return _semanage.semanage_module_key_set_name(sh, modkey, name)
semanage_module_key_set_name = _semanage.semanage_module_key_set_name
def semanage_module_key_set_priority(sh, modkey, priority):
return _semanage.semanage_module_key_set_priority(sh, modkey, priority)
semanage_module_key_set_priority = _semanage.semanage_module_key_set_priority
def semanage_module_set_enabled(sh, modkey, enabled):
return _semanage.semanage_module_set_enabled(sh, modkey, enabled)
semanage_module_set_enabled = _semanage.semanage_module_set_enabled
def semanage_module_get_module_info(sh, modkey):
return _semanage.semanage_module_get_module_info(sh, modkey)
semanage_module_get_module_info = _semanage.semanage_module_get_module_info
def semanage_module_list_all(sh):
return _semanage.semanage_module_list_all(sh)
semanage_module_list_all = _semanage.semanage_module_list_all
def semanage_module_install_info(sh, modinfo, data, data_len):
return _semanage.semanage_module_install_info(sh, modinfo, data, data_len)
semanage_module_install_info = _semanage.semanage_module_install_info
def semanage_module_remove_key(sh, modkey):
return _semanage.semanage_module_remove_key(sh, modkey)
semanage_module_remove_key = _semanage.semanage_module_remove_key
def semanage_module_get_enabled(sh, modkey):
return _semanage.semanage_module_get_enabled(sh, modkey)
semanage_module_get_enabled = _semanage.semanage_module_get_enabled
def semanage_module_compute_checksum(sh, modkey, cil):
return _semanage.semanage_module_compute_checksum(sh, modkey, cil)
semanage_module_compute_checksum = _semanage.semanage_module_compute_checksum
def semanage_context_get_user(con):
return _semanage.semanage_context_get_user(con)
semanage_context_get_user = _semanage.semanage_context_get_user
def semanage_context_set_user(handle, con, user):
return _semanage.semanage_context_set_user(handle, con, user)
semanage_context_set_user = _semanage.semanage_context_set_user
def semanage_context_get_role(con):
return _semanage.semanage_context_get_role(con)
semanage_context_get_role = _semanage.semanage_context_get_role
def semanage_context_set_role(handle, con, role):
return _semanage.semanage_context_set_role(handle, con, role)
semanage_context_set_role = _semanage.semanage_context_set_role
def semanage_context_get_type(con):
return _semanage.semanage_context_get_type(con)
semanage_context_get_type = _semanage.semanage_context_get_type
def semanage_context_set_type(handle, con, type):
return _semanage.semanage_context_set_type(handle, con, type)
semanage_context_set_type = _semanage.semanage_context_set_type
def semanage_context_get_mls(con):
return _semanage.semanage_context_get_mls(con)
semanage_context_get_mls = _semanage.semanage_context_get_mls
def semanage_context_set_mls(handle, con, mls_range):
return _semanage.semanage_context_set_mls(handle, con, mls_range)
semanage_context_set_mls = _semanage.semanage_context_set_mls
def semanage_context_create(handle):
return _semanage.semanage_context_create(handle)
semanage_context_create = _semanage.semanage_context_create
def semanage_context_clone(handle, con):
return _semanage.semanage_context_clone(handle, con)
semanage_context_clone = _semanage.semanage_context_clone
def semanage_context_free(con):
return _semanage.semanage_context_free(con)
semanage_context_free = _semanage.semanage_context_free
def semanage_context_from_string(handle, str):
return _semanage.semanage_context_from_string(handle, str)
semanage_context_from_string = _semanage.semanage_context_from_string
def semanage_context_to_string(handle, con):
return _semanage.semanage_context_to_string(handle, con)
semanage_context_to_string = _semanage.semanage_context_to_string
def semanage_bool_key_create(handle, name):
return _semanage.semanage_bool_key_create(handle, name)
semanage_bool_key_create = _semanage.semanage_bool_key_create
def semanage_bool_key_extract(handle, boolean):
return _semanage.semanage_bool_key_extract(handle, boolean)
semanage_bool_key_extract = _semanage.semanage_bool_key_extract
def semanage_bool_key_free(key):
return _semanage.semanage_bool_key_free(key)
semanage_bool_key_free = _semanage.semanage_bool_key_free
def semanage_bool_compare(boolean, key):
return _semanage.semanage_bool_compare(boolean, key)
semanage_bool_compare = _semanage.semanage_bool_compare
def semanage_bool_compare2(boolean, boolean2):
return _semanage.semanage_bool_compare2(boolean, boolean2)
semanage_bool_compare2 = _semanage.semanage_bool_compare2
def semanage_bool_get_name(boolean):
return _semanage.semanage_bool_get_name(boolean)
semanage_bool_get_name = _semanage.semanage_bool_get_name
def semanage_bool_set_name(handle, boolean, name):
return _semanage.semanage_bool_set_name(handle, boolean, name)
semanage_bool_set_name = _semanage.semanage_bool_set_name
def semanage_bool_get_value(boolean):
return _semanage.semanage_bool_get_value(boolean)
semanage_bool_get_value = _semanage.semanage_bool_get_value
def semanage_bool_set_value(boolean, value):
return _semanage.semanage_bool_set_value(boolean, value)
semanage_bool_set_value = _semanage.semanage_bool_set_value
def semanage_bool_create(handle):
return _semanage.semanage_bool_create(handle)
semanage_bool_create = _semanage.semanage_bool_create
def semanage_bool_clone(handle, boolean):
return _semanage.semanage_bool_clone(handle, boolean)
semanage_bool_clone = _semanage.semanage_bool_clone
def semanage_bool_free(boolean):
return _semanage.semanage_bool_free(boolean)
semanage_bool_free = _semanage.semanage_bool_free
def semanage_bool_query(handle, key):
return _semanage.semanage_bool_query(handle, key)
semanage_bool_query = _semanage.semanage_bool_query
def semanage_bool_exists(handle, key):
return _semanage.semanage_bool_exists(handle, key)
semanage_bool_exists = _semanage.semanage_bool_exists
def semanage_bool_count(handle):
return _semanage.semanage_bool_count(handle)
semanage_bool_count = _semanage.semanage_bool_count
def semanage_bool_iterate(handle, handler, handler_arg):
return _semanage.semanage_bool_iterate(handle, handler, handler_arg)
semanage_bool_iterate = _semanage.semanage_bool_iterate
def semanage_bool_list(handle):
return _semanage.semanage_bool_list(handle)
semanage_bool_list = _semanage.semanage_bool_list
def semanage_bool_modify_local(handle, key, data):
return _semanage.semanage_bool_modify_local(handle, key, data)
semanage_bool_modify_local = _semanage.semanage_bool_modify_local
def semanage_bool_del_local(handle, key):
return _semanage.semanage_bool_del_local(handle, key)
semanage_bool_del_local = _semanage.semanage_bool_del_local
def semanage_bool_query_local(handle, key):
return _semanage.semanage_bool_query_local(handle, key)
semanage_bool_query_local = _semanage.semanage_bool_query_local
def semanage_bool_exists_local(handle, key):
return _semanage.semanage_bool_exists_local(handle, key)
semanage_bool_exists_local = _semanage.semanage_bool_exists_local
def semanage_bool_count_local(handle):
return _semanage.semanage_bool_count_local(handle)
semanage_bool_count_local = _semanage.semanage_bool_count_local
def semanage_bool_iterate_local(handle, handler, handler_arg):
return _semanage.semanage_bool_iterate_local(handle, handler, handler_arg)
semanage_bool_iterate_local = _semanage.semanage_bool_iterate_local
def semanage_bool_list_local(handle):
return _semanage.semanage_bool_list_local(handle)
semanage_bool_list_local = _semanage.semanage_bool_list_local
def semanage_bool_set_active(handle, key, data):
return _semanage.semanage_bool_set_active(handle, key, data)
semanage_bool_set_active = _semanage.semanage_bool_set_active
def semanage_bool_query_active(handle, key):
return _semanage.semanage_bool_query_active(handle, key)
semanage_bool_query_active = _semanage.semanage_bool_query_active
def semanage_bool_exists_active(handle, key):
return _semanage.semanage_bool_exists_active(handle, key)
semanage_bool_exists_active = _semanage.semanage_bool_exists_active
def semanage_bool_count_active(handle):
return _semanage.semanage_bool_count_active(handle)
semanage_bool_count_active = _semanage.semanage_bool_count_active
def semanage_bool_iterate_active(handle, handler, handler_arg):
return _semanage.semanage_bool_iterate_active(handle, handler, handler_arg)
semanage_bool_iterate_active = _semanage.semanage_bool_iterate_active
def semanage_bool_list_active(handle):
return _semanage.semanage_bool_list_active(handle)
semanage_bool_list_active = _semanage.semanage_bool_list_active
def semanage_iface_compare(iface, key):
return _semanage.semanage_iface_compare(iface, key)
semanage_iface_compare = _semanage.semanage_iface_compare
def semanage_iface_compare2(iface, iface2):
return _semanage.semanage_iface_compare2(iface, iface2)
semanage_iface_compare2 = _semanage.semanage_iface_compare2
def semanage_iface_key_create(handle, name):
return _semanage.semanage_iface_key_create(handle, name)
semanage_iface_key_create = _semanage.semanage_iface_key_create
def semanage_iface_key_extract(handle, iface):
return _semanage.semanage_iface_key_extract(handle, iface)
semanage_iface_key_extract = _semanage.semanage_iface_key_extract
def semanage_iface_key_free(key):
return _semanage.semanage_iface_key_free(key)
semanage_iface_key_free = _semanage.semanage_iface_key_free
def semanage_iface_get_name(iface):
return _semanage.semanage_iface_get_name(iface)
semanage_iface_get_name = _semanage.semanage_iface_get_name
def semanage_iface_set_name(handle, iface, name):
return _semanage.semanage_iface_set_name(handle, iface, name)
semanage_iface_set_name = _semanage.semanage_iface_set_name
def semanage_iface_get_ifcon(iface):
return _semanage.semanage_iface_get_ifcon(iface)
semanage_iface_get_ifcon = _semanage.semanage_iface_get_ifcon
def semanage_iface_set_ifcon(handle, iface, con):
return _semanage.semanage_iface_set_ifcon(handle, iface, con)
semanage_iface_set_ifcon = _semanage.semanage_iface_set_ifcon
def semanage_iface_get_msgcon(iface):
return _semanage.semanage_iface_get_msgcon(iface)
semanage_iface_get_msgcon = _semanage.semanage_iface_get_msgcon
def semanage_iface_set_msgcon(handle, iface, con):
return _semanage.semanage_iface_set_msgcon(handle, iface, con)
semanage_iface_set_msgcon = _semanage.semanage_iface_set_msgcon
def semanage_iface_create(handle):
return _semanage.semanage_iface_create(handle)
semanage_iface_create = _semanage.semanage_iface_create
def semanage_iface_clone(handle, iface):
return _semanage.semanage_iface_clone(handle, iface)
semanage_iface_clone = _semanage.semanage_iface_clone
def semanage_iface_free(iface):
return _semanage.semanage_iface_free(iface)
semanage_iface_free = _semanage.semanage_iface_free
def semanage_iface_modify_local(handle, key, data):
return _semanage.semanage_iface_modify_local(handle, key, data)
semanage_iface_modify_local = _semanage.semanage_iface_modify_local
def semanage_iface_del_local(handle, key):
return _semanage.semanage_iface_del_local(handle, key)
semanage_iface_del_local = _semanage.semanage_iface_del_local
def semanage_iface_query_local(handle, key):
return _semanage.semanage_iface_query_local(handle, key)
semanage_iface_query_local = _semanage.semanage_iface_query_local
def semanage_iface_exists_local(handle, key):
return _semanage.semanage_iface_exists_local(handle, key)
semanage_iface_exists_local = _semanage.semanage_iface_exists_local
def semanage_iface_count_local(handle):
return _semanage.semanage_iface_count_local(handle)
semanage_iface_count_local = _semanage.semanage_iface_count_local
def semanage_iface_iterate_local(handle, handler, handler_arg):
return _semanage.semanage_iface_iterate_local(handle, handler, handler_arg)
semanage_iface_iterate_local = _semanage.semanage_iface_iterate_local
def semanage_iface_list_local(handle):
return _semanage.semanage_iface_list_local(handle)
semanage_iface_list_local = _semanage.semanage_iface_list_local
def semanage_iface_query(handle, key):
return _semanage.semanage_iface_query(handle, key)
semanage_iface_query = _semanage.semanage_iface_query
def semanage_iface_exists(handle, key):
return _semanage.semanage_iface_exists(handle, key)
semanage_iface_exists = _semanage.semanage_iface_exists
def semanage_iface_count(handle):
return _semanage.semanage_iface_count(handle)
semanage_iface_count = _semanage.semanage_iface_count
def semanage_iface_iterate(handle, handler, handler_arg):
return _semanage.semanage_iface_iterate(handle, handler, handler_arg)
semanage_iface_iterate = _semanage.semanage_iface_iterate
def semanage_iface_list(handle):
return _semanage.semanage_iface_list(handle)
semanage_iface_list = _semanage.semanage_iface_list
def semanage_user_key_create(handle, name):
return _semanage.semanage_user_key_create(handle, name)
semanage_user_key_create = _semanage.semanage_user_key_create
def semanage_user_key_extract(handle, user):
return _semanage.semanage_user_key_extract(handle, user)
semanage_user_key_extract = _semanage.semanage_user_key_extract
def semanage_user_key_free(key):
return _semanage.semanage_user_key_free(key)
semanage_user_key_free = _semanage.semanage_user_key_free
def semanage_user_compare(user, key):
return _semanage.semanage_user_compare(user, key)
semanage_user_compare = _semanage.semanage_user_compare
def semanage_user_compare2(user, user2):
return _semanage.semanage_user_compare2(user, user2)
semanage_user_compare2 = _semanage.semanage_user_compare2
def semanage_user_get_name(user):
return _semanage.semanage_user_get_name(user)
semanage_user_get_name = _semanage.semanage_user_get_name
def semanage_user_set_name(handle, user, name):
return _semanage.semanage_user_set_name(handle, user, name)
semanage_user_set_name = _semanage.semanage_user_set_name
def semanage_user_get_prefix(user):
return _semanage.semanage_user_get_prefix(user)
semanage_user_get_prefix = _semanage.semanage_user_get_prefix
def semanage_user_set_prefix(handle, user, name):
return _semanage.semanage_user_set_prefix(handle, user, name)
semanage_user_set_prefix = _semanage.semanage_user_set_prefix
def semanage_user_get_mlslevel(user):
return _semanage.semanage_user_get_mlslevel(user)
semanage_user_get_mlslevel = _semanage.semanage_user_get_mlslevel
def semanage_user_set_mlslevel(handle, user, mls_level):
return _semanage.semanage_user_set_mlslevel(handle, user, mls_level)
semanage_user_set_mlslevel = _semanage.semanage_user_set_mlslevel
def semanage_user_get_mlsrange(user):
return _semanage.semanage_user_get_mlsrange(user)
semanage_user_get_mlsrange = _semanage.semanage_user_get_mlsrange
def semanage_user_set_mlsrange(handle, user, mls_range):
return _semanage.semanage_user_set_mlsrange(handle, user, mls_range)
semanage_user_set_mlsrange = _semanage.semanage_user_set_mlsrange
def semanage_user_get_num_roles(user):
return _semanage.semanage_user_get_num_roles(user)
semanage_user_get_num_roles = _semanage.semanage_user_get_num_roles
def semanage_user_add_role(handle, user, role):
return _semanage.semanage_user_add_role(handle, user, role)
semanage_user_add_role = _semanage.semanage_user_add_role
def semanage_user_del_role(user, role):
return _semanage.semanage_user_del_role(user, role)
semanage_user_del_role = _semanage.semanage_user_del_role
def semanage_user_has_role(user, role):
return _semanage.semanage_user_has_role(user, role)
semanage_user_has_role = _semanage.semanage_user_has_role
def semanage_user_get_roles(handle, user):
return _semanage.semanage_user_get_roles(handle, user)
semanage_user_get_roles = _semanage.semanage_user_get_roles
def semanage_user_set_roles(handle, user, num_roles):
return _semanage.semanage_user_set_roles(handle, user, num_roles)
semanage_user_set_roles = _semanage.semanage_user_set_roles
def semanage_user_create(handle):
return _semanage.semanage_user_create(handle)
semanage_user_create = _semanage.semanage_user_create
def semanage_user_clone(handle, user):
return _semanage.semanage_user_clone(handle, user)
semanage_user_clone = _semanage.semanage_user_clone
def semanage_user_free(user):
return _semanage.semanage_user_free(user)
semanage_user_free = _semanage.semanage_user_free
def semanage_user_modify_local(handle, key, data):
return _semanage.semanage_user_modify_local(handle, key, data)
semanage_user_modify_local = _semanage.semanage_user_modify_local
def semanage_user_del_local(handle, key):
return _semanage.semanage_user_del_local(handle, key)
semanage_user_del_local = _semanage.semanage_user_del_local
def semanage_user_query_local(handle, key):
return _semanage.semanage_user_query_local(handle, key)
semanage_user_query_local = _semanage.semanage_user_query_local
def semanage_user_exists_local(handle, key):
return _semanage.semanage_user_exists_local(handle, key)
semanage_user_exists_local = _semanage.semanage_user_exists_local
def semanage_user_count_local(handle):
return _semanage.semanage_user_count_local(handle)
semanage_user_count_local = _semanage.semanage_user_count_local
def semanage_user_iterate_local(handle, handler, handler_arg):
return _semanage.semanage_user_iterate_local(handle, handler, handler_arg)
semanage_user_iterate_local = _semanage.semanage_user_iterate_local
def semanage_user_list_local(handle):
return _semanage.semanage_user_list_local(handle)
semanage_user_list_local = _semanage.semanage_user_list_local
def semanage_user_query(handle, key):
return _semanage.semanage_user_query(handle, key)
semanage_user_query = _semanage.semanage_user_query
def semanage_user_exists(handle, key):
return _semanage.semanage_user_exists(handle, key)
semanage_user_exists = _semanage.semanage_user_exists
def semanage_user_count(handle):
return _semanage.semanage_user_count(handle)
semanage_user_count = _semanage.semanage_user_count
def semanage_user_iterate(handle, handler, handler_arg):
return _semanage.semanage_user_iterate(handle, handler, handler_arg)
semanage_user_iterate = _semanage.semanage_user_iterate
def semanage_user_list(handle):
return _semanage.semanage_user_list(handle)
semanage_user_list = _semanage.semanage_user_list
SEMANAGE_PROTO_UDP = _semanage.SEMANAGE_PROTO_UDP
SEMANAGE_PROTO_TCP = _semanage.SEMANAGE_PROTO_TCP
SEMANAGE_PROTO_DCCP = _semanage.SEMANAGE_PROTO_DCCP
SEMANAGE_PROTO_SCTP = _semanage.SEMANAGE_PROTO_SCTP
def semanage_port_compare(port, key):
return _semanage.semanage_port_compare(port, key)
semanage_port_compare = _semanage.semanage_port_compare
def semanage_port_compare2(port, port2):
return _semanage.semanage_port_compare2(port, port2)
semanage_port_compare2 = _semanage.semanage_port_compare2
def semanage_port_key_create(handle, low, high, proto):
return _semanage.semanage_port_key_create(handle, low, high, proto)
semanage_port_key_create = _semanage.semanage_port_key_create
def semanage_port_key_extract(handle, port):
return _semanage.semanage_port_key_extract(handle, port)
semanage_port_key_extract = _semanage.semanage_port_key_extract
def semanage_port_key_free(key):
return _semanage.semanage_port_key_free(key)
semanage_port_key_free = _semanage.semanage_port_key_free
def semanage_port_get_proto(port):
return _semanage.semanage_port_get_proto(port)
semanage_port_get_proto = _semanage.semanage_port_get_proto
def semanage_port_set_proto(port, proto):
return _semanage.semanage_port_set_proto(port, proto)
semanage_port_set_proto = _semanage.semanage_port_set_proto
def semanage_port_get_proto_str(proto):
return _semanage.semanage_port_get_proto_str(proto)
semanage_port_get_proto_str = _semanage.semanage_port_get_proto_str
def semanage_port_get_low(port):
return _semanage.semanage_port_get_low(port)
semanage_port_get_low = _semanage.semanage_port_get_low
def semanage_port_get_high(port):
return _semanage.semanage_port_get_high(port)
semanage_port_get_high = _semanage.semanage_port_get_high
def semanage_port_set_port(port, port_num):
return _semanage.semanage_port_set_port(port, port_num)
semanage_port_set_port = _semanage.semanage_port_set_port
def semanage_port_set_range(port, low, high):
return _semanage.semanage_port_set_range(port, low, high)
semanage_port_set_range = _semanage.semanage_port_set_range
def semanage_port_get_con(port):
return _semanage.semanage_port_get_con(port)
semanage_port_get_con = _semanage.semanage_port_get_con
def semanage_port_set_con(handle, port, con):
return _semanage.semanage_port_set_con(handle, port, con)
semanage_port_set_con = _semanage.semanage_port_set_con
def semanage_port_create(handle):
return _semanage.semanage_port_create(handle)
semanage_port_create = _semanage.semanage_port_create
def semanage_port_clone(handle, port):
return _semanage.semanage_port_clone(handle, port)
semanage_port_clone = _semanage.semanage_port_clone
def semanage_port_free(port):
return _semanage.semanage_port_free(port)
semanage_port_free = _semanage.semanage_port_free
def semanage_port_modify_local(handle, key, data):
return _semanage.semanage_port_modify_local(handle, key, data)
semanage_port_modify_local = _semanage.semanage_port_modify_local
def semanage_port_del_local(handle, key):
return _semanage.semanage_port_del_local(handle, key)
semanage_port_del_local = _semanage.semanage_port_del_local
def semanage_port_query_local(handle, key):
return _semanage.semanage_port_query_local(handle, key)
semanage_port_query_local = _semanage.semanage_port_query_local
def semanage_port_exists_local(handle, key):
return _semanage.semanage_port_exists_local(handle, key)
semanage_port_exists_local = _semanage.semanage_port_exists_local
def semanage_port_count_local(handle):
return _semanage.semanage_port_count_local(handle)
semanage_port_count_local = _semanage.semanage_port_count_local
def semanage_port_iterate_local(handle, handler, handler_arg):
return _semanage.semanage_port_iterate_local(handle, handler, handler_arg)
semanage_port_iterate_local = _semanage.semanage_port_iterate_local
def semanage_port_list_local(handle):
return _semanage.semanage_port_list_local(handle)
semanage_port_list_local = _semanage.semanage_port_list_local
def semanage_port_query(handle, key):
return _semanage.semanage_port_query(handle, key)
semanage_port_query = _semanage.semanage_port_query
def semanage_port_exists(handle, key):
return _semanage.semanage_port_exists(handle, key)
semanage_port_exists = _semanage.semanage_port_exists
def semanage_port_count(handle):
return _semanage.semanage_port_count(handle)
semanage_port_count = _semanage.semanage_port_count
def semanage_port_iterate(handle, handler, handler_arg):
return _semanage.semanage_port_iterate(handle, handler, handler_arg)
semanage_port_iterate = _semanage.semanage_port_iterate
def semanage_port_list(handle):
return _semanage.semanage_port_list(handle)
semanage_port_list = _semanage.semanage_port_list
def semanage_ibpkey_compare(ibpkey, key):
return _semanage.semanage_ibpkey_compare(ibpkey, key)
semanage_ibpkey_compare = _semanage.semanage_ibpkey_compare
def semanage_ibpkey_compare2(ibpkey, ibpkey2):
return _semanage.semanage_ibpkey_compare2(ibpkey, ibpkey2)
semanage_ibpkey_compare2 = _semanage.semanage_ibpkey_compare2
def semanage_ibpkey_key_create(handle, subnet_prefix, low, high):
return _semanage.semanage_ibpkey_key_create(handle, subnet_prefix, low, high)
semanage_ibpkey_key_create = _semanage.semanage_ibpkey_key_create
def semanage_ibpkey_key_extract(handle, ibpkey):
return _semanage.semanage_ibpkey_key_extract(handle, ibpkey)
semanage_ibpkey_key_extract = _semanage.semanage_ibpkey_key_extract
def semanage_ibpkey_key_free(key):
return _semanage.semanage_ibpkey_key_free(key)
semanage_ibpkey_key_free = _semanage.semanage_ibpkey_key_free
def semanage_ibpkey_get_subnet_prefix(handle, ibpkey):
return _semanage.semanage_ibpkey_get_subnet_prefix(handle, ibpkey)
semanage_ibpkey_get_subnet_prefix = _semanage.semanage_ibpkey_get_subnet_prefix
def semanage_ibpkey_get_subnet_prefix_bytes(ibpkey):
return _semanage.semanage_ibpkey_get_subnet_prefix_bytes(ibpkey)
semanage_ibpkey_get_subnet_prefix_bytes = _semanage.semanage_ibpkey_get_subnet_prefix_bytes
def semanage_ibpkey_set_subnet_prefix(handle, ibpkey, subnet_prefix):
return _semanage.semanage_ibpkey_set_subnet_prefix(handle, ibpkey, subnet_prefix)
semanage_ibpkey_set_subnet_prefix = _semanage.semanage_ibpkey_set_subnet_prefix
def semanage_ibpkey_set_subnet_prefix_bytes(ibpkey, subnet_prefix):
return _semanage.semanage_ibpkey_set_subnet_prefix_bytes(ibpkey, subnet_prefix)
semanage_ibpkey_set_subnet_prefix_bytes = _semanage.semanage_ibpkey_set_subnet_prefix_bytes
def semanage_ibpkey_get_low(ibpkey):
return _semanage.semanage_ibpkey_get_low(ibpkey)
semanage_ibpkey_get_low = _semanage.semanage_ibpkey_get_low
def semanage_ibpkey_get_high(ibpkey):
return _semanage.semanage_ibpkey_get_high(ibpkey)
semanage_ibpkey_get_high = _semanage.semanage_ibpkey_get_high
def semanage_ibpkey_set_pkey(ibpkey, pkey_num):
return _semanage.semanage_ibpkey_set_pkey(ibpkey, pkey_num)
semanage_ibpkey_set_pkey = _semanage.semanage_ibpkey_set_pkey
def semanage_ibpkey_set_range(ibpkey, low, high):
return _semanage.semanage_ibpkey_set_range(ibpkey, low, high)
semanage_ibpkey_set_range = _semanage.semanage_ibpkey_set_range
def semanage_ibpkey_get_con(ibpkey):
return _semanage.semanage_ibpkey_get_con(ibpkey)
semanage_ibpkey_get_con = _semanage.semanage_ibpkey_get_con
def semanage_ibpkey_set_con(handle, ibpkey, con):
return _semanage.semanage_ibpkey_set_con(handle, ibpkey, con)
semanage_ibpkey_set_con = _semanage.semanage_ibpkey_set_con
def semanage_ibpkey_create(handle):
return _semanage.semanage_ibpkey_create(handle)
semanage_ibpkey_create = _semanage.semanage_ibpkey_create
def semanage_ibpkey_clone(handle, ibpkey):
return _semanage.semanage_ibpkey_clone(handle, ibpkey)
semanage_ibpkey_clone = _semanage.semanage_ibpkey_clone
def semanage_ibpkey_free(ibpkey):
return _semanage.semanage_ibpkey_free(ibpkey)
semanage_ibpkey_free = _semanage.semanage_ibpkey_free
def semanage_ibpkey_modify_local(handle, key, data):
return _semanage.semanage_ibpkey_modify_local(handle, key, data)
semanage_ibpkey_modify_local = _semanage.semanage_ibpkey_modify_local
def semanage_ibpkey_del_local(handle, key):
return _semanage.semanage_ibpkey_del_local(handle, key)
semanage_ibpkey_del_local = _semanage.semanage_ibpkey_del_local
def semanage_ibpkey_query_local(handle, key):
return _semanage.semanage_ibpkey_query_local(handle, key)
semanage_ibpkey_query_local = _semanage.semanage_ibpkey_query_local
def semanage_ibpkey_exists_local(handle, key):
return _semanage.semanage_ibpkey_exists_local(handle, key)
semanage_ibpkey_exists_local = _semanage.semanage_ibpkey_exists_local
def semanage_ibpkey_count_local(handle):
return _semanage.semanage_ibpkey_count_local(handle)
semanage_ibpkey_count_local = _semanage.semanage_ibpkey_count_local
def semanage_ibpkey_iterate_local(handle, handler, handler_arg):
return _semanage.semanage_ibpkey_iterate_local(handle, handler, handler_arg)
semanage_ibpkey_iterate_local = _semanage.semanage_ibpkey_iterate_local
def semanage_ibpkey_list_local(handle):
return _semanage.semanage_ibpkey_list_local(handle)
semanage_ibpkey_list_local = _semanage.semanage_ibpkey_list_local
def semanage_ibpkey_query(handle, key):
return _semanage.semanage_ibpkey_query(handle, key)
semanage_ibpkey_query = _semanage.semanage_ibpkey_query
def semanage_ibpkey_exists(handle, key):
return _semanage.semanage_ibpkey_exists(handle, key)
semanage_ibpkey_exists = _semanage.semanage_ibpkey_exists
def semanage_ibpkey_count(handle):
return _semanage.semanage_ibpkey_count(handle)
semanage_ibpkey_count = _semanage.semanage_ibpkey_count
def semanage_ibpkey_iterate(handle, handler, handler_arg):
return _semanage.semanage_ibpkey_iterate(handle, handler, handler_arg)
semanage_ibpkey_iterate = _semanage.semanage_ibpkey_iterate
def semanage_ibpkey_list(handle):
return _semanage.semanage_ibpkey_list(handle)
semanage_ibpkey_list = _semanage.semanage_ibpkey_list
def semanage_ibendport_compare(ibendport, key):
return _semanage.semanage_ibendport_compare(ibendport, key)
semanage_ibendport_compare = _semanage.semanage_ibendport_compare
def semanage_ibendport_compare2(ibendport, ibendport2):
return _semanage.semanage_ibendport_compare2(ibendport, ibendport2)
semanage_ibendport_compare2 = _semanage.semanage_ibendport_compare2
def semanage_ibendport_key_create(handle, ibdev_name, port):
return _semanage.semanage_ibendport_key_create(handle, ibdev_name, port)
semanage_ibendport_key_create = _semanage.semanage_ibendport_key_create
def semanage_ibendport_key_extract(handle, ibendport):
return _semanage.semanage_ibendport_key_extract(handle, ibendport)
semanage_ibendport_key_extract = _semanage.semanage_ibendport_key_extract
def semanage_ibendport_key_free(key):
return _semanage.semanage_ibendport_key_free(key)
semanage_ibendport_key_free = _semanage.semanage_ibendport_key_free
def semanage_ibendport_get_ibdev_name(handle, ibendport):
return _semanage.semanage_ibendport_get_ibdev_name(handle, ibendport)
semanage_ibendport_get_ibdev_name = _semanage.semanage_ibendport_get_ibdev_name
def semanage_ibendport_set_ibdev_name(handle, ibendport, ibdev_name):
return _semanage.semanage_ibendport_set_ibdev_name(handle, ibendport, ibdev_name)
semanage_ibendport_set_ibdev_name = _semanage.semanage_ibendport_set_ibdev_name
def semanage_ibendport_get_port(ibendport):
return _semanage.semanage_ibendport_get_port(ibendport)
semanage_ibendport_get_port = _semanage.semanage_ibendport_get_port
def semanage_ibendport_set_port(ibendport, port):
return _semanage.semanage_ibendport_set_port(ibendport, port)
semanage_ibendport_set_port = _semanage.semanage_ibendport_set_port
def semanage_ibendport_get_con(ibendport):
return _semanage.semanage_ibendport_get_con(ibendport)
semanage_ibendport_get_con = _semanage.semanage_ibendport_get_con
def semanage_ibendport_set_con(handle, ibendport, con):
return _semanage.semanage_ibendport_set_con(handle, ibendport, con)
semanage_ibendport_set_con = _semanage.semanage_ibendport_set_con
def semanage_ibendport_create(handle):
return _semanage.semanage_ibendport_create(handle)
semanage_ibendport_create = _semanage.semanage_ibendport_create
def semanage_ibendport_clone(handle, ibendport):
return _semanage.semanage_ibendport_clone(handle, ibendport)
semanage_ibendport_clone = _semanage.semanage_ibendport_clone
def semanage_ibendport_free(ibendport):
return _semanage.semanage_ibendport_free(ibendport)
semanage_ibendport_free = _semanage.semanage_ibendport_free
def semanage_ibendport_modify_local(handle, key, data):
return _semanage.semanage_ibendport_modify_local(handle, key, data)
semanage_ibendport_modify_local = _semanage.semanage_ibendport_modify_local
def semanage_ibendport_del_local(handle, key):
return _semanage.semanage_ibendport_del_local(handle, key)
semanage_ibendport_del_local = _semanage.semanage_ibendport_del_local
def semanage_ibendport_query_local(handle, key):
return _semanage.semanage_ibendport_query_local(handle, key)
semanage_ibendport_query_local = _semanage.semanage_ibendport_query_local
def semanage_ibendport_exists_local(handle, key):
return _semanage.semanage_ibendport_exists_local(handle, key)
semanage_ibendport_exists_local = _semanage.semanage_ibendport_exists_local
def semanage_ibendport_count_local(handle):
return _semanage.semanage_ibendport_count_local(handle)
semanage_ibendport_count_local = _semanage.semanage_ibendport_count_local
def semanage_ibendport_iterate_local(handle, handler, handler_arg):
return _semanage.semanage_ibendport_iterate_local(handle, handler, handler_arg)
semanage_ibendport_iterate_local = _semanage.semanage_ibendport_iterate_local
def semanage_ibendport_list_local(handle):
return _semanage.semanage_ibendport_list_local(handle)
semanage_ibendport_list_local = _semanage.semanage_ibendport_list_local
def semanage_ibendport_query(handle, key):
return _semanage.semanage_ibendport_query(handle, key)
semanage_ibendport_query = _semanage.semanage_ibendport_query
def semanage_ibendport_exists(handle, key):
return _semanage.semanage_ibendport_exists(handle, key)
semanage_ibendport_exists = _semanage.semanage_ibendport_exists
def semanage_ibendport_count(handle):
return _semanage.semanage_ibendport_count(handle)
semanage_ibendport_count = _semanage.semanage_ibendport_count
def semanage_ibendport_iterate(handle, handler, handler_arg):
return _semanage.semanage_ibendport_iterate(handle, handler, handler_arg)
semanage_ibendport_iterate = _semanage.semanage_ibendport_iterate
def semanage_ibendport_list(handle):
return _semanage.semanage_ibendport_list(handle)
semanage_ibendport_list = _semanage.semanage_ibendport_list
def semanage_fcontext_compare(fcontext, key):
return _semanage.semanage_fcontext_compare(fcontext, key)
semanage_fcontext_compare = _semanage.semanage_fcontext_compare
def semanage_fcontext_compare2(fcontext, fcontext2):
return _semanage.semanage_fcontext_compare2(fcontext, fcontext2)
semanage_fcontext_compare2 = _semanage.semanage_fcontext_compare2
def semanage_fcontext_key_create(handle, expr, type):
return _semanage.semanage_fcontext_key_create(handle, expr, type)
semanage_fcontext_key_create = _semanage.semanage_fcontext_key_create
def semanage_fcontext_key_extract(handle, fcontext):
return _semanage.semanage_fcontext_key_extract(handle, fcontext)
semanage_fcontext_key_extract = _semanage.semanage_fcontext_key_extract
def semanage_fcontext_key_free(key):
return _semanage.semanage_fcontext_key_free(key)
semanage_fcontext_key_free = _semanage.semanage_fcontext_key_free
def semanage_fcontext_get_expr(fcontext):
return _semanage.semanage_fcontext_get_expr(fcontext)
semanage_fcontext_get_expr = _semanage.semanage_fcontext_get_expr
def semanage_fcontext_set_expr(handle, fcontext, expr):
return _semanage.semanage_fcontext_set_expr(handle, fcontext, expr)
semanage_fcontext_set_expr = _semanage.semanage_fcontext_set_expr
SEMANAGE_FCONTEXT_ALL = _semanage.SEMANAGE_FCONTEXT_ALL
SEMANAGE_FCONTEXT_REG = _semanage.SEMANAGE_FCONTEXT_REG
SEMANAGE_FCONTEXT_DIR = _semanage.SEMANAGE_FCONTEXT_DIR
SEMANAGE_FCONTEXT_CHAR = _semanage.SEMANAGE_FCONTEXT_CHAR
SEMANAGE_FCONTEXT_BLOCK = _semanage.SEMANAGE_FCONTEXT_BLOCK
SEMANAGE_FCONTEXT_SOCK = _semanage.SEMANAGE_FCONTEXT_SOCK
SEMANAGE_FCONTEXT_LINK = _semanage.SEMANAGE_FCONTEXT_LINK
SEMANAGE_FCONTEXT_PIPE = _semanage.SEMANAGE_FCONTEXT_PIPE
def semanage_fcontext_get_type(fcontext):
return _semanage.semanage_fcontext_get_type(fcontext)
semanage_fcontext_get_type = _semanage.semanage_fcontext_get_type
def semanage_fcontext_get_type_str(type):
return _semanage.semanage_fcontext_get_type_str(type)
semanage_fcontext_get_type_str = _semanage.semanage_fcontext_get_type_str
def semanage_fcontext_set_type(fcontext, type):
return _semanage.semanage_fcontext_set_type(fcontext, type)
semanage_fcontext_set_type = _semanage.semanage_fcontext_set_type
def semanage_fcontext_get_con(fcontext):
return _semanage.semanage_fcontext_get_con(fcontext)
semanage_fcontext_get_con = _semanage.semanage_fcontext_get_con
def semanage_fcontext_set_con(handle, fcontext, con):
return _semanage.semanage_fcontext_set_con(handle, fcontext, con)
semanage_fcontext_set_con = _semanage.semanage_fcontext_set_con
def semanage_fcontext_create(handle):
return _semanage.semanage_fcontext_create(handle)
semanage_fcontext_create = _semanage.semanage_fcontext_create
def semanage_fcontext_clone(handle, fcontext):
return _semanage.semanage_fcontext_clone(handle, fcontext)
semanage_fcontext_clone = _semanage.semanage_fcontext_clone
def semanage_fcontext_free(fcontext):
return _semanage.semanage_fcontext_free(fcontext)
semanage_fcontext_free = _semanage.semanage_fcontext_free
def semanage_fcontext_modify_local(handle, key, data):
return _semanage.semanage_fcontext_modify_local(handle, key, data)
semanage_fcontext_modify_local = _semanage.semanage_fcontext_modify_local
def semanage_fcontext_del_local(handle, key):
return _semanage.semanage_fcontext_del_local(handle, key)
semanage_fcontext_del_local = _semanage.semanage_fcontext_del_local
def semanage_fcontext_query_local(handle, key):
return _semanage.semanage_fcontext_query_local(handle, key)
semanage_fcontext_query_local = _semanage.semanage_fcontext_query_local
def semanage_fcontext_exists_local(handle, key):
return _semanage.semanage_fcontext_exists_local(handle, key)
semanage_fcontext_exists_local = _semanage.semanage_fcontext_exists_local
def semanage_fcontext_count_local(handle):
return _semanage.semanage_fcontext_count_local(handle)
semanage_fcontext_count_local = _semanage.semanage_fcontext_count_local
def semanage_fcontext_iterate_local(handle, handler, handler_arg):
return _semanage.semanage_fcontext_iterate_local(handle, handler, handler_arg)
semanage_fcontext_iterate_local = _semanage.semanage_fcontext_iterate_local
def semanage_fcontext_list_local(handle):
return _semanage.semanage_fcontext_list_local(handle)
semanage_fcontext_list_local = _semanage.semanage_fcontext_list_local
def semanage_fcontext_query(handle, key):
return _semanage.semanage_fcontext_query(handle, key)
semanage_fcontext_query = _semanage.semanage_fcontext_query
def semanage_fcontext_exists(handle, key):
return _semanage.semanage_fcontext_exists(handle, key)
semanage_fcontext_exists = _semanage.semanage_fcontext_exists
def semanage_fcontext_count(handle):
return _semanage.semanage_fcontext_count(handle)
semanage_fcontext_count = _semanage.semanage_fcontext_count
def semanage_fcontext_iterate(handle, handler, handler_arg):
return _semanage.semanage_fcontext_iterate(handle, handler, handler_arg)
semanage_fcontext_iterate = _semanage.semanage_fcontext_iterate
def semanage_fcontext_list(handle):
return _semanage.semanage_fcontext_list(handle)
semanage_fcontext_list = _semanage.semanage_fcontext_list
def semanage_fcontext_list_homedirs(handle):
return _semanage.semanage_fcontext_list_homedirs(handle)
semanage_fcontext_list_homedirs = _semanage.semanage_fcontext_list_homedirs
def semanage_seuser_key_create(handle, name):
return _semanage.semanage_seuser_key_create(handle, name)
semanage_seuser_key_create = _semanage.semanage_seuser_key_create
def semanage_seuser_key_extract(handle, seuser):
return _semanage.semanage_seuser_key_extract(handle, seuser)
semanage_seuser_key_extract = _semanage.semanage_seuser_key_extract
def semanage_seuser_key_free(key):
return _semanage.semanage_seuser_key_free(key)
semanage_seuser_key_free = _semanage.semanage_seuser_key_free
def semanage_seuser_compare(seuser, key):
return _semanage.semanage_seuser_compare(seuser, key)
semanage_seuser_compare = _semanage.semanage_seuser_compare
def semanage_seuser_compare2(seuser, seuser2):
return _semanage.semanage_seuser_compare2(seuser, seuser2)
semanage_seuser_compare2 = _semanage.semanage_seuser_compare2
def semanage_seuser_get_name(seuser):
return _semanage.semanage_seuser_get_name(seuser)
semanage_seuser_get_name = _semanage.semanage_seuser_get_name
def semanage_seuser_set_name(handle, seuser, name):
return _semanage.semanage_seuser_set_name(handle, seuser, name)
semanage_seuser_set_name = _semanage.semanage_seuser_set_name
def semanage_seuser_get_sename(seuser):
return _semanage.semanage_seuser_get_sename(seuser)
semanage_seuser_get_sename = _semanage.semanage_seuser_get_sename
def semanage_seuser_set_sename(handle, seuser, sename):
return _semanage.semanage_seuser_set_sename(handle, seuser, sename)
semanage_seuser_set_sename = _semanage.semanage_seuser_set_sename
def semanage_seuser_get_mlsrange(seuser):
return _semanage.semanage_seuser_get_mlsrange(seuser)
semanage_seuser_get_mlsrange = _semanage.semanage_seuser_get_mlsrange
def semanage_seuser_set_mlsrange(handle, seuser, mls_range):
return _semanage.semanage_seuser_set_mlsrange(handle, seuser, mls_range)
semanage_seuser_set_mlsrange = _semanage.semanage_seuser_set_mlsrange
def semanage_seuser_create(handle):
return _semanage.semanage_seuser_create(handle)
semanage_seuser_create = _semanage.semanage_seuser_create
def semanage_seuser_clone(handle, seuser):
return _semanage.semanage_seuser_clone(handle, seuser)
semanage_seuser_clone = _semanage.semanage_seuser_clone
def semanage_seuser_free(seuser):
return _semanage.semanage_seuser_free(seuser)
semanage_seuser_free = _semanage.semanage_seuser_free
def semanage_seuser_modify_local(handle, key, data):
return _semanage.semanage_seuser_modify_local(handle, key, data)
semanage_seuser_modify_local = _semanage.semanage_seuser_modify_local
def semanage_seuser_del_local(handle, key):
return _semanage.semanage_seuser_del_local(handle, key)
semanage_seuser_del_local = _semanage.semanage_seuser_del_local
def semanage_seuser_query_local(handle, key):
return _semanage.semanage_seuser_query_local(handle, key)
semanage_seuser_query_local = _semanage.semanage_seuser_query_local
def semanage_seuser_exists_local(handle, key):
return _semanage.semanage_seuser_exists_local(handle, key)
semanage_seuser_exists_local = _semanage.semanage_seuser_exists_local
def semanage_seuser_count_local(handle):
return _semanage.semanage_seuser_count_local(handle)
semanage_seuser_count_local = _semanage.semanage_seuser_count_local
def semanage_seuser_iterate_local(handle, handler, handler_arg):
return _semanage.semanage_seuser_iterate_local(handle, handler, handler_arg)
semanage_seuser_iterate_local = _semanage.semanage_seuser_iterate_local
def semanage_seuser_list_local(handle):
return _semanage.semanage_seuser_list_local(handle)
semanage_seuser_list_local = _semanage.semanage_seuser_list_local
def semanage_seuser_query(handle, key):
return _semanage.semanage_seuser_query(handle, key)
semanage_seuser_query = _semanage.semanage_seuser_query
def semanage_seuser_exists(handle, key):
return _semanage.semanage_seuser_exists(handle, key)
semanage_seuser_exists = _semanage.semanage_seuser_exists
def semanage_seuser_count(handle):
return _semanage.semanage_seuser_count(handle)
semanage_seuser_count = _semanage.semanage_seuser_count
def semanage_seuser_iterate(handle, handler, handler_arg):
return _semanage.semanage_seuser_iterate(handle, handler, handler_arg)
semanage_seuser_iterate = _semanage.semanage_seuser_iterate
def semanage_seuser_list(handle):
return _semanage.semanage_seuser_list(handle)
semanage_seuser_list = _semanage.semanage_seuser_list
SEMANAGE_PROTO_IP4 = _semanage.SEMANAGE_PROTO_IP4
SEMANAGE_PROTO_IP6 = _semanage.SEMANAGE_PROTO_IP6
def semanage_node_compare(node, key):
return _semanage.semanage_node_compare(node, key)
semanage_node_compare = _semanage.semanage_node_compare
def semanage_node_compare2(node, node2):
return _semanage.semanage_node_compare2(node, node2)
semanage_node_compare2 = _semanage.semanage_node_compare2
def semanage_node_key_create(handle, addr, mask, proto):
return _semanage.semanage_node_key_create(handle, addr, mask, proto)
semanage_node_key_create = _semanage.semanage_node_key_create
def semanage_node_key_extract(handle, node):
return _semanage.semanage_node_key_extract(handle, node)
semanage_node_key_extract = _semanage.semanage_node_key_extract
def semanage_node_key_free(key):
return _semanage.semanage_node_key_free(key)
semanage_node_key_free = _semanage.semanage_node_key_free
def semanage_node_get_addr(handle, node):
return _semanage.semanage_node_get_addr(handle, node)
semanage_node_get_addr = _semanage.semanage_node_get_addr
def semanage_node_get_addr_bytes(handle, node):
return _semanage.semanage_node_get_addr_bytes(handle, node)
semanage_node_get_addr_bytes = _semanage.semanage_node_get_addr_bytes
def semanage_node_set_addr(handle, node, proto, addr):
return _semanage.semanage_node_set_addr(handle, node, proto, addr)
semanage_node_set_addr = _semanage.semanage_node_set_addr
def semanage_node_set_addr_bytes(handle, node, addr, addr_sz):
return _semanage.semanage_node_set_addr_bytes(handle, node, addr, addr_sz)
semanage_node_set_addr_bytes = _semanage.semanage_node_set_addr_bytes
def semanage_node_get_mask(handle, node):
return _semanage.semanage_node_get_mask(handle, node)
semanage_node_get_mask = _semanage.semanage_node_get_mask
def semanage_node_get_mask_bytes(handle, node):
return _semanage.semanage_node_get_mask_bytes(handle, node)
semanage_node_get_mask_bytes = _semanage.semanage_node_get_mask_bytes
def semanage_node_set_mask(handle, node, proto, mask):
return _semanage.semanage_node_set_mask(handle, node, proto, mask)
semanage_node_set_mask = _semanage.semanage_node_set_mask
def semanage_node_set_mask_bytes(handle, node, mask, mask_sz):
return _semanage.semanage_node_set_mask_bytes(handle, node, mask, mask_sz)
semanage_node_set_mask_bytes = _semanage.semanage_node_set_mask_bytes
def semanage_node_get_proto(node):
return _semanage.semanage_node_get_proto(node)
semanage_node_get_proto = _semanage.semanage_node_get_proto
def semanage_node_set_proto(node, proto):
return _semanage.semanage_node_set_proto(node, proto)
semanage_node_set_proto = _semanage.semanage_node_set_proto
def semanage_node_get_proto_str(proto):
return _semanage.semanage_node_get_proto_str(proto)
semanage_node_get_proto_str = _semanage.semanage_node_get_proto_str
def semanage_node_get_con(node):
return _semanage.semanage_node_get_con(node)
semanage_node_get_con = _semanage.semanage_node_get_con
def semanage_node_set_con(handle, node, con):
return _semanage.semanage_node_set_con(handle, node, con)
semanage_node_set_con = _semanage.semanage_node_set_con
def semanage_node_create(handle):
return _semanage.semanage_node_create(handle)
semanage_node_create = _semanage.semanage_node_create
def semanage_node_clone(handle, node):
return _semanage.semanage_node_clone(handle, node)
semanage_node_clone = _semanage.semanage_node_clone
def semanage_node_free(node):
return _semanage.semanage_node_free(node)
semanage_node_free = _semanage.semanage_node_free
def semanage_node_modify_local(handle, key, data):
return _semanage.semanage_node_modify_local(handle, key, data)
semanage_node_modify_local = _semanage.semanage_node_modify_local
def semanage_node_del_local(handle, key):
return _semanage.semanage_node_del_local(handle, key)
semanage_node_del_local = _semanage.semanage_node_del_local
def semanage_node_query_local(handle, key):
return _semanage.semanage_node_query_local(handle, key)
semanage_node_query_local = _semanage.semanage_node_query_local
def semanage_node_exists_local(handle, key):
return _semanage.semanage_node_exists_local(handle, key)
semanage_node_exists_local = _semanage.semanage_node_exists_local
def semanage_node_count_local(handle):
return _semanage.semanage_node_count_local(handle)
semanage_node_count_local = _semanage.semanage_node_count_local
def semanage_node_iterate_local(handle, handler, handler_arg):
return _semanage.semanage_node_iterate_local(handle, handler, handler_arg)
semanage_node_iterate_local = _semanage.semanage_node_iterate_local
def semanage_node_list_local(handle):
return _semanage.semanage_node_list_local(handle)
semanage_node_list_local = _semanage.semanage_node_list_local
def semanage_node_query(handle, key):
return _semanage.semanage_node_query(handle, key)
semanage_node_query = _semanage.semanage_node_query
def semanage_node_exists(handle, key):
return _semanage.semanage_node_exists(handle, key)
semanage_node_exists = _semanage.semanage_node_exists
def semanage_node_count(handle):
return _semanage.semanage_node_count(handle)
semanage_node_count = _semanage.semanage_node_count
def semanage_node_iterate(handle, handler, handler_arg):
return _semanage.semanage_node_iterate(handle, handler, handler_arg)
semanage_node_iterate = _semanage.semanage_node_iterate
def semanage_node_list(handle):
return _semanage.semanage_node_list(handle)
semanage_node_list = _semanage.semanage_node_list
# This file is compatible with both classic and new-style classes.
Zerion Mini Shell 1.0