Home
last modified time | relevance | path

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

/external/libsepol/include/sepol/policydb/
Dpolicydb.h354 #define SYM_USERS 4 macro
390 #define p_users_scope scope[SYM_USERS]
484 #define p_users symtab[SYM_USERS]
495 #define p_user_val_to_name sym_val_to_name[SYM_USERS]
/external/libsepol/src/
Dusers.c238 tmp_ptr = realloc(policydb->sym_val_to_name[SYM_USERS], in sepol_user_modify()
243 policydb->sym_val_to_name[SYM_USERS] = tmp_ptr; in sepol_user_modify()
Dlink.c587 state->cur->map[SYM_USERS][user->s.value - 1] = base_user->s.value; in user_copy_callback()
828 bounds_val = state->cur->map[SYM_USERS][user->bounds - 1]; in user_bounds_copy_callback()
1643 if (hashtab_map(src_symtab[SYM_USERS].table, in copy_identifiers()
1894 if (symbol_num != SYM_ROLES && symbol_num != SYM_USERS) { in scope_copy_callback()
Dexpand.c675 if (!is_id_enabled((char *)key, state->base, SYM_USERS)) in user_bounds_copy_callback()
1042 if (!is_id_enabled(id, state->base, SYM_USERS)) { in user_copy_callback()
Dpolicydb.c1524 if (sym != SYM_ROLES && sym != SYM_USERS) { in symtab_insert()
3910 unsigned int i = SYM_USERS; in policydb_reindex_users()
/external/libsepol/tests/
Dtest-common.c105 CU_ASSERT(p->sym_val_to_name[SYM_USERS][d->s.value - 1] == (char *)key); in user_test_index()
/external/checkpolicy/
Dmodule_compiler.c426 declare_symbol(SYM_USERS, id, (hashtab_datum_t *) user, &value, in declare_user()
1017 require_symbol(SYM_USERS, id, (hashtab_datum_t *) user, in require_user()
Dpolicy_define.c3067 if (!is_id_in_scope(SYM_USERS, id)) { in define_cexpr()
3653 if (!is_id_in_scope(SYM_USERS, id)) { in parse_security_context()
/external/checkpolicy/test/
Ddismod.c346 display_id(p, fp, SYM_USERS, i, ""); in display_users()