Home
last modified time | relevance | path

Searched refs:user_extra (Results 1 – 9 of 9) 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/policycoreutils/semodule_package/
Dsemodule_package.c95 NULL, *user_extra = NULL; in main() local
159 if (user_extra) { in main()
164 user_extra = strdup(optarg); in main()
165 if (!user_extra) in main()
198 if (user_extra) { in main()
199 if (file_to_data(user_extra, &user_extradata, &user_extralen)) in main()
229 if (user_extra) in main()
/external/selinux/libsepol/src/
Dmodule.c145 free(p->user_extra); in hidden_def()
174 return p->user_extra; in sepol_module_package_get_user_extra()
216 if (set_char(&p->user_extra, data, len)) in sepol_module_package_set_user_extra()
562 mod->user_extra = (char *)malloc(mod->user_extra_len); in sepol_module_package_read()
563 if (!mod->user_extra) { in sepol_module_package_read()
568 (mod->user_extra, file, mod->user_extra_len)) { in sepol_module_package_read()
572 free(mod->user_extra); in sepol_module_package_read()
573 mod->user_extra = NULL; in sepol_module_package_read()
899 if ((p->seusers || p->user_extra) in sepol_module_package_write()
912 if (p->user_extra) in sepol_module_package_write()
[all …]
/external/selinux/libsepol/include/sepol/policydb/
Dmodule.h43 char *user_extra; member
/external/selinux/libsemanage/
DChangeLog440 * Merged seuser/user_extra support patch from Joshua Brindle.
/external/selinux/libsepol/
DChangeLog425 * Merged seuser/user_extra support patch from Joshua Brindle.
/external/selinux/policycoreutils/
DChangeLog964 * Merged seuser/user_extra support patch to semodule_package