HomeSort by relevance Sort by last modified time
    Searched refs:nodecon (Results 1 - 25 of 26) sorted by null

1 2

  /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/setoolsgui/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...]
  /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 1319 struct cil_nodecon *nodecon = node->data; local
    [all...]
cil_reset_ast.c 273 static void cil_reset_nodecon(struct cil_nodecon *nodecon)
275 if (nodecon->context_str == NULL) {
276 cil_reset_context(nodecon->context);
cil_build_ast.c 4012 struct cil_nodecon *nodecon = NULL; local
    [all...]
cil.c 188 CIL_KEY_NODECON = cil_strpool_add("nodecon");
245 cil_sort_init(&(*db)->nodecon);
291 cil_sort_destroy(&(*db)->nodecon);
    [all...]
cil_post.c 374 db->nodecon->count++;
492 struct cil_sort *sort = db->nodecon;
1274 struct cil_nodecon *nodecon = node->data; local
1275 rc = __evaluate_levelrange_expression(nodecon->context->range, db);
    [all...]
cil_resolve_ast.c 1785 struct cil_nodecon *nodecon = current->data; local
    [all...]
cil_internal.h 271 struct cil_sort *nodecon; member in struct:cil_db
939 void cil_nodecon_init(struct cil_nodecon **nodecon);
cil_build_ast.h 172 void cil_destroy_nodecon(struct cil_nodecon *nodecon);
cil_verify.c 1061 struct cil_nodecon *nodecon = node->data; local
1062 struct cil_context *ctx = nodecon->context;
1075 cil_log(CIL_ERR, "Invalid nodecon at line %d of %s\n", node->line, node->path);
    [all...]
  /external/selinux/checkpolicy/
policy_scan.l 180 nodecon |
181 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/libsepol/cil/test/unit/
test_cil_build_ast.c 13171 struct cil_nodecon *nodecon; local
13194 struct cil_nodecon *nodecon; local
13217 struct cil_nodecon *nodecon; local
13240 struct cil_nodecon *nodecon; local
13263 struct cil_nodecon *nodecon; local
    [all...]

Completed in 395 milliseconds

1 2