Searched refs:current_uid (Results 1 – 1 of 1) sorted by relevance
/systemd-251/src/nspawn/ |
D | nspawn-bind-user.c | 150 static int find_free_uid(const char *directory, uid_t max_uid, uid_t *current_uid) { in find_free_uid() argument 154 assert(current_uid); in find_free_uid() 156 for (;; (*current_uid) ++) { in find_free_uid() 157 if (*current_uid > MAP_UID_MAX || *current_uid > max_uid) in find_free_uid() 163 r = check_etc_passwd_collisions(directory, NULL, *current_uid); in find_free_uid() 170 r = check_etc_group_collisions(directory, NULL, (gid_t) *current_uid); in find_free_uid() 202 uid_t current_uid = MAP_UID_MIN; in bind_user_prepare() local 270 r = find_free_uid(directory, uid_range, ¤t_uid); in bind_user_prepare() 274 r = convert_user(directory, u, g, current_uid, &cu, &cg); in bind_user_prepare() 308 current_uid++; in bind_user_prepare()
|