Home
last modified time | relevance | path

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

/third_party/selinux/checkpolicy/
Dmodule_compiler.c785 char *perm_id = NULL; in require_class() local
792 while ((perm_id = queue_remove(id_queue)) != NULL) in require_class()
793 free(perm_id); in require_class()
833 while ((perm_id = queue_remove(id_queue)) != NULL) { in require_class()
837 perm = hashtab_search(datum->permissions.table, perm_id); in require_class()
841 perm_id); in require_class()
844 free(perm_id); in require_class()
850 perm_id); in require_class()
851 free(perm_id); in require_class()
858 perm_id); in require_class()
[all …]
Dmodule_compiler.h73 int is_perm_in_scope(const_hashtab_key_t perm_id, const_hashtab_key_t class_id);
/third_party/selinux/libsepol/src/
Davrule_block.c195 int is_perm_enabled(char *class_id, char *perm_id, policydb_t * p) in is_perm_enabled() argument
207 perm = hashtab_search(cladatum->permissions.table, perm_id); in is_perm_enabled()
213 perm_id); in is_perm_enabled()
Dlink.c127 char *perm_id = key, *new_id = NULL; in permission_copy_callback() local
138 dest_perm = hashtab_search(dest_class->permissions.table, perm_id); in permission_copy_callback()
142 perm_id); in permission_copy_callback()
150 new_id = strdup(perm_id); in permission_copy_callback()
177 state->cur_mod_name, perm_id, in permission_copy_callback()
1937 char *id, *perm_id; in is_decl_requires_met() local
1996 perm_id = fparg.key; in is_decl_requires_met()
1998 assert(perm_id != NULL); in is_decl_requires_met()
1999 if (!is_perm_enabled(id, perm_id, state->base)) { in is_decl_requires_met()
/third_party/selinux/libsepol/include/sepol/policydb/
Davrule_block.h39 extern int is_perm_enabled(char *class_id, char *perm_id, policydb_t * p);