Home
last modified time | relevance | path

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

/third_party/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()
832 while ((perm_id = queue_remove(id_queue)) != NULL) { in require_class()
836 perm = hashtab_search(datum->permissions.table, perm_id); in require_class()
840 perm_id); in require_class()
843 free(perm_id); in require_class()
849 perm_id); in require_class()
850 free(perm_id); in require_class()
856 free(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.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()
1984 char *id, *perm_id; in is_decl_requires_met() local
2043 perm_id = fparg.key; in is_decl_requires_met()
2045 assert(perm_id != NULL); in is_decl_requires_met()
2046 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);