/usr/lib/python3/dist-packages/semanage.py is in python3-semanage 2.7-2build2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 | # 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_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_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
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_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.
|