Home
last modified time | relevance | path

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

/external/selinux/policycoreutils/sepolgen-ifgen/
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.c180 perm_datum_t *perm; in is_perm_enabled()
Dservices.c1180 perm_datum_t *perm_datum; in sepol_string_to_av_perm()
1189 perm_datum = (perm_datum_t *) in sepol_string_to_av_perm()
1200 perm_datum = (perm_datum_t *) in sepol_string_to_av_perm()
1464 perm_datum_t *perdatum, *perdatum2; in validate_perm()
1467 perdatum = (perm_datum_t *) datum; in validate_perm()
1469 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()
1968 perm_datum_t *perdatum = (perm_datum_t *) datum; in find_perm()
Dexpand.c193 perm_datum_t *perm, *new_perm; in perm_copy_callback()
196 perm = (perm_datum_t *) datum; in perm_copy_callback()
199 new_perm = (perm_datum_t *) malloc(sizeof(perm_datum_t)); in perm_copy_callback()
203 memset(new_perm, 0, sizeof(perm_datum_t)); in perm_copy_callback()
Dwrite.c841 perm_datum_t *perdatum; in perm_write()
847 perdatum = (perm_datum_t *) datum; in perm_write()
Dpolicydb.c1900 perm_datum_t *perdatum; in perm_read()
1905 perdatum = calloc(1, sizeof(perm_datum_t)); in perm_read()
/external/selinux/checkpolicy/
Dpolicy_define.c491 perm_datum_t *perdatum = 0; in define_common_perms()
534 perdatum = (perm_datum_t *) malloc(sizeof(perm_datum_t)); in define_common_perms()
539 memset(perdatum, 0, sizeof(perm_datum_t)); in define_common_perms()
585 perm_datum_t *perdatum = 0, *perdatum2 = 0; in define_av_perms()
641 perdatum = (perm_datum_t *) malloc(sizeof(perm_datum_t)); in define_av_perms()
646 memset(perdatum, 0, sizeof(perm_datum_t)); in define_av_perms()
661 (perm_datum_t *) hashtab_search(cladatum->comdatum-> in define_av_perms()
1942 perm_datum_t *perdatum = NULL; in define_te_avtab_xperms_helper()
2398 perm_datum_t *perdatum = NULL; in define_te_avtab_helper()
3415 perm_datum_t *perdatum; in define_constraint()
[all …]
Dmodule_compiler.c746 perm_datum_t *perm = NULL; in require_class()
1300 perm_datum_t *perdatum; in is_perm_in_scope()
1304 perdatum = (perm_datum_t *) hashtab_search(cladatum->permissions.table, in is_perm_in_scope()
Dcheckpolicy.c148 perm_datum_t *perdatum; in find_perm()
150 perdatum = (perm_datum_t *) datum; in find_perm()
/external/selinux/libsepol/include/sepol/policydb/
Dpolicydb.h100 } perm_datum_t; typedef
/external/selinux/libsepol/cil/src/
Dcil_binary.c266 perm_datum_t *sepol_perm = cil_malloc(sizeof(*sepol_perm)); in cil_common_to_policydb()
267 memset(sepol_perm, 0, sizeof(perm_datum_t)); in cil_common_to_policydb()
344 perm_datum_t *sepol_perm = cil_malloc(sizeof(*sepol_perm)); in cil_classorder_to_policydb()
345 memset(sepol_perm, 0, sizeof(perm_datum_t)); in cil_classorder_to_policydb()
1224 perm_datum_t *sepol_perm; in __perm_str_to_datum()