Home
last modified time | relevance | path

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

/third_party/selinux/checkpolicy/
Dmodule_compiler.c720 int ret = create_symbol(symbol_type, key, datum, dest_value, SCOPE_REQ); in require_symbol()
895 ret = create_role(SCOPE_REQ, isattr, &role, &key); in require_role_or_attribute()
936 ret = create_type(SCOPE_REQ, isattr, &type); in require_type_or_attribute()
966 ret = create_user(SCOPE_REQ, &user, &key); in require_user()
/third_party/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()
1852 new_scope->scope = SCOPE_REQ; /* this is reset further down */ in scope_copy_callback()
1855 if (base_scope->scope == SCOPE_REQ && scope->scope == SCOPE_DECL) { in scope_copy_callback()
1869 } else if (base_scope->scope == SCOPE_DECL && scope->scope == SCOPE_REQ) { in scope_copy_callback()
1872 } else if (base_scope->scope == SCOPE_REQ && scope->scope == SCOPE_REQ) { in scope_copy_callback()
Dmodule_to_cil.c1976 if (scope == SCOPE_REQ) { in class_to_cil()
2116 if (scope == SCOPE_REQ) { in role_to_cil()
2236 if (scope == SCOPE_REQ) { in type_to_cil()
2421 if (scope == SCOPE_REQ) { in cat_to_cil()
3502 rc = func_to_cil[sym](indent, pdb, block, decl_stack, key, datum, SCOPE_REQ); in required_scopes_to_cil()
3520 …cil[args->sym_index](args->indent, args->pdb, args->block, args->decl_stack, key, data, SCOPE_REQ); in additive_scopes_to_cil_map()
Dpolicydb.c774 POLICY_MOD ? SCOPE_REQ : SCOPE_DECL), 1, in roles_init()
1717 } else if (scope_datum->scope == SCOPE_REQ && scope == SCOPE_DECL) { in symtab_insert()
1735 if (scope_datum->scope == SCOPE_DECL && scope == SCOPE_REQ) { in symtab_insert()
/third_party/selinux/libsepol/include/sepol/policydb/
Dpolicydb.h492 #define SCOPE_REQ 1 macro
/third_party/selinux/checkpolicy/test/
Ddismod.c107 if (scope->scope == SCOPE_REQ) { in display_id()