Home
last modified time | relevance | path

Searched refs:handle_unknown (Results 1 – 24 of 24) 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/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_cil.c406 switch (pdb->handle_unknown) { in write_handle_unknown_to_cil()
417 sepol_log_err("Unknown value for handle-unknown: %i", pdb->handle_unknown); in write_handle_unknown_to_cil()
Dkernel_to_conf.c406 switch (pdb->handle_unknown) { in write_handle_unknown_to_conf()
417 sepol_log_err("Unknown value for handle-unknown: %i", pdb->handle_unknown); in write_handle_unknown_to_conf()
Dexpand.c2972 out->handle_unknown = base->handle_unknown; in expand_module()
Dmodule_to_cil.c3867 switch (pdb->handle_unknown) { in handle_unknown_to_cil()
3878 log_err("Unknown value for handle-unknown: %i", pdb->handle_unknown); in handle_unknown_to_cil()
Dwrite.c2207 config |= (POLICYDB_CONFIG_UNKNOWN_MASK & p->handle_unknown); in policydb_write()
Dpolicydb.c4327 p->handle_unknown = buf[bufindex] & POLICYDB_CONFIG_UNKNOWN_MASK; in policydb_read()
/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/include/sepol/
Dpolicydb.h95 unsigned int 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/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/src/
Dcil_internal.h326 int handle_unknown; member
964 int handle_unknown; member
Dcil.c448 (*db)->handle_unknown = -1; in cil_db_init()
1856 int cil_set_handle_unknown(struct cil_db *db, int handle_unknown) in cil_set_handle_unknown() argument
1860 switch (handle_unknown) { in cil_set_handle_unknown()
1864 db->handle_unknown = handle_unknown; in cil_set_handle_unknown()
1867 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.c2485 if (db->handle_unknown == -1) { in cil_post_verify()
2487 db->handle_unknown = SEPOL_DENY_UNKNOWN; in cil_post_verify()
2489 db->handle_unknown = handleunknown; in cil_post_verify()
Dcil_copy_ast.c1651 new->handle_unknown = orig->handle_unknown; in cil_copy_handleunknown()
Dcil_binary.c4190 pdb->handle_unknown = db->handle_unknown; in __cil_policydb_create()
4207 pdb->handle_unknown = db->handle_unknown; in __cil_policydb_init()
Dcil_verify.c1585 *handleunknown = ((struct cil_handleunknown*)node->data)->handle_unknown; in __cil_verify_helper()
Dcil_build_ast.c6003 unknown->handle_unknown = SEPOL_ALLOW_UNKNOWN; in cil_gen_handleunknown()
6005 unknown->handle_unknown = SEPOL_DENY_UNKNOWN; in cil_gen_handleunknown()
6007 unknown->handle_unknown = SEPOL_REJECT_UNKNOWN; in cil_gen_handleunknown()
/third_party/selinux/libsepol/include/sepol/policydb/
Dpolicydb.h609 unsigned handle_unknown; member
/third_party/python/Lib/test/
Dtest_nntplib.py514 self.handle_unknown()
540 def handle_unknown(self): member in NNTPv1Handler