/external/selinux/libsemanage/src/ |
seusers_file.c | 27 const char *sename = semanage_seuser_get_sename(seuser); local 30 if (fprintf(str, "%s:%s", name, sename) < 0) 70 /* Extract sename */
|
seuser_record.c | 28 char *sename; member in struct:semanage_seuser 143 return seuser->sename; 149 semanage_seuser_t * seuser, const char *sename) 152 char *tmp_sename = strdup(sename); 158 free(seuser->sename); 159 seuser->sename = tmp_sename; 205 seuser->sename = NULL; 228 if (semanage_seuser_set_sename(handle, new_seuser, seuser->sename) < 0) 255 free(seuser->sename);
|
users_local.c | 31 const char *sename; local 42 sename = semanage_seuser_get_sename(records[i]); 43 if (strcmp(name, sename) == 0) { 46 sename, semanage_seuser_get_name(records[i]));
|
seusers_local.c | 21 static char *semanage_user_roles(semanage_handle_t * handle, const char *sename) { 29 if (semanage_user_key_create(handle, sename, &key) >= 0) { 60 const char *sename = NULL; local 72 sename = semanage_seuser_get_sename(seuser); 74 roles = semanage_user_roles(handle, sename); 82 if (sename && (!psename || strcmp(psename, sename) != 0)) { 84 strcat(msg,"sename"); 109 audit_log_semanage_message(fd, audit_type, NULL, msg, name, 0, sename, roles, mls, psename, proles, pmls, NULL, NULL,NULL, success); 125 const char *sename = semanage_seuser_get_sename(data) local 251 const char *sename = semanage_seuser_get_sename(seuser); local [all...] |
genhomedircon.c | 98 char *sename; member in struct:user_entry 633 if (sepol_context_set_user(sepolh, context, user->sename) < 0) { 773 char *sename = NULL; local 792 sename = strdup(sen); 793 if (!sename) 816 temp->sename = sename; 831 free(sename); 853 free(temp->sename); 946 const char *sename, [all...] |