Home
last modified time | relevance | path

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

/third_party/selinux/checkpolicy/
Dcheckmodule.c42 static int handle_unknown = SEPOL_DENY_UNKNOWN; variable
116 p->handle_unknown = handle_unknown; in write_binary_policy()
187 handle_unknown = DENY_UNKNOWN; in main()
191 handle_unknown = REJECT_UNKNOWN; in main()
195 handle_unknown = ALLOW_UNKNOWN; in main()
242 if (handle_unknown && (policy_type != POLICY_BASE)) { in main()
276 modpolicydb.handle_unknown = handle_unknown; in main()
Dcheckpolicy.c102 static int handle_unknown = SEPOL_DENY_UNKNOWN; variable
455 handle_unknown = DENY_UNKNOWN; in main()
459 handle_unknown = ALLOW_UNKNOWN; in main()
463 handle_unknown = REJECT_UNKNOWN; in main()
612 parse_policy.handle_unknown = handle_unknown; in main()
/third_party/selinux/secilc/
Dsecilc.c101 int handle_unknown = -1; in main() local
177 handle_unknown = SEPOL_DENY_UNKNOWN; in main()
179 handle_unknown = SEPOL_ALLOW_UNKNOWN; in main()
181 handle_unknown = SEPOL_REJECT_UNKNOWN; in main()
252 if (handle_unknown != -1) { in main()
253 rc = cil_set_handle_unknown(db, handle_unknown); in main()
/third_party/selinux/libsepol/src/
Dpolicydb_public.c137 unsigned int handle_unknown) in sepol_policydb_set_handle_unknown() argument
141 switch (handle_unknown) { in sepol_policydb_set_handle_unknown()
150 p->handle_unknown = handle_unknown; in sepol_policydb_set_handle_unknown()
Dkernel_to_conf.c417 switch (pdb->handle_unknown) { in write_handle_unknown_to_conf()
428 sepol_log_err("Unknown value for handle-unknown: %i", pdb->handle_unknown); in write_handle_unknown_to_conf()
Dpolicydb_validate.c1464 switch (p->handle_unknown) { in validate_properties()
Dkernel_to_cil.c415 switch (pdb->handle_unknown) { in write_handle_unknown_to_cil()
426 sepol_log_err("Unknown value for handle-unknown: %i", pdb->handle_unknown); in write_handle_unknown_to_cil()
Dexpand.c3000 out->handle_unknown = base->handle_unknown; in expand_module()
Dmodule_to_cil.c3904 switch (pdb->handle_unknown) { in handle_unknown_to_cil()
3915 log_err("Unknown value for handle-unknown: %i", pdb->handle_unknown); in handle_unknown_to_cil()
Dwrite.c2229 config |= (POLICYDB_CONFIG_UNKNOWN_MASK & p->handle_unknown); in policydb_write()
Dpolicydb.c4363 p->handle_unknown = buf[bufindex] & POLICYDB_CONFIG_UNKNOWN_MASK; in policydb_read()
/third_party/selinux/libsepol/include/sepol/
Dpolicydb.h95 unsigned int handle_unknown);
/third_party/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.c715 if (p->handle_unknown == ALLOW_UNKNOWN) in display_handle_unknown()
717 else if (p->handle_unknown == DENY_UNKNOWN) in display_handle_unknown()
719 else if (p->handle_unknown == REJECT_UNKNOWN) in display_handle_unknown()
/third_party/selinux/libsepol/cil/include/cil/
Dcil.h57 extern int cil_set_handle_unknown(cil_db_t *db, int handle_unknown);
/third_party/selinux/libsepol/cil/src/
Dcil_internal.h326 int handle_unknown; member
965 int handle_unknown; member
Dcil.c448 (*db)->handle_unknown = -1; in cil_db_init()
1865 int cil_set_handle_unknown(struct cil_db *db, int handle_unknown) in cil_set_handle_unknown() argument
1869 switch (handle_unknown) { in cil_set_handle_unknown()
1873 db->handle_unknown = handle_unknown; in cil_set_handle_unknown()
1876 cil_log(CIL_ERR, "Unknown value for handle-unknown: %i\n", handle_unknown); in cil_set_handle_unknown()
Dcil_write_ast.c677 if (unknown->handle_unknown == SEPOL_ALLOW_UNKNOWN) in cil_write_ast_node()
679 else if (unknown->handle_unknown == SEPOL_DENY_UNKNOWN) in cil_write_ast_node()
681 else if (unknown->handle_unknown == SEPOL_REJECT_UNKNOWN) in cil_write_ast_node()
Dcil_post.c2488 if (db->handle_unknown == -1) { in cil_post_verify()
2490 db->handle_unknown = SEPOL_DENY_UNKNOWN; in cil_post_verify()
2492 db->handle_unknown = handleunknown; in cil_post_verify()
Dcil_copy_ast.c1651 new->handle_unknown = orig->handle_unknown; in cil_copy_handleunknown()
Dcil_binary.c4324 pdb->handle_unknown = db->handle_unknown; in __cil_policydb_create()
4341 pdb->handle_unknown = db->handle_unknown; in __cil_policydb_init()
Dcil_verify.c1587 *handleunknown = ((struct cil_handleunknown*)node->data)->handle_unknown; in __cil_verify_helper()
Dcil_build_ast.c6037 unknown->handle_unknown = SEPOL_ALLOW_UNKNOWN; in cil_gen_handleunknown()
6039 unknown->handle_unknown = SEPOL_DENY_UNKNOWN; in cil_gen_handleunknown()
6041 unknown->handle_unknown = SEPOL_REJECT_UNKNOWN; in cil_gen_handleunknown()
/third_party/selinux/libsepol/include/sepol/policydb/
Dpolicydb.h610 unsigned handle_unknown; member
/third_party/python/Lib/test/
Dtest_nntplib.py514 self.handle_unknown()
540 def handle_unknown(self): member in NNTPv1Handler