Searched refs:perdatum (Results 1 – 8 of 8) sorted by relevance
/third_party/selinux/libsepol/src/ |
D | util.c | 73 perm_datum_t *perdatum; in perm_name() local 75 perdatum = (perm_datum_t *) datum; in perm_name() 77 if (v->val == perdatum->s.value) { in perm_name()
|
D | services.c | 1510 perm_datum_t *perdatum, *perdatum2; in validate_perm() local 1513 perdatum = (perm_datum_t *) datum; in validate_perm() 1520 if (perdatum->s.value != perdatum2->s.value) { in validate_perm()
|
D | policydb.c | 2063 perm_datum_t *perdatum; in perm_read() local 2068 perdatum = calloc(1, sizeof(perm_datum_t)); in perm_read() 2069 if (!perdatum) in perm_read() 2080 perdatum->s.value = le32_to_cpu(buf[1]); in perm_read() 2081 if (!value_isvalid(perdatum->s.value, nprim)) in perm_read() 2084 if (hashtab_insert(h, key, perdatum)) in perm_read() 2090 perm_destroy(key, perdatum, NULL); in perm_read()
|
D | write.c | 923 perm_datum_t *perdatum; in perm_write() local 929 perdatum = (perm_datum_t *) datum; in perm_write() 934 buf[items++] = cpu_to_le32(perdatum->s.value); in perm_write()
|
D | link.c | 1957 perm_datum_t *perdatum = (perm_datum_t *) datum; in find_perm() local 1958 if (arg->valuep == perdatum->s.value) { in find_perm()
|
/third_party/selinux/checkpolicy/ |
D | policy_define.c | 495 perm_datum_t *perdatum = 0; in define_common_perms() local 538 perdatum = (perm_datum_t *) malloc(sizeof(perm_datum_t)); in define_common_perms() 539 if (!perdatum) { in define_common_perms() 543 memset(perdatum, 0, sizeof(perm_datum_t)); in define_common_perms() 544 perdatum->s.value = comdatum->permissions.nprim + 1; in define_common_perms() 546 if (perdatum->s.value > (sizeof(sepol_access_vector_t) * 8)) { in define_common_perms() 553 (hashtab_datum_t) perdatum); in define_common_perms() 579 if (perdatum) in define_common_perms() 580 free(perdatum); in define_common_perms() 589 perm_datum_t *perdatum = 0, *perdatum2 = 0; in define_av_perms() local [all …]
|
D | module_compiler.c | 1182 const perm_datum_t *perdatum; in is_perm_in_scope() local 1186 perdatum = (perm_datum_t *) hashtab_search(cladatum->permissions.table, in is_perm_in_scope() 1188 if (perdatum == NULL) { in is_perm_in_scope() 1191 return is_perm_in_stack(perdatum->s.value, cladatum->s.value, in is_perm_in_scope()
|
D | checkpolicy.c | 154 perm_datum_t *perdatum; in find_perm() local 156 perdatum = (perm_datum_t *) datum; in find_perm() 158 if (v->val == perdatum->s.value) { in find_perm()
|