Home
last modified time | relevance | path

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

/external/libsepol/src/
Duser_record.c330 sepol_user_t *new_user = NULL; in hidden_def() local
333 if (sepol_user_create(handle, &new_user) < 0) in hidden_def()
336 if (sepol_user_set_name(handle, new_user, user->name) < 0) in hidden_def()
340 if (sepol_user_add_role(handle, new_user, user->roles[i]) < 0) in hidden_def()
345 (sepol_user_set_mlslevel(handle, new_user, user->mls_level) < 0)) in hidden_def()
349 (sepol_user_set_mlsrange(handle, new_user, user->mls_range) < 0)) in hidden_def()
352 *user_ptr = new_user; in hidden_def()
357 sepol_user_free(new_user); in hidden_def()
Dlink.c529 user_datum_t *user, *base_user, *new_user = NULL; in user_copy_callback() local
543 if ((new_user = in user_copy_callback()
544 (user_datum_t *) malloc(sizeof(*new_user))) == NULL) { in user_copy_callback()
547 user_datum_init(new_user); in user_copy_callback()
551 new_user->s.value = state->base->p_users.nprim + 1; in user_copy_callback()
555 (hashtab_datum_t) new_user); in user_copy_callback()
560 base_user = new_user; in user_copy_callback()
565 if ((new_user = malloc(sizeof(*new_user))) == NULL) { in user_copy_callback()
568 user_datum_init(new_user); in user_copy_callback()
569 new_user->s.value = base_user->s.value; in user_copy_callback()
[all …]
Dexpand.c936 user_datum_t *new_user; in user_copy_callback() local
952 new_user = in user_copy_callback()
954 if (!new_user) { in user_copy_callback()
955 new_user = (user_datum_t *) malloc(sizeof(user_datum_t)); in user_copy_callback()
956 if (!new_user) { in user_copy_callback()
960 memset(new_user, 0, sizeof(user_datum_t)); in user_copy_callback()
963 new_user->s.value = state->out->p_users.nprim; in user_copy_callback()
964 state->usermap[user->s.value - 1] = new_user->s.value; in user_copy_callback()
969 free(new_user); in user_copy_callback()
974 (hashtab_datum_t) new_user); in user_copy_callback()
[all …]
/external/chromium/chrome/browser/password_manager/
Dpassword_form_manager_unittest.cc104 string16 new_user = ASCIIToUTF16("newuser"); in TEST_F() local
106 credentials.username_value = new_user; in TEST_F()
120 EXPECT_EQ(new_user, in TEST_F()
/external/kernel-headers/original/linux/
Dkey.h339 extern void switch_uid_keyring(struct user_struct *new_user);