Home
last modified time | relevance | path

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

12

/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()
Dexpand.c2956 out->handle_unknown = base->handle_unknown; in expand_module()
Dmodule_to_cil.c3721 switch (pdb->handle_unknown) { in handle_unknown_to_cil()
3732 log_err("Unknown value for handle-unknown: %i", pdb->handle_unknown); in handle_unknown_to_cil()
Dwrite.c1976 config |= (POLICYDB_CONFIG_UNKNOWN_MASK & p->handle_unknown); in policydb_write()
/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.c1238 if (sh->conf->handle_unknown != -1) { in semanage_direct_commit()
1239 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.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.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.c282 (*db)->handle_unknown = -1; in cil_db_init()
1620 int cil_set_handle_unknown(struct cil_db *db, int handle_unknown) in cil_set_handle_unknown() argument
1624 switch (handle_unknown) { in cil_set_handle_unknown()
1628 db->handle_unknown = handle_unknown; in cil_set_handle_unknown()
1631 cil_log(CIL_ERR, "Unknown value for handle-unknown: %i\n", handle_unknown); in cil_set_handle_unknown()
Dcil_internal.h304 int handle_unknown; member
911 int handle_unknown; member
Dcil_post.c1981 if (db->handle_unknown == -1) { in cil_post_verify()
1983 db->handle_unknown = SEPOL_DENY_UNKNOWN; in cil_post_verify()
1985 db->handle_unknown = handleunknown; in cil_post_verify()
Dcil_copy_ast.c1636 new->handle_unknown = orig->handle_unknown; in cil_copy_handleunknown()
Dcil_binary.c3902 pdb->handle_unknown = db->handle_unknown; in __cil_policydb_create()
3919 pdb->handle_unknown = db->handle_unknown; in __cil_policydb_init()
Dcil_verify.c1399 *handleunknown = ((struct cil_handleunknown*)node->data)->handle_unknown; in __cil_verify_helper()
Dcil_build_ast.c5805 unknown->handle_unknown = SEPOL_ALLOW_UNKNOWN; in cil_gen_handleunknown()
5807 unknown->handle_unknown = SEPOL_DENY_UNKNOWN; in cil_gen_handleunknown()
5809 unknown->handle_unknown = SEPOL_REJECT_UNKNOWN; in cil_gen_handleunknown()
/external/selinux/libsepol/include/sepol/policydb/
Dpolicydb.h588 unsigned handle_unknown; member
/external/selinux/prebuilts/bin/
Dseinfo.py258 p.version, mls, p.handle_unknown))
/external/selinux/libsepol/
DChangeLog231 * Allow handle_unknown in base to be overridden by semanage.conf from Stephen Smalley.
241 * Merged support for the handle_unknown policydb flag from Eric Paris.
/external/selinux/libsemanage/
DChangeLog250 * Allow handle_unknown in base to be overridden by semanage.conf from Stephen Smalley.

12