Home
last modified time | relevance | path

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

/third_party/selinux/libsepol/src/
Dutil.c73 perm_datum_t *perdatum; in perm_name()
75 perdatum = (perm_datum_t *) datum; in perm_name()
Davrule_block.c198 perm_datum_t *perm; in is_perm_enabled()
Dservices.c1204 perm_datum_t *perm_datum; in sepol_string_to_av_perm()
1213 perm_datum = (perm_datum_t *) in sepol_string_to_av_perm()
1224 perm_datum = (perm_datum_t *) in sepol_string_to_av_perm()
1511 perm_datum_t *perdatum, *perdatum2; in validate_perm()
1514 perdatum = (perm_datum_t *) datum; in validate_perm()
1516 perdatum2 = (perm_datum_t *) hashtab_search(h, key); in validate_perm()
Dlink.c128 perm_datum_t *perm, *new_perm = NULL, *dest_perm; in permission_copy_callback()
137 perm = (perm_datum_t *) datum; in permission_copy_callback()
157 (perm_datum_t *) calloc(1, sizeof(perm_datum_t)); in permission_copy_callback()
1911 perm_datum_t *perdatum = (perm_datum_t *) datum; in find_perm()
Dexpand.c225 perm_datum_t *perm, *new_perm; in perm_copy_callback()
228 perm = (perm_datum_t *) datum; in perm_copy_callback()
231 new_perm = (perm_datum_t *) malloc(sizeof(perm_datum_t)); in perm_copy_callback()
235 memset(new_perm, 0, sizeof(perm_datum_t)); in perm_copy_callback()
Dpolicydb.c2062 perm_datum_t *perdatum; in perm_read()
2067 perdatum = calloc(1, sizeof(perm_datum_t)); in perm_read()
4195 perm_datum_t *perm_datum; in policydb_string_to_av_perm()
4201 perm_datum = (perm_datum_t *) in policydb_string_to_av_perm()
4210 perm_datum = (perm_datum_t *) in policydb_string_to_av_perm()
Dwrite.c923 perm_datum_t *perdatum; in perm_write()
929 perdatum = (perm_datum_t *) datum; in perm_write()
/third_party/selinux/checkpolicy/
Dpolicy_define.c494 perm_datum_t *perdatum = 0; in define_common_perms()
537 perdatum = (perm_datum_t *) malloc(sizeof(perm_datum_t)); in define_common_perms()
542 memset(perdatum, 0, sizeof(perm_datum_t)); in define_common_perms()
588 perm_datum_t *perdatum = 0, *perdatum2 = 0; in define_av_perms()
644 perdatum = (perm_datum_t *) malloc(sizeof(perm_datum_t)); in define_av_perms()
649 memset(perdatum, 0, sizeof(perm_datum_t)); in define_av_perms()
664 (perm_datum_t *) hashtab_search(cladatum->comdatum-> in define_av_perms()
2042 perm_datum_t *perdatum = NULL; in define_te_avtab_xperms_helper()
2501 perm_datum_t *perdatum = NULL; in define_te_avtab_helper()
3525 perm_datum_t *perdatum; in define_constraint()
[all …]
Dmodule_compiler.c787 perm_datum_t *perm = NULL; in require_class()
1190 const perm_datum_t *perdatum; in is_perm_in_scope()
1194 perdatum = (perm_datum_t *) hashtab_search(cladatum->permissions.table, in is_perm_in_scope()
Dcheckpolicy.c154 perm_datum_t *perdatum; in find_perm()
156 perdatum = (perm_datum_t *) datum; in find_perm()
/third_party/selinux/libsepol/include/sepol/policydb/
Dpolicydb.h104 } perm_datum_t; typedef
/third_party/selinux/libsepol/cil/src/
Dcil_binary.c264 perm_datum_t *sepol_perm = cil_malloc(sizeof(*sepol_perm)); in cil_common_to_policydb()
265 memset(sepol_perm, 0, sizeof(perm_datum_t)); in cil_common_to_policydb()
342 perm_datum_t *sepol_perm = cil_malloc(sizeof(*sepol_perm)); in cil_classorder_to_policydb()
343 memset(sepol_perm, 0, sizeof(perm_datum_t)); in cil_classorder_to_policydb()
1297 perm_datum_t *sepol_perm; in __perm_str_to_datum()