Home
last modified time | relevance | path

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

/external/selinux/libsepol/include/sepol/policydb/
Dpolicydb.h377 #define SYM_USERS 4 macro
414 #define p_users_scope scope[SYM_USERS]
508 #define p_users symtab[SYM_USERS]
519 #define p_user_val_to_name sym_val_to_name[SYM_USERS]
/external/selinux/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()
829 bounds_val = state->cur->map[SYM_USERS][user->bounds - 1]; in user_bounds_copy_callback()
1644 if (hashtab_map(src_symtab[SYM_USERS].table, in copy_identifiers()
1895 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()
967 if (!is_id_enabled(id, state->base, SYM_USERS)) { in user_copy_callback()
Dpolicydb.c1538 if (sym != SYM_ROLES && sym != SYM_USERS) { in symtab_insert()
3953 unsigned int i = SYM_USERS; in policydb_reindex_users()
/external/selinux/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/selinux/checkpolicy/
Dmodule_compiler.c427 declare_symbol(SYM_USERS, id, (hashtab_datum_t *) user, &value, in declare_user()
1018 require_symbol(SYM_USERS, id, (hashtab_datum_t *) user, in require_user()
Dpolicy_define.c3740 if (!is_id_in_scope(SYM_USERS, id)) { in define_cexpr()
4326 if (!is_id_in_scope(SYM_USERS, id)) { in parse_security_context()
/external/selinux/checkpolicy/test/
Ddismod.c346 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()