Home
last modified time | relevance | path

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

/external/selinux/checkpolicy/
Dmodule_compiler.c720 int ret = create_symbol(symbol_type, key, datum, dest_value, SCOPE_REQ); in require_symbol()
894 ret = create_role(SCOPE_REQ, isattr, &role, &key); in require_role_or_attribute()
935 ret = create_type(SCOPE_REQ, isattr, &type); in require_type_or_attribute()
965 ret = create_user(SCOPE_REQ, &user, &key); in require_user()
/external/selinux/libsepol/src/
Dlink.c689 } else if (scope->scope == SCOPE_REQ) { in sens_copy_callback()
730 } else if (scope->scope == SCOPE_REQ) { in cat_copy_callback()
1862 new_scope->scope = SCOPE_REQ; /* this is reset further down */ in scope_copy_callback()
1865 if (base_scope->scope == SCOPE_REQ && scope->scope == SCOPE_DECL) { in scope_copy_callback()
1879 } else if (base_scope->scope == SCOPE_DECL && scope->scope == SCOPE_REQ) { in scope_copy_callback()
1882 } else if (base_scope->scope == SCOPE_REQ && scope->scope == SCOPE_REQ) { in scope_copy_callback()
Dmodule_to_cil.c1949 if (scope == SCOPE_REQ) { in class_to_cil()
2088 if (scope == SCOPE_REQ) { in role_to_cil()
2211 if (scope == SCOPE_REQ) { in type_to_cil()
2400 if (scope == SCOPE_REQ) { in cat_to_cil()
3468 rc = func_to_cil[sym](indent, pdb, block, decl_stack, key, datum, SCOPE_REQ); in required_scopes_to_cil()
3486 …cil[args->sym_index](args->indent, args->pdb, args->block, args->decl_stack, key, data, SCOPE_REQ); in additive_scopes_to_cil_map()
Dpolicydb.c706 POLICY_MOD ? SCOPE_REQ : SCOPE_DECL), 1, in roles_init()
1667 } else if (scope_datum->scope == SCOPE_REQ && scope == SCOPE_DECL) { in symtab_insert()
/external/selinux/libsepol/include/sepol/policydb/
Dpolicydb.h477 #define SCOPE_REQ 1 macro
/external/selinux/checkpolicy/test/
Ddismod.c108 if (scope->scope == SCOPE_REQ) { in display_id()