/prebuilts/python/linux-x86/2.7.5/lib/python2.7/site-packages/setools/ |
nodeconquery.py | 33 Query nodecon statements. 43 the nodecon's network instead of equality. 44 ip_version The IP version of the nodecon to match. (socket.AF_INET 96 raise RuntimeError("Nodecon IP address/network functions require Python 3.3+.") 111 for nodecon in self.policy.nodecons(): 115 netmask = ipaddress.ip_address(nodecon.netmask) 119 raise RuntimeError("Nodecon IP address/network functions require Python 3.3+.") 133 net = ipaddress.ip_network('{0}/{1}'.format(nodecon.address, CIDR)) 142 if self.ip_version and self.ip_version != nodecon.ip_version: 145 if not self._match_context(nodecon.context) [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/site-packages/setools/diff/ |
__init__.py | 28 from .nodecon import NodeconsDifference
|
/external/selinux/libsepol/cil/src/ |
cil_policy.c | 173 struct cil_nodecon *nodecon = (struct cil_nodecon*)sort->array[i]; local 176 if (nodecon->addr->family == AF_INET) { 178 inet_ntop(nodecon->addr->family, &nodecon->addr->ip.v4, buf, INET_ADDRSTRLEN); 179 } else if (nodecon->addr->family == AF_INET6) { 181 inet_ntop(nodecon->addr->family, &nodecon->addr->ip.v6, buf, INET6_ADDRSTRLEN); 190 fprintf(file_arr[NETIFCONS], "nodecon %s ", buf); 193 if (nodecon->mask->family == AF_INET) { 195 inet_ntop(nodecon->mask->family, &nodecon->mask->ip.v4, buf, INET_ADDRSTRLEN) [all...] |
cil_tree.c | 1335 struct cil_nodecon *nodecon = node->data; local [all...] |
cil_reset_ast.c | 298 static void cil_reset_nodecon(struct cil_nodecon *nodecon) 300 if (nodecon->context_str == NULL) { 301 cil_reset_context(nodecon->context);
|
cil.c | 190 CIL_KEY_NODECON = cil_strpool_add("nodecon"); 254 cil_sort_init(&(*db)->nodecon); 303 cil_sort_destroy(&(*db)->nodecon); [all...] |
cil_build_ast.c | 4344 struct cil_nodecon *nodecon = NULL; local [all...] |
cil_resolve_ast.c | 1921 struct cil_nodecon *nodecon = current->data; local [all...] |
cil_internal.h | 281 struct cil_sort *nodecon; member in struct:cil_db 984 void cil_nodecon_init(struct cil_nodecon **nodecon);
|
cil_post.c | 399 db->nodecon->count++; 525 struct cil_sort *sort = db->nodecon; 1588 struct cil_nodecon *nodecon = node->data; local [all...] |
cil_build_ast.h | 179 void cil_destroy_nodecon(struct cil_nodecon *nodecon);
|
cil_verify.c | 1065 struct cil_nodecon *nodecon = node->data; local 1066 struct cil_context *ctx = nodecon->context; 1079 cil_log(CIL_ERR, "Invalid nodecon at line %d of %s\n", node->line, node->path); [all...] |
/external/selinux/checkpolicy/ |
policy_scan.l | 188 nodecon | 189 NODECON { return(NODECON);}
|
/external/selinux/libsepol/tests/policies/test-expander/ |
alias-base.conf | 495 #nodecon 127.0.0.1 255.255.255.255 system_u:object_r:net_foo_t:s0 497 nodecon ::1 FFFF:FFFF:FFFF:FFFF:: gen_context(system_u:object_r:system_t, s0)
|
role-base.conf | 477 #nodecon 127.0.0.1 255.255.255.255 system_u:object_r:net_foo_t:s0 479 nodecon ::1 FFFF:FFFF:FFFF:FFFF:: gen_context(system_u:object_r:system_t, s0)
|
user-base.conf | 481 #nodecon 127.0.0.1 255.255.255.255 system_u:object_r:net_foo_t:s0 483 nodecon ::1 FFFF:FFFF:FFFF:FFFF:: gen_context(system_u:object_r:system_t, s0)
|
small-base.conf | 715 #nodecon 127.0.0.1 255.255.255.255 system_u:object_r:net_foo_t:s0 717 nodecon ::1 FFFF:FFFF:FFFF:FFFF:: gen_context(system_u:object_r:net_foo_t, s0)
|
/external/selinux/libsepol/tests/policies/test-hooks/ |
cmp_policy.conf | 465 #nodecon 127.0.0.1 255.255.255.255 g_b_user_1:object_r:net_foo_t:s0 467 nodecon ::1 FFFF:FFFF:FFFF:FFFF:: gen_context(g_b_user_1:object_r:g_b_type_1, s0)
|
small-base.conf | 465 #nodecon 127.0.0.1 255.255.255.255 g_b_user_1:object_r:net_foo_t:s0 467 nodecon ::1 FFFF:FFFF:FFFF:FFFF:: gen_context(g_b_user_1:object_r:g_b_type_1, s0)
|
/external/selinux/libsepol/tests/policies/test-deps/ |
base-metreq.conf | 517 #nodecon 127.0.0.1 255.255.255.255 system_u:object_r:net_foo_t:s0 519 nodecon ::1 FFFF:FFFF:FFFF:FFFF:: gen_context(system_u:object_r:net_foo_t, s0)
|
base-notmetreq.conf | 504 #nodecon 127.0.0.1 255.255.255.255 system_u:object_r:net_foo_t:s0 506 nodecon ::1 FFFF:FFFF:FFFF:FFFF:: gen_context(system_u:object_r:net_foo_t, s0)
|
small-base.conf | 505 #nodecon 127.0.0.1 255.255.255.255 system_u:object_r:net_foo_t:s0 507 nodecon ::1 FFFF:FFFF:FFFF:FFFF:: gen_context(system_u:object_r:net_foo_t, s0)
|
/external/selinux/libsepol/tests/policies/test-linker/ |
small-base.conf | 594 #nodecon 127.0.0.1 255.255.255.255 g_b_user_1:object_r:net_foo_t:s0 596 nodecon ::1 FFFF:FFFF:FFFF:FFFF:: gen_context(g_b_user_1:object_r:g_b_type_1, s0)
|
/external/selinux/libsepol/tests/policies/test-cond/ |
refpolicy-base.conf | [all...] |
/external/selinux/prebuilts/bin/ |
sediff.py | 78 labeling.add_argument("--nodecon", action="store_true", help="Print nodecon differences") 94 args.netifcon, args.nodecon, args.portcon, args.fs_use, args.polcap, [all...] |