Searched refs:semanage (Results 1 – 25 of 127) sorted by relevance
123456
6 import semanage151 (trans_cnt, mlist, mlist_size) = semanage.semanage_module_list(sh)163 module = semanage.semanage_module_list_nth(mlist, idx)166 print("Module name: %s" % semanage.semanage_module_get_name(module))171 (status, slist) = semanage.semanage_seuser_list(sh)183 print("seuser name: %s" % semanage.semanage_seuser_get_name(seuser))184 print(" seuser mls range: %s" % semanage.semanage_seuser_get_mlsrange(seuser))185 print(" seuser sename: %s" % semanage.semanage_seuser_get_sename(seuser))186 semanage.semanage_seuser_free(seuser)191 (status, ulist) = semanage.semanage_user_list(sh)[all …]
14 import semanage145 handle = semanage.semanage_handle_create()150 semanage.semanage_select_store(handle, curstore, semanage.SEMANAGE_CON_DIRECT)152 if not semanage.semanage_is_managed(handle):153 semanage.semanage_handle_destroy(handle)157 rc = semanage.semanage_access_check(handle)158 if rc < semanage.SEMANAGE_CAN_WRITE:159 semanage.semanage_handle_destroy(handle)163 rc = semanage.semanage_connect(handle)165 semanage.semanage_handle_destroy(handle)[all …]
91 #: ../semanage/seobject.py:21092 msgid "Could not create semanage handle"95 #: ../semanage/seobject.py:21899 #: ../semanage/seobject.py:223103 #: ../semanage/seobject.py:228104 msgid "Could not establish semanage connection"107 #: ../semanage/seobject.py:233111 #: ../semanage/seobject.py:239 ../semanage/seobject.py:254115 #: ../semanage/seobject.py:243119 #: ../semanage/seobject.py:252[all …]
90 #: ../semanage/seobject.py:21091 msgid "Could not create semanage handle"94 #: ../semanage/seobject.py:21898 #: ../semanage/seobject.py:223102 #: ../semanage/seobject.py:228103 msgid "Could not establish semanage connection"106 #: ../semanage/seobject.py:233110 #: ../semanage/seobject.py:239 ../semanage/seobject.py:254114 #: ../semanage/seobject.py:243118 #: ../semanage/seobject.py:252[all …]
89 #: ../semanage/seobject.py:21090 msgid "Could not create semanage handle"93 #: ../semanage/seobject.py:21897 #: ../semanage/seobject.py:223101 #: ../semanage/seobject.py:228102 msgid "Could not establish semanage connection"105 #: ../semanage/seobject.py:233109 #: ../semanage/seobject.py:239 ../semanage/seobject.py:254113 #: ../semanage/seobject.py:243117 #: ../semanage/seobject.py:252[all …]