Searched refs:perm_id (Results 1 – 5 of 5) sorted by relevance
/external/libsepol/src/ |
D | avrule_block.c | 177 int is_perm_enabled(char *class_id, char *perm_id, policydb_t * p) in is_perm_enabled() argument 189 perm = hashtab_search(cladatum->permissions.table, perm_id); in is_perm_enabled() 195 perm_id); in is_perm_enabled()
|
D | link.c | 126 char *perm_id = key, *new_id = NULL; in permission_copy_callback() local 137 dest_perm = hashtab_search(dest_class->permissions.table, perm_id); in permission_copy_callback() 141 perm_id); in permission_copy_callback() 149 new_id = strdup(perm_id); in permission_copy_callback() 176 state->cur_mod_name, perm_id, in permission_copy_callback() 1993 char *id, *perm_id; in is_decl_requires_met() local 2059 perm_id = fparg.key; in is_decl_requires_met() 2061 assert(perm_id != NULL); in is_decl_requires_met() 2062 if (!is_perm_enabled(id, perm_id, state->base)) { in is_decl_requires_met()
|
/external/checkpolicy/ |
D | module_compiler.c | 743 char *perm_id = NULL; in require_class() local 750 while ((perm_id = queue_remove(id_queue)) != NULL) in require_class() 751 free(perm_id); in require_class() 811 while ((perm_id = queue_remove(id_queue)) != NULL) { in require_class() 815 perm = hashtab_search(datum->permissions.table, perm_id); in require_class() 819 perm_id); in require_class() 822 free(perm_id); in require_class() 828 perm_id); in require_class() 829 free(perm_id); in require_class() 835 free(perm_id); in require_class() [all …]
|
D | module_compiler.h | 73 int is_perm_in_scope(hashtab_key_t perm_id, hashtab_key_t class_id);
|
/external/libsepol/include/sepol/policydb/ |
D | avrule_block.h | 35 extern int is_perm_enabled(char *class_id, char *perm_id, policydb_t * p);
|