Home
last modified time | relevance | path

Searched refs:user_extra (Results 1 – 6 of 6) sorted by relevance

/external/selinux/libsemanage/src/
Duser_extra_record.c36 user_extra, in semanage_user_extra_key_extract()
40 if (semanage_user_key_create(handle, user_extra->name, key_ptr) < 0) in semanage_user_extra_key_extract()
50 static int semanage_user_extra_compare(const semanage_user_extra_t * user_extra, in semanage_user_extra_compare() argument
57 return strcmp(user_extra->name, name); in semanage_user_extra_compare()
61 user_extra, in semanage_user_extra_compare2()
66 return strcmp(user_extra->name, user_extra2->name); in semanage_user_extra_compare2()
70 user_extra, in semanage_user_extra_compare2_qsort()
75 return strcmp((*user_extra)->name, (*user_extra2)->name); in semanage_user_extra_compare2_qsort()
80 user_extra) in semanage_user_extra_get_name()
83 return user_extra->name; in semanage_user_extra_get_name()
[all …]
Dusers_extra_file.c24 semanage_user_extra_t * user_extra, FILE * str) in user_extra_print() argument
27 const char *name = semanage_user_extra_get_name(user_extra); in user_extra_print()
28 const char *prefix = semanage_user_extra_get_prefix(user_extra); in user_extra_print()
43 semanage_user_extra_t * user_extra) in user_extra_parse() argument
62 if (semanage_user_extra_set_name(handle, user_extra, str) < 0) in user_extra_parse()
78 if (semanage_user_extra_set_prefix(handle, user_extra, str) < 0) in user_extra_parse()
Duser_internal.h144 const semanage_user_extra_t * user_extra,
148 user_extra);
151 semanage_user_extra_t * user_extra,
155 user_extra);
158 semanage_user_extra_t * user_extra,
161 hidden void semanage_user_extra_free(semanage_user_extra_t * user_extra);
/external/selinux/semodule-utils/semodule_package/
Dsemodule_package.c99 NULL, *user_extra = NULL; in main() local
163 if (user_extra) { in main()
168 user_extra = strdup(optarg); in main()
169 if (!user_extra) in main()
202 if (user_extra) { in main()
203 if (file_to_data(user_extra, &user_extradata, &user_extralen)) in main()
233 if (user_extra) in main()
261 free(user_extra); in main()
/external/selinux/libsepol/src/
Dmodule.c148 free(p->user_extra); in hidden_def()
177 return p->user_extra; in sepol_module_package_get_user_extra()
219 if (set_char(&p->user_extra, data, len)) in sepol_module_package_set_user_extra()
565 mod->user_extra = (char *)malloc(mod->user_extra_len); in sepol_module_package_read()
566 if (!mod->user_extra) { in sepol_module_package_read()
571 (mod->user_extra, file, mod->user_extra_len)) { in sepol_module_package_read()
575 free(mod->user_extra); in sepol_module_package_read()
576 mod->user_extra = NULL; in sepol_module_package_read()
886 if ((p->seusers || p->user_extra) in sepol_module_package_write()
899 if (p->user_extra) in sepol_module_package_write()
[all …]
/external/selinux/libsepol/include/sepol/policydb/
Dmodule.h44 char *user_extra; member