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.c1203 perm_datum_t *perm_datum; in sepol_string_to_av_perm()
1212 perm_datum = (perm_datum_t *) in sepol_string_to_av_perm()
1223 perm_datum = (perm_datum_t *) in sepol_string_to_av_perm()
1510 perm_datum_t *perdatum, *perdatum2; in validate_perm()
1513 perdatum = (perm_datum_t *) datum; in validate_perm()
1515 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()
1957 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.c2063 perm_datum_t *perdatum; in perm_read()
2068 perdatum = calloc(1, sizeof(perm_datum_t)); in perm_read()
4196 perm_datum_t *perm_datum; in policydb_string_to_av_perm()
4202 perm_datum = (perm_datum_t *) in policydb_string_to_av_perm()
4211 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.c495 perm_datum_t *perdatum = 0; in define_common_perms()
538 perdatum = (perm_datum_t *) malloc(sizeof(perm_datum_t)); in define_common_perms()
543 memset(perdatum, 0, sizeof(perm_datum_t)); in define_common_perms()
589 perm_datum_t *perdatum = 0, *perdatum2 = 0; in define_av_perms()
645 perdatum = (perm_datum_t *) malloc(sizeof(perm_datum_t)); in define_av_perms()
650 memset(perdatum, 0, sizeof(perm_datum_t)); in define_av_perms()
665 (perm_datum_t *) hashtab_search(cladatum->comdatum-> in define_av_perms()
2043 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()
1182 const perm_datum_t *perdatum; in is_perm_in_scope()
1186 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()