Searched refs:SYM_USERS (Results 1 – 12 of 12) sorted by relevance
/third_party/selinux/libsepol/include/sepol/policydb/ |
D | policydb.h | 397 #define SYM_USERS 4 macro 435 #define p_users_scope scope[SYM_USERS] 529 #define p_users symtab[SYM_USERS] 540 #define p_user_val_to_name sym_val_to_name[SYM_USERS]
|
/third_party/selinux/libsepol/src/ |
D | policydb_validate.c | 69 if (validate_init(&flavors[SYM_USERS], p->p_user_val_to_name, p->p_users.nprim)) in validate_array_init() 264 if (validate_ebitmap(&cexp->names, &flavors[SYM_USERS])) in validate_constraint_nodes() 620 if (validate_value(user->s.value, &flavors[SYM_USERS])) in validate_user_datum() 632 if (user->bounds && validate_value(user->bounds, &flavors[SYM_USERS])) in validate_user_datum() 710 if (bool_xnor(p->user_val_to_struct[i], ebitmap_get_bit(&flavors[SYM_USERS].gaps, i))) in validate_datum_array_gaps() 1115 if (validate_value(con->user, &flavors[SYM_USERS])) in validate_context() 1261 if (validate_ebitmap(&scope_index->p_users_scope, &flavors[SYM_USERS])) in validate_scope_index()
|
D | users.c | 237 tmp_ptr = reallocarray(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()
|
D | avrule_block.c | 174 if (symbol_table == SYM_ROLES || symbol_table == SYM_USERS) { in is_id_enabled()
|
D | link.c | 589 state->cur->map[SYM_USERS][user->s.value - 1] = base_user->s.value; in user_copy_callback() 831 bounds_val = state->cur->map[SYM_USERS][user->bounds - 1]; in user_bounds_copy_callback() 1597 if (hashtab_map(src_symtab[SYM_USERS].table, in copy_identifiers() 1838 if (symbol_num != SYM_ROLES && symbol_num != SYM_USERS) { in scope_copy_callback()
|
D | expand.c | 634 if (!is_id_enabled((char *)key, state->base, SYM_USERS)) in user_bounds_copy_callback() 1004 if (!is_id_enabled(id, state->base, SYM_USERS)) { in user_copy_callback()
|
D | policydb.c | 1708 if (sym != SYM_ROLES && sym != SYM_USERS) { in symtab_insert() 4582 unsigned int i = SYM_USERS; in policydb_reindex_users()
|
/third_party/selinux/checkpolicy/ |
D | module_compiler.c | 59 [SYM_USERS] = "user", 523 ret = declare_symbol(SYM_USERS, id, datum, &value, &value); in create_user() 525 ret = require_symbol(SYM_USERS, id, datum, &value, &value); in create_user() 541 print_error_msg(ret, SYM_USERS); in create_user()
|
D | policy_define.c | 3863 if (!is_id_in_scope(SYM_USERS, id)) { in define_cexpr() 4443 if (!is_id_in_scope(SYM_USERS, id)) { in parse_security_context()
|
/third_party/selinux/libsepol/tests/ |
D | test-common.c | 108 CU_ASSERT(p->sym_val_to_name[SYM_USERS][d->s.value - 1] == (char *)key); in user_test_index()
|
/third_party/selinux/checkpolicy/test/ |
D | dismod.c | 370 display_id(p, fp, SYM_USERS, i, ""); in display_users()
|
/third_party/selinux/libsepol/cil/src/ |
D | cil_binary.c | 686 rc = symtab_insert(pdb, SYM_USERS, key, sepol_user, SCOPE_DECL, 0, &value); in cil_user_to_policydb()
|