Home
last modified time | relevance | path

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

/external/libsepol/src/
Dutil.c65 perm_datum_t *perdatum; in perm_name()
67 perdatum = (perm_datum_t *) datum; in perm_name()
Davrule_block.c180 perm_datum_t *perm; in is_perm_enabled()
Dservices.c1104 perm_datum_t *perm_datum; in sepol_string_to_av_perm()
1113 perm_datum = (perm_datum_t *) in sepol_string_to_av_perm()
1124 perm_datum = (perm_datum_t *) in sepol_string_to_av_perm()
1388 perm_datum_t *perdatum, *perdatum2; in validate_perm()
1391 perdatum = (perm_datum_t *) datum; in validate_perm()
1393 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()
1967 perm_datum_t *perdatum = (perm_datum_t *) datum; in find_perm()
Dexpand.c269 perm_datum_t *perm, *new_perm; in perm_copy_callback()
272 perm = (perm_datum_t *) datum; in perm_copy_callback()
275 new_perm = (perm_datum_t *) malloc(sizeof(perm_datum_t)); in perm_copy_callback()
279 memset(new_perm, 0, sizeof(perm_datum_t)); in perm_copy_callback()
Dwrite.c808 perm_datum_t *perdatum; in perm_write()
814 perdatum = (perm_datum_t *) datum; in perm_write()
Dpolicydb.c1886 perm_datum_t *perdatum; in perm_read()
1891 perdatum = calloc(1, sizeof(perm_datum_t)); in perm_read()
/external/sepolicy/tools/
Dsepolicy-check.c57 int check_perm(avtab_ptr_t current, perm_datum_t *perm) { in check_perm()
66 perm_datum_t *perm, policydb_t *policy, avtab_t *avtab) { in expand_and_check()
120 perm_datum_t *perm = NULL; in check_rule()
/external/checkpolicy/
Dpolicy_define.c488 perm_datum_t *perdatum = 0; in define_common_perms()
531 perdatum = (perm_datum_t *) malloc(sizeof(perm_datum_t)); in define_common_perms()
536 memset(perdatum, 0, sizeof(perm_datum_t)); in define_common_perms()
582 perm_datum_t *perdatum = 0, *perdatum2 = 0; in define_av_perms()
638 perdatum = (perm_datum_t *) malloc(sizeof(perm_datum_t)); in define_av_perms()
643 memset(perdatum, 0, sizeof(perm_datum_t)); in define_av_perms()
658 (perm_datum_t *) hashtab_search(cladatum->comdatum-> in define_av_perms()
1732 perm_datum_t *perdatum = NULL; in define_te_avtab_helper()
2742 perm_datum_t *perdatum; in define_constraint()
2852 (perm_datum_t *) hashtab_search(cladatum-> in define_constraint()
[all …]
Dmodule_compiler.c745 perm_datum_t *perm = NULL; in require_class()
1299 perm_datum_t *perdatum; in is_perm_in_scope()
1303 perdatum = (perm_datum_t *) hashtab_search(cladatum->permissions.table, in is_perm_in_scope()
Dcheckpolicy.c147 perm_datum_t *perdatum; in find_perm()
149 perdatum = (perm_datum_t *) datum; in find_perm()
/external/sepolicy/tools/sepolicy-analyze/
Dneverallow.c192 perm_datum_t *perm = NULL; in read_classperms()
/external/libsepol/include/sepol/policydb/
Dpolicydb.h98 } perm_datum_t; typedef