Home
last modified time | relevance | path

Searched refs:handle_unknown (Results 1 – 25 of 28) sorted by relevance

12

/external/selinux/checkpolicy/
Dcheckmodule.c45 static int handle_unknown = SEPOL_DENY_UNKNOWN; variable
119 p->handle_unknown = handle_unknown; in write_binary_policy()
183 handle_unknown = DENY_UNKNOWN; in main()
187 handle_unknown = REJECT_UNKNOWN; in main()
191 handle_unknown = ALLOW_UNKNOWN; in main()
216 if (handle_unknown && (policy_type != POLICY_BASE)) { in main()
251 modpolicydb.handle_unknown = handle_unknown; in main()
Dcheckpolicy.c102 static int handle_unknown = SEPOL_DENY_UNKNOWN; variable
450 handle_unknown = DENY_UNKNOWN; in main()
454 handle_unknown = ALLOW_UNKNOWN; in main()
458 handle_unknown = REJECT_UNKNOWN; in main()
590 parse_policy.handle_unknown = handle_unknown; in main()
/external/selinux/secilc/
Dsecilc.c96 int handle_unknown = -1; in main() local
169 handle_unknown = SEPOL_DENY_UNKNOWN; in main()
171 handle_unknown = SEPOL_ALLOW_UNKNOWN; in main()
173 handle_unknown = SEPOL_REJECT_UNKNOWN; in main()
235 if (handle_unknown != -1) { in main()
236 rc = cil_set_handle_unknown(db, handle_unknown); in main()
/external/selinux/libsepol/src/
Dpolicydb_public.c138 unsigned int handle_unknown) in sepol_policydb_set_handle_unknown() argument
142 switch (handle_unknown) { in sepol_policydb_set_handle_unknown()
151 p->handle_unknown = handle_unknown; in sepol_policydb_set_handle_unknown()
Dkernel_to_conf.c395 switch (pdb->handle_unknown) { in write_handle_unknown_to_conf()
406 sepol_log_err("Unknown value for handle-unknown: %i", pdb->handle_unknown); in write_handle_unknown_to_conf()
Dkernel_to_cil.c395 switch (pdb->handle_unknown) { in write_handle_unknown_to_cil()
406 sepol_log_err("Unknown value for handle-unknown: %i", pdb->handle_unknown); in write_handle_unknown_to_cil()
Dexpand.c3005 out->handle_unknown = base->handle_unknown; in expand_module()
Dmodule_to_cil.c3917 switch (pdb->handle_unknown) { in handle_unknown_to_cil()
3928 log_err("Unknown value for handle-unknown: %i", pdb->handle_unknown); in handle_unknown_to_cil()
/external/selinux/libsemanage/src/
Dconf-parse.y94 | handle_unknown
227 handle_unknown: HANDLE_UNKNOWN '=' ARG {
229 current_conf->handle_unknown = SEPOL_DENY_UNKNOWN;
231 current_conf->handle_unknown = SEPOL_REJECT_UNKNOWN;
233 current_conf->handle_unknown = SEPOL_ALLOW_UNKNOWN;
348 conf->handle_unknown = -1;
Dsemanage_conf.h44 int handle_unknown; member
Ddirect_api.c1378 if (sh->conf->handle_unknown != -1) { in semanage_direct_commit()
1379 cil_set_handle_unknown(cildb, sh->conf->handle_unknown); in semanage_direct_commit()
/external/selinux/libsepol/include/sepol/
Dpolicydb.h95 unsigned int handle_unknown);
/external/selinux/libsepol/cil/include/cil/
Dcil.h56 extern int cil_set_handle_unknown(cil_db_t *db, int handle_unknown);
/external/selinux/checkpolicy/test/
Ddispol.c254 if (p->handle_unknown == ALLOW_UNKNOWN) in display_handle_unknown()
256 else if (p->handle_unknown == DENY_UNKNOWN) in display_handle_unknown()
258 else if (p->handle_unknown == REJECT_UNKNOWN) in display_handle_unknown()
Ddismod.c716 if (p->handle_unknown == ALLOW_UNKNOWN) in display_handle_unknown()
718 else if (p->handle_unknown == DENY_UNKNOWN) in display_handle_unknown()
720 else if (p->handle_unknown == REJECT_UNKNOWN) in display_handle_unknown()
/external/selinux/libsepol/cil/src/
Dcil.c293 (*db)->handle_unknown = -1; in cil_db_init()
1671 int cil_set_handle_unknown(struct cil_db *db, int handle_unknown) in cil_set_handle_unknown() argument
1675 switch (handle_unknown) { in cil_set_handle_unknown()
1679 db->handle_unknown = handle_unknown; in cil_set_handle_unknown()
1682 cil_log(CIL_ERR, "Unknown value for handle-unknown: %i\n", handle_unknown); in cil_set_handle_unknown()
Dcil_internal.h317 int handle_unknown; member
952 int handle_unknown; member
Dcil_write_ast.c1090 switch (handunknown->handle_unknown) { in cil_write_handleunknown()
1102 handunknown->handle_unknown); in cil_write_handleunknown()
Dcil_post.c2471 if (db->handle_unknown == -1) { in cil_post_verify()
2473 db->handle_unknown = SEPOL_DENY_UNKNOWN; in cil_post_verify()
2475 db->handle_unknown = handleunknown; in cil_post_verify()
Dcil_copy_ast.c1704 new->handle_unknown = orig->handle_unknown; in cil_copy_handleunknown()
Dcil_binary.c4173 pdb->handle_unknown = db->handle_unknown; in __cil_policydb_create()
4190 pdb->handle_unknown = db->handle_unknown; in __cil_policydb_init()
Dcil_verify.c1438 *handleunknown = ((struct cil_handleunknown*)node->data)->handle_unknown; in __cil_verify_helper()
/external/selinux/libsepol/include/sepol/policydb/
Dpolicydb.h606 unsigned handle_unknown; member
/external/selinux/prebuilts/bin/
Dseinfo.py302 print("Handle unknown classes: {0}".format(p.handle_unknown))
/external/python/cpython3/Lib/test/
Dtest_nntplib.py442 self.handle_unknown()
468 def handle_unknown(self): member in NNTPv1Handler

12