Home
last modified time | relevance | path

Searched refs:SYM_USERS (Results 1 – 11 of 11) sorted by relevance

/external/selinux/libsepol/include/sepol/policydb/
Dpolicydb.h395 #define SYM_USERS 4 macro
433 #define p_users_scope scope[SYM_USERS]
527 #define p_users symtab[SYM_USERS]
538 #define p_user_val_to_name sym_val_to_name[SYM_USERS]
/external/selinux/libsepol/src/
Dusers.c237 tmp_ptr = realloc(policydb->sym_val_to_name[SYM_USERS], in sepol_user_modify()
242 policydb->sym_val_to_name[SYM_USERS] = tmp_ptr; in sepol_user_modify()
Davrule_block.c174 if (symbol_table == SYM_ROLES || symbol_table == SYM_USERS) { in is_id_enabled()
Dlink.c587 state->cur->map[SYM_USERS][user->s.value - 1] = base_user->s.value; in user_copy_callback()
829 bounds_val = state->cur->map[SYM_USERS][user->bounds - 1]; in user_bounds_copy_callback()
1637 if (hashtab_map(src_symtab[SYM_USERS].table, in copy_identifiers()
1885 if (symbol_num != SYM_ROLES && symbol_num != SYM_USERS) { in scope_copy_callback()
Dexpand.c599 if (!is_id_enabled((char *)key, state->base, SYM_USERS)) in user_bounds_copy_callback()
965 if (!is_id_enabled(id, state->base, SYM_USERS)) { in user_copy_callback()
Dpolicydb.c1696 if (sym != SYM_ROLES && sym != SYM_USERS) { in symtab_insert()
4296 unsigned int i = SYM_USERS; in policydb_reindex_users()
/external/selinux/checkpolicy/
Dmodule_compiler.c59 [SYM_USERS] = "user",
522 ret = declare_symbol(SYM_USERS, id, datum, &value, &value); in create_user()
524 ret = require_symbol(SYM_USERS, id, datum, &value, &value); in create_user()
540 print_error_msg(ret, SYM_USERS); in create_user()
Dpolicy_define.c3842 if (!is_id_in_scope(SYM_USERS, id)) { in define_cexpr()
4427 if (!is_id_in_scope(SYM_USERS, id)) { in parse_security_context()
/external/selinux/libsepol/tests/
Dtest-common.c107 CU_ASSERT(p->sym_val_to_name[SYM_USERS][d->s.value - 1] == (char *)key); in user_test_index()
/external/selinux/checkpolicy/test/
Ddismod.c371 display_id(p, fp, SYM_USERS, i, ""); in display_users()
/external/selinux/libsepol/cil/src/
Dcil_binary.c690 rc = symtab_insert(pdb, SYM_USERS, key, sepol_user, SCOPE_DECL, 0, &value); in cil_user_to_policydb()