Home
last modified time | relevance | path

Searched refs:SCOPE_REQ (Results 1 – 7 of 7) sorted by relevance

/third_party/selinux/checkpolicy/
Dmodule_compiler.c721 int ret = create_symbol(symbol_type, key, datum, dest_value, SCOPE_REQ); in require_symbol()
904 ret = create_role(SCOPE_REQ, isattr, &role, &key); in require_role_or_attribute()
945 ret = create_type(SCOPE_REQ, isattr, &type); in require_type_or_attribute()
975 ret = create_user(SCOPE_REQ, &user, &key); in require_user()
/third_party/selinux/libsepol/src/
Dlink.c691 } else if (scope->scope == SCOPE_REQ) { in sens_copy_callback()
732 } else if (scope->scope == SCOPE_REQ) { in cat_copy_callback()
1805 new_scope->scope = SCOPE_REQ; /* this is reset further down */ in scope_copy_callback()
1808 if (base_scope->scope == SCOPE_REQ && scope->scope == SCOPE_DECL) { in scope_copy_callback()
1822 } else if (base_scope->scope == SCOPE_DECL && scope->scope == SCOPE_REQ) { in scope_copy_callback()
1825 } else if (base_scope->scope == SCOPE_REQ && scope->scope == SCOPE_REQ) { in scope_copy_callback()
Dmodule_to_cil.c1983 if (scope == SCOPE_REQ) { in class_to_cil()
2123 if (scope == SCOPE_REQ) { in role_to_cil()
2243 if (scope == SCOPE_REQ) { in type_to_cil()
2428 if (scope == SCOPE_REQ) { in cat_to_cil()
3539 rc = func_to_cil[sym](indent, pdb, block, decl_stack, key, datum, SCOPE_REQ); in required_scopes_to_cil()
3557 …cil[args->sym_index](args->indent, args->pdb, args->block, args->decl_stack, key, data, SCOPE_REQ); in additive_scopes_to_cil_map()
Dpolicydb_validate.c186 case SCOPE_REQ: in validate_scope()
Dpolicydb.c786 POLICY_MOD ? SCOPE_REQ : SCOPE_DECL), 1, in roles_init()
1730 } else if (scope_datum->scope == SCOPE_REQ && scope == SCOPE_DECL) { in symtab_insert()
1748 if (scope_datum->scope == SCOPE_DECL && scope == SCOPE_REQ) { in symtab_insert()
/third_party/selinux/libsepol/include/sepol/policydb/
Dpolicydb.h493 #define SCOPE_REQ 1 macro
/third_party/selinux/checkpolicy/test/
Ddismod.c107 if (scope->scope == SCOPE_REQ) { in display_id()