Searched refs:user_extra (Results 1 – 6 of 6) sorted by relevance
/external/selinux/libsemanage/src/ |
D | user_extra_record.c | 36 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 …]
|
D | users_extra_file.c | 24 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()
|
D | user_internal.h | 144 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/ |
D | semodule_package.c | 99 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/ |
D | module.c | 146 free(p->user_extra); in hidden_def() 175 return p->user_extra; in sepol_module_package_get_user_extra() 217 if (set_char(&p->user_extra, data, len)) in sepol_module_package_set_user_extra() 563 mod->user_extra = (char *)malloc(mod->user_extra_len); in sepol_module_package_read() 564 if (!mod->user_extra) { in sepol_module_package_read() 569 (mod->user_extra, file, mod->user_extra_len)) { in sepol_module_package_read() 573 free(mod->user_extra); in sepol_module_package_read() 574 mod->user_extra = NULL; in sepol_module_package_read() 884 if ((p->seusers || p->user_extra) in sepol_module_package_write() 897 if (p->user_extra) in sepol_module_package_write() [all …]
|
/external/selinux/libsepol/include/sepol/policydb/ |
D | module.h | 44 char *user_extra; member
|