Searched refs:perdatum (Results 1 – 9 of 9) sorted by relevance
/external/selinux/python/audit2allow/ |
D | sepolgen-ifgen-attr-helper.c | 44 perm_datum_t *perdatum; in perm_name() local 46 perdatum = (perm_datum_t *) datum; in perm_name() 48 if (v->val == perdatum->s.value) { in perm_name()
|
/external/selinux/libsepol/src/ |
D | util.c | 69 perm_datum_t *perdatum; in perm_name() local 71 perdatum = (perm_datum_t *) datum; in perm_name() 73 if (v->val == perdatum->s.value) { in perm_name()
|
D | services.c | 1528 perm_datum_t *perdatum, *perdatum2; in validate_perm() local 1531 perdatum = (perm_datum_t *) datum; in validate_perm() 1538 if (perdatum->s.value != perdatum2->s.value) { in validate_perm()
|
D | policydb.c | 2057 perm_datum_t *perdatum; in perm_read() local 2062 perdatum = calloc(1, sizeof(perm_datum_t)); in perm_read() 2063 if (!perdatum) in perm_read() 2074 perdatum->s.value = le32_to_cpu(buf[1]); in perm_read() 2076 if (hashtab_insert(h, key, perdatum)) in perm_read() 2082 perm_destroy(key, perdatum, NULL); in perm_read()
|
D | write.c | 858 perm_datum_t *perdatum; in perm_write() local 864 perdatum = (perm_datum_t *) datum; in perm_write() 869 buf[items++] = cpu_to_le32(perdatum->s.value); in perm_write()
|
D | link.c | 1977 perm_datum_t *perdatum = (perm_datum_t *) datum; in find_perm() local 1978 if (arg->valuep == perdatum->s.value) { in find_perm()
|
/external/selinux/checkpolicy/ |
D | policy_define.c | 496 perm_datum_t *perdatum = 0; in define_common_perms() local 539 perdatum = (perm_datum_t *) malloc(sizeof(perm_datum_t)); in define_common_perms() 540 if (!perdatum) { in define_common_perms() 544 memset(perdatum, 0, sizeof(perm_datum_t)); in define_common_perms() 545 perdatum->s.value = comdatum->permissions.nprim + 1; in define_common_perms() 547 if (perdatum->s.value > (sizeof(sepol_access_vector_t) * 8)) { in define_common_perms() 554 (hashtab_datum_t) perdatum); in define_common_perms() 580 if (perdatum) in define_common_perms() 581 free(perdatum); in define_common_perms() 590 perm_datum_t *perdatum = 0, *perdatum2 = 0; in define_av_perms() local [all …]
|
D | module_compiler.c | 1180 perm_datum_t *perdatum; in is_perm_in_scope() local 1184 perdatum = (perm_datum_t *) hashtab_search(cladatum->permissions.table, in is_perm_in_scope() 1186 if (perdatum == NULL) { in is_perm_in_scope() 1189 return is_perm_in_stack(perdatum->s.value, cladatum->s.value, in is_perm_in_scope()
|
D | checkpolicy.c | 151 perm_datum_t *perdatum; in find_perm() local 153 perdatum = (perm_datum_t *) datum; in find_perm() 155 if (v->val == perdatum->s.value) { in find_perm()
|