Home
last modified time | relevance | path

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

/external/selinux/checkpolicy/
Dcheckmodule.c44 static int handle_unknown = SEPOL_DENY_UNKNOWN; variable
118 p->handle_unknown = handle_unknown; in write_binary_policy()
182 handle_unknown = DENY_UNKNOWN; in main()
186 handle_unknown = REJECT_UNKNOWN; in main()
190 handle_unknown = ALLOW_UNKNOWN; in main()
215 if (handle_unknown && (policy_type != POLICY_BASE)) { in main()
250 modpolicydb.handle_unknown = handle_unknown; in main()
Dcheckpolicy.c99 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/
Dsecilc.c91 int handle_unknown = -1; in main() local
159 handle_unknown = SEPOL_DENY_UNKNOWN; in main()
161 handle_unknown = SEPOL_ALLOW_UNKNOWN; in main()
163 handle_unknown = SEPOL_REJECT_UNKNOWN; in main()
203 if (handle_unknown != -1) { in main()
204 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()
Dmodule_to_cil.c3670 switch (pdb->handle_unknown) { in handle_unknown_to_cil()
3681 log_err("Unknown value for handle-unknown: %i", pdb->handle_unknown); in handle_unknown_to_cil()
Dexpand.c2939 out->handle_unknown = base->handle_unknown; in expand_module()
Dwrite.c1972 config |= (POLICYDB_CONFIG_UNKNOWN_MASK & p->handle_unknown); in policydb_write()
Dpolicydb.c3776 p->handle_unknown = buf[bufindex] & POLICYDB_CONFIG_UNKNOWN_MASK; in policydb_read()
/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.c1183 if (sh->conf->handle_unknown != -1) { in semanage_direct_commit()
1184 cil_set_handle_unknown(cildb, sh->conf->handle_unknown); in semanage_direct_commit()
/external/selinux/libsepol/cil/include/cil/
Dcil.h51 extern int cil_set_handle_unknown(cil_db_t *db, int handle_unknown);
/external/selinux/libsepol/include/sepol/
Dpolicydb.h94 unsigned int handle_unknown);
/external/selinux/checkpolicy/test/
Ddispol.c305 if (p->handle_unknown == ALLOW_UNKNOWN) in display_handle_unknown()
307 else if (p->handle_unknown == DENY_UNKNOWN) in display_handle_unknown()
309 else if (p->handle_unknown == REJECT_UNKNOWN) in display_handle_unknown()
Ddismod.c691 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/
Dcil.c270 (*db)->handle_unknown = -1; in cil_db_init()
1573 int cil_set_handle_unknown(struct cil_db *db, int handle_unknown) in cil_set_handle_unknown() argument
1577 switch (handle_unknown) { in cil_set_handle_unknown()
1581 db->handle_unknown = handle_unknown; in cil_set_handle_unknown()
1584 cil_log(CIL_ERR, "Unknown value for handle-unknown: %i\n", handle_unknown); in cil_set_handle_unknown()
Dcil_internal.h290 int handle_unknown; member
867 int handle_unknown; member
Dcil_post.c1661 if (db->handle_unknown == -1) { in cil_post_verify()
1663 db->handle_unknown = SEPOL_DENY_UNKNOWN; in cil_post_verify()
1665 db->handle_unknown = handleunknown; in cil_post_verify()
Dcil_copy_ast.c1557 new->handle_unknown = orig->handle_unknown; in cil_copy_handleunknown()
Dcil_binary.c3601 pdb->handle_unknown = db->handle_unknown; in __cil_policydb_create()
3618 pdb->handle_unknown = db->handle_unknown; in __cil_policydb_init()
Dcil_verify.c1342 *handleunknown = ((struct cil_handleunknown*)node->data)->handle_unknown; in __cil_verify_helper()
Dcil_build_ast.c5473 unknown->handle_unknown = SEPOL_ALLOW_UNKNOWN; in cil_gen_handleunknown()
5475 unknown->handle_unknown = SEPOL_DENY_UNKNOWN; in cil_gen_handleunknown()
5477 unknown->handle_unknown = SEPOL_REJECT_UNKNOWN; in cil_gen_handleunknown()
/external/selinux/libsepol/include/sepol/policydb/
Dpolicydb.h585 unsigned handle_unknown; member
/external/selinux/libsepol/
DChangeLog206 * Allow handle_unknown in base to be overridden by semanage.conf from Stephen Smalley.
216 * Merged support for the handle_unknown policydb flag from Eric Paris.
/external/selinux/libsemanage/
DChangeLog240 * Allow handle_unknown in base to be overridden by semanage.conf from Stephen Smalley.