HomeSort by relevance Sort by last modified time
    Searched refs:usrdatum (Results 1 - 8 of 8) sorted by null

  /external/libsepol/src/
users.c 21 user_datum_t *usrdatum = policydb->user_val_to_struct[user_idx]; local
22 ebitmap_t *roles = &(usrdatum->roles.roles);
50 &usrdatum->exp_dfltlevel) < 0) {
56 &usrdatum->exp_dfltlevel) < 0) {
74 if (mls_range_cpy(&context.range, &usrdatum->exp_range) < 0) {
116 user_datum_t *usrdatum = NULL; local
137 usrdatum = hashtab_search(policydb->p_users.table,
141 if (usrdatum) {
143 int value_cp = usrdatum->s.value;
144 user_datum_destroy(usrdatum);
321 user_datum_t *usrdatum = NULL; local
    [all...]
genusers.c 42 user_datum_t *usrdatum; local
87 usrdatum = hashtab_search(policydb->p_users.table, q);
88 if (usrdatum) {
90 ebitmap_destroy(&usrdatum->roles.roles);
91 ebitmap_init(&usrdatum->roles.roles);
103 usrdatum = malloc(sizeof(user_datum_t));
104 if (!usrdatum) {
112 user_datum_init(usrdatum);
113 usrdatum->s.value = ++policydb->p_users.nprim;
115 id, (hashtab_datum_t) usrdatum)) {
    [all...]
context.c 38 user_datum_t *usrdatum; local
65 usrdatum = p->user_val_to_struct[c->user - 1];
66 if (!usrdatum)
69 if (!ebitmap_get_bit(&usrdatum->cache, c->role - 1))
150 user_datum_t *usrdatum; local
168 usrdatum = (user_datum_t *) hashtab_search(policydb->p_users.table,
170 if (!usrdatum) {
174 scontext->user = usrdatum->s.value;
policydb.c 892 user_datum_t *usrdatum; local
894 usrdatum = (user_datum_t *) datum;
897 if (!usrdatum->s.value || usrdatum->s.value > p->p_users.nprim)
900 p->p_user_val_to_name[usrdatum->s.value - 1] = (char *)key;
901 p->user_val_to_struct[usrdatum->s.value - 1] = usrdatum;
2824 user_datum_t *usrdatum; local
    [all...]
mls.c 262 user_datum_t *usrdatum; local
312 usrdatum = p->user_val_to_struct[c->user - 1];
313 if (!mls_range_contains(usrdatum->exp_range, c->range))
write.c 1149 user_datum_t *usrdatum; local
1156 usrdatum = (user_datum_t *) datum;
1161 buf[items++] = cpu_to_le32(usrdatum->s.value);
1163 buf[items++] = cpu_to_le32(usrdatum->bounds);
1173 if (ebitmap_write(&usrdatum->roles.roles, fp))
1176 if (role_set_write(&usrdatum->roles, fp))
1188 if (mls_write_range_helper(&usrdatum->exp_range, fp))
1190 if (mls_write_level(&usrdatum->exp_dfltlevel, fp))
1196 if (mls_write_semantic_range_helper(&usrdatum->range, fp))
1198 if (mls_write_semantic_level_helper(&usrdatum->dfltlevel, fp)
    [all...]
services.c 1496 user_datum_t *usrdatum; local
    [all...]
  /external/checkpolicy/
policy_define.c 3457 user_datum_t *usrdatum; local
3566 user_datum_t *usrdatum; local
    [all...]

Completed in 430 milliseconds