Home
last modified time | relevance | path

Searched refs:tmp_user (Results 1 – 2 of 2) sorted by relevance

/external/selinux/libsemanage/src/
Duser_record.c233 semanage_user_t *tmp_user = calloc(1, sizeof(semanage_user_t)); in semanage_user_create() local
234 if (!tmp_user) in semanage_user_create()
237 if (semanage_user_base_create(handle, &tmp_user->base) < 0) in semanage_user_create()
239 if (semanage_user_extra_create(handle, &tmp_user->extra) < 0) in semanage_user_create()
243 if (semanage_user_extra_set_prefix(handle, tmp_user->extra, "user") < 0) in semanage_user_create()
246 *user_ptr = tmp_user; in semanage_user_create()
254 semanage_user_free(tmp_user); in semanage_user_create()
265 semanage_user_t *tmp_user = calloc(1, sizeof(semanage_user_t)); in hidden_def() local
266 if (!tmp_user) in hidden_def()
270 if (semanage_user_base_clone(handle, user->base, &tmp_user->base) < 0) in hidden_def()
[all …]
/external/selinux/libsepol/src/
Dcontext_record.c37 char *tmp_user = strdup(user); in hidden_def() local
38 if (!tmp_user) { in hidden_def()
45 con->user = tmp_user; in hidden_def()