Home
last modified time | relevance | path

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

/external/selinux/libsemanage/src/
Dutilities.c104 int semanage_list_push(semanage_list_t ** list, const char *data) in semanage_list_push()
106 semanage_list_t *temp = NULL; in semanage_list_push()
114 if (!(temp = malloc(sizeof(semanage_list_t)))) in semanage_list_push()
127 char *semanage_list_pop(semanage_list_t ** list) in semanage_list_pop()
129 semanage_list_t *node = NULL; in semanage_list_pop()
144 void semanage_list_destroy(semanage_list_t ** list) in semanage_list_destroy()
146 semanage_list_t *temp; in semanage_list_destroy()
155 semanage_list_t *semanage_list_find(semanage_list_t * l, const char *data) in semanage_list_find()
165 int semanage_list_sort(semanage_list_t ** l) in semanage_list_sort()
167 semanage_list_t **array = NULL; in semanage_list_sort()
[all …]
Dutilities.h40 } 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);
144 semanage_list_t *semanage_slurp_file_filter(FILE * file,
Dgenhomedircon.c188 static semanage_list_t *default_shell_list(void) in default_shell_list()
190 semanage_list_t *list = NULL; in default_shell_list()
211 static semanage_list_t *get_shell_list(void) in get_shell_list()
215 semanage_list_t *list = NULL; in get_shell_list()
288 static semanage_list_t *get_home_dirs(genhomedircon_settings_t * s) in get_home_dirs()
290 semanage_list_t *homedir_list = NULL; in get_home_dirs()
291 semanage_list_t *shells = NULL; in get_home_dirs()
504 static semanage_list_t *make_template(genhomedircon_settings_t * s, in make_template()
508 semanage_list_t *template_data = NULL; in make_template()
583 const semanage_list_t * tpl, in write_replacements()
[all …]
Dsemanage_store.c1075 semanage_list_t *list = NULL; in semanage_get_active_modules()
1076 semanage_list_t *found = NULL; in semanage_get_active_modules()
/external/selinux/libsemanage/tests/
Dtest_utilities.c193 semanage_list_t *list = NULL; in test_semanage_list()
194 semanage_list_t *ptr = NULL; in test_semanage_list()
320 semanage_list_t *data, *tmp; in test_slurp_file_filter()