/external/selinux/checkpolicy/ |
D | checkmodule.c | 45 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()
|
D | checkpolicy.c | 99 static int handle_unknown = SEPOL_DENY_UNKNOWN; variable 446 handle_unknown = DENY_UNKNOWN; in main() 450 handle_unknown = ALLOW_UNKNOWN; in main() 454 handle_unknown = REJECT_UNKNOWN; in main() 579 parse_policy.handle_unknown = handle_unknown; in main()
|
/external/selinux/secilc/ |
D | secilc.c | 94 int handle_unknown = -1; in main() local 166 handle_unknown = SEPOL_DENY_UNKNOWN; in main() 168 handle_unknown = SEPOL_ALLOW_UNKNOWN; in main() 170 handle_unknown = SEPOL_REJECT_UNKNOWN; in main() 228 if (handle_unknown != -1) { in main() 229 rc = cil_set_handle_unknown(db, handle_unknown); in main()
|
/external/selinux/libsepol/src/ |
D | policydb_public.c | 138 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()
|
D | module_to_cil.c | 3824 switch (pdb->handle_unknown) { in handle_unknown_to_cil() 3835 log_err("Unknown value for handle-unknown: %i", pdb->handle_unknown); in handle_unknown_to_cil()
|
D | expand.c | 2988 out->handle_unknown = base->handle_unknown; in expand_module()
|
D | write.c | 2045 config |= (POLICYDB_CONFIG_UNKNOWN_MASK & p->handle_unknown); in policydb_write()
|
D | policydb.c | 3942 p->handle_unknown = buf[bufindex] & POLICYDB_CONFIG_UNKNOWN_MASK; in policydb_read()
|
/external/selinux/libsemanage/src/ |
D | conf-parse.y | 94 | 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;
|
D | semanage_conf.h | 44 int handle_unknown; member
|
D | direct_api.c | 1266 if (sh->conf->handle_unknown != -1) { in semanage_direct_commit() 1267 cil_set_handle_unknown(cildb, sh->conf->handle_unknown); in semanage_direct_commit()
|
/external/selinux/libsepol/include/sepol/ |
D | policydb.h | 95 unsigned int handle_unknown);
|
/external/selinux/libsepol/cil/include/cil/ |
D | cil.h | 51 extern int cil_set_handle_unknown(cil_db_t *db, int handle_unknown);
|
/external/selinux/checkpolicy/test/ |
D | dispol.c | 254 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()
|
D | dismod.c | 691 if (p->handle_unknown == ALLOW_UNKNOWN) in display_handle_unknown() 693 else if (p->handle_unknown == DENY_UNKNOWN) in display_handle_unknown() 695 else if (p->handle_unknown == REJECT_UNKNOWN) in display_handle_unknown()
|
/external/selinux/libsepol/cil/src/ |
D | cil.c | 288 (*db)->handle_unknown = -1; in cil_db_init() 1647 int cil_set_handle_unknown(struct cil_db *db, int handle_unknown) in cil_set_handle_unknown() argument 1651 switch (handle_unknown) { in cil_set_handle_unknown() 1655 db->handle_unknown = handle_unknown; in cil_set_handle_unknown() 1658 cil_log(CIL_ERR, "Unknown value for handle-unknown: %i\n", handle_unknown); in cil_set_handle_unknown()
|
D | cil_internal.h | 312 int handle_unknown; member 923 int handle_unknown; member
|
D | cil_post.c | 2015 if (db->handle_unknown == -1) { in cil_post_verify() 2017 db->handle_unknown = SEPOL_DENY_UNKNOWN; in cil_post_verify() 2019 db->handle_unknown = handleunknown; in cil_post_verify()
|
D | cil_write_ast.c | 1072 switch (handunknown->handle_unknown) { in cil_write_handleunknown() 1084 handunknown->handle_unknown); in cil_write_handleunknown()
|
D | cil_copy_ast.c | 1636 new->handle_unknown = orig->handle_unknown; in cil_copy_handleunknown()
|
D | cil_binary.c | 4087 pdb->handle_unknown = db->handle_unknown; in __cil_policydb_create() 4104 pdb->handle_unknown = db->handle_unknown; in __cil_policydb_init()
|
D | cil_verify.c | 1398 *handleunknown = ((struct cil_handleunknown*)node->data)->handle_unknown; in __cil_verify_helper()
|
D | cil_build_ast.c | 5745 unknown->handle_unknown = SEPOL_ALLOW_UNKNOWN; in cil_gen_handleunknown() 5747 unknown->handle_unknown = SEPOL_DENY_UNKNOWN; in cil_gen_handleunknown() 5749 unknown->handle_unknown = SEPOL_REJECT_UNKNOWN; in cil_gen_handleunknown()
|
/external/selinux/libsepol/include/sepol/policydb/ |
D | policydb.h | 589 unsigned handle_unknown; member
|
/external/selinux/prebuilts/bin/ |
D | seinfo.py | 302 print("Handle unknown classes: {0}".format(p.handle_unknown))
|