Home
last modified time | relevance | path

Searched refs:perm_id (Results 1 – 5 of 5) sorted by relevance

/external/selinux/checkpolicy/
Dmodule_compiler.c784 char *perm_id = NULL; in require_class() local
791 while ((perm_id = queue_remove(id_queue)) != NULL) in require_class()
792 free(perm_id); in require_class()
831 while ((perm_id = queue_remove(id_queue)) != NULL) { in require_class()
835 perm = hashtab_search(datum->permissions.table, perm_id); in require_class()
839 perm_id); in require_class()
842 free(perm_id); in require_class()
848 perm_id); in require_class()
849 free(perm_id); in require_class()
855 free(perm_id); in require_class()
[all …]
Dmodule_compiler.h73 int is_perm_in_scope(hashtab_key_t perm_id, hashtab_key_t class_id);
/external/selinux/libsepol/src/
Davrule_block.c194 int is_perm_enabled(char *class_id, char *perm_id, policydb_t * p) in is_perm_enabled() argument
206 perm = hashtab_search(cladatum->permissions.table, perm_id); in is_perm_enabled()
212 perm_id); in is_perm_enabled()
Dlink.c126 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()
2003 char *id, *perm_id; in is_decl_requires_met() local
2069 perm_id = fparg.key; in is_decl_requires_met()
2071 assert(perm_id != NULL); in is_decl_requires_met()
2072 if (!is_perm_enabled(id, perm_id, state->base)) { in is_decl_requires_met()
/external/selinux/libsepol/include/sepol/policydb/
Davrule_block.h39 extern int is_perm_enabled(char *class_id, char *perm_id, policydb_t * p);