Home
last modified time | relevance | path

Searched refs:perm_datum_t (Results 1 – 13 of 13) sorted by relevance

/external/selinux/python/audit2allow/
Dsepolgen-ifgen-attr-helper.c44 perm_datum_t *perdatum; in perm_name()
46 perdatum = (perm_datum_t *) datum; in perm_name()
/external/selinux/libsepol/src/
Dutil.c69 perm_datum_t *perdatum; in perm_name()
71 perdatum = (perm_datum_t *) datum; in perm_name()
Davrule_block.c197 perm_datum_t *perm; in is_perm_enabled()
Dservices.c1244 perm_datum_t *perm_datum; in sepol_string_to_av_perm()
1253 perm_datum = (perm_datum_t *) in sepol_string_to_av_perm()
1264 perm_datum = (perm_datum_t *) in sepol_string_to_av_perm()
1528 perm_datum_t *perdatum, *perdatum2; in validate_perm()
1531 perdatum = (perm_datum_t *) datum; in validate_perm()
1533 perdatum2 = (perm_datum_t *) hashtab_search(h, key); in validate_perm()
Dlink.c127 perm_datum_t *perm, *new_perm = NULL, *dest_perm; in permission_copy_callback()
136 perm = (perm_datum_t *) datum; in permission_copy_callback()
156 (perm_datum_t *) calloc(1, sizeof(perm_datum_t)); in permission_copy_callback()
1977 perm_datum_t *perdatum = (perm_datum_t *) datum; in find_perm()
Dexpand.c195 perm_datum_t *perm, *new_perm; in perm_copy_callback()
198 perm = (perm_datum_t *) datum; in perm_copy_callback()
201 new_perm = (perm_datum_t *) malloc(sizeof(perm_datum_t)); in perm_copy_callback()
205 memset(new_perm, 0, sizeof(perm_datum_t)); in perm_copy_callback()
Dwrite.c858 perm_datum_t *perdatum; in perm_write()
864 perdatum = (perm_datum_t *) datum; in perm_write()
Dpolicydb.c2057 perm_datum_t *perdatum; in perm_read()
2062 perdatum = calloc(1, sizeof(perm_datum_t)); in perm_read()
/external/selinux/checkpolicy/
Dpolicy_define.c496 perm_datum_t *perdatum = 0; in define_common_perms()
539 perdatum = (perm_datum_t *) malloc(sizeof(perm_datum_t)); in define_common_perms()
544 memset(perdatum, 0, sizeof(perm_datum_t)); in define_common_perms()
590 perm_datum_t *perdatum = 0, *perdatum2 = 0; in define_av_perms()
646 perdatum = (perm_datum_t *) malloc(sizeof(perm_datum_t)); in define_av_perms()
651 memset(perdatum, 0, sizeof(perm_datum_t)); in define_av_perms()
666 (perm_datum_t *) hashtab_search(cladatum->comdatum-> in define_av_perms()
2037 perm_datum_t *perdatum = NULL; in define_te_avtab_xperms_helper()
2499 perm_datum_t *perdatum = NULL; in define_te_avtab_helper()
3543 perm_datum_t *perdatum; in define_constraint()
[all …]
Dmodule_compiler.c786 perm_datum_t *perm = NULL; in require_class()
1180 perm_datum_t *perdatum; in is_perm_in_scope()
1184 perdatum = (perm_datum_t *) hashtab_search(cladatum->permissions.table, in is_perm_in_scope()
Dcheckpolicy.c151 perm_datum_t *perdatum; in find_perm()
153 perdatum = (perm_datum_t *) datum; in find_perm()
/external/selinux/libsepol/include/sepol/policydb/
Dpolicydb.h104 } perm_datum_t; typedef
/external/selinux/libsepol/cil/src/
Dcil_binary.c269 perm_datum_t *sepol_perm = cil_malloc(sizeof(*sepol_perm)); in cil_common_to_policydb()
270 memset(sepol_perm, 0, sizeof(perm_datum_t)); in cil_common_to_policydb()
347 perm_datum_t *sepol_perm = cil_malloc(sizeof(*sepol_perm)); in cil_classorder_to_policydb()
348 memset(sepol_perm, 0, sizeof(perm_datum_t)); in cil_classorder_to_policydb()
1258 perm_datum_t *sepol_perm; in __perm_str_to_datum()