Home
last modified time | relevance | path

Searched refs:new_user (Results 1 – 4 of 4) sorted by relevance

/external/selinux/libsepol/src/
Duser_record.c340 sepol_user_t *new_user = NULL; in hidden_def() local
343 if (sepol_user_create(handle, &new_user) < 0) in hidden_def()
346 if (sepol_user_set_name(handle, new_user, user->name) < 0) in hidden_def()
350 if (sepol_user_add_role(handle, new_user, user->roles[i]) < 0) in hidden_def()
355 (sepol_user_set_mlslevel(handle, new_user, user->mls_level) < 0)) in hidden_def()
359 (sepol_user_set_mlsrange(handle, new_user, user->mls_range) < 0)) in hidden_def()
362 *user_ptr = new_user; in hidden_def()
367 sepol_user_free(new_user); in hidden_def()
Dlink.c536 user_datum_t *user, *base_user, *new_user = NULL; in user_copy_callback() local
550 if ((new_user = in user_copy_callback()
551 (user_datum_t *) malloc(sizeof(*new_user))) == NULL) { in user_copy_callback()
554 user_datum_init(new_user); in user_copy_callback()
558 new_user->s.value = state->base->p_users.nprim + 1; in user_copy_callback()
562 (hashtab_datum_t) new_user); in user_copy_callback()
567 base_user = new_user; in user_copy_callback()
572 if ((new_user = malloc(sizeof(*new_user))) == NULL) { in user_copy_callback()
575 user_datum_init(new_user); in user_copy_callback()
576 new_user->s.value = base_user->s.value; in user_copy_callback()
[all …]
Dexpand.c960 user_datum_t *new_user; in user_copy_callback() local
976 new_user = in user_copy_callback()
978 if (!new_user) { in user_copy_callback()
979 new_user = (user_datum_t *) malloc(sizeof(user_datum_t)); in user_copy_callback()
980 if (!new_user) { in user_copy_callback()
984 memset(new_user, 0, sizeof(user_datum_t)); in user_copy_callback()
987 new_user->s.value = state->out->p_users.nprim; in user_copy_callback()
988 state->usermap[user->s.value - 1] = new_user->s.value; in user_copy_callback()
993 free(new_user); in user_copy_callback()
998 (hashtab_datum_t) new_user); in user_copy_callback()
[all …]
/external/wpa_supplicant_8/hostapd/
Dconfig_file.c222 struct hostapd_eap_user *user = NULL, *tail = NULL, *new_user = NULL; in hostapd_config_read_eap_user() local
503 tail = new_user = user; in hostapd_config_read_eap_user()
521 conf->eap_user = new_user; in hostapd_config_read_eap_user()
523 hostapd_config_free_eap_users(new_user); in hostapd_config_read_eap_user()