Searched refs:semanage_list_t (Results 1 – 5 of 5) sorted by relevance
/external/selinux/libsemanage/src/ |
D | utilities.c | 137 int semanage_list_push(semanage_list_t ** list, const char *data) in semanage_list_push() 139 semanage_list_t *temp = NULL; in semanage_list_push() 147 if (!(temp = malloc(sizeof(semanage_list_t)))) in semanage_list_push() 160 char *semanage_list_pop(semanage_list_t ** list) in semanage_list_pop() 162 semanage_list_t *node = NULL; in semanage_list_pop() 177 void semanage_list_destroy(semanage_list_t ** list) in semanage_list_destroy() 179 semanage_list_t *temp; in semanage_list_destroy() 188 semanage_list_t *semanage_list_find(semanage_list_t * l, const char *data) in semanage_list_find() 198 int semanage_list_sort(semanage_list_t ** l) in semanage_list_sort() 200 semanage_list_t **array = NULL; in semanage_list_sort() [all …]
|
D | utilities.h | 40 } semanage_list_t; typedef 91 int semanage_list_push(semanage_list_t ** list, const char *data) WARN_UNUSED; 92 char *semanage_list_pop(semanage_list_t ** list); 93 void semanage_list_destroy(semanage_list_t ** list); 94 semanage_list_t *semanage_list_find(semanage_list_t * l, 96 int semanage_list_sort(semanage_list_t ** l) WARN_UNUSED; 101 int semanage_cmp_plist_t(const semanage_list_t ** x, 102 const semanage_list_t ** y); 134 semanage_list_t *semanage_slurp_file_filter(FILE * file,
|
D | genhomedircon.c | 171 static semanage_list_t *default_shell_list(void) in default_shell_list() 173 semanage_list_t *list = NULL; in default_shell_list() 194 static semanage_list_t *get_shell_list(void) in get_shell_list() 198 semanage_list_t *list = NULL; in get_shell_list() 278 static semanage_list_t *get_home_dirs(genhomedircon_settings_t * s) in get_home_dirs() 280 semanage_list_t *homedir_list = NULL; in get_home_dirs() 281 semanage_list_t *shells = NULL; in get_home_dirs() 476 static semanage_list_t *make_template(genhomedircon_settings_t * s, in make_template() 480 semanage_list_t *template_data = NULL; in make_template() 552 semanage_list_t * tpl, const char *user, in write_home_dir_context() [all …]
|
D | semanage_store.c | 1054 semanage_list_t *list = NULL; in semanage_get_active_modules() 1055 semanage_list_t *found = NULL; in semanage_get_active_modules()
|
/external/selinux/libsemanage/tests/ |
D | test_utilities.c | 177 semanage_list_t *list = NULL; in test_semanage_list() 178 semanage_list_t *ptr = NULL; in test_semanage_list() 271 semanage_list_t *data, *tmp; in test_slurp_file_filter()
|