Home
last modified time | relevance | path

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

/systemd-251/src/home/
Dhomework-mount.c184 static int make_userns(uid_t stored_uid, uid_t exposed_uid) { in make_userns() argument
189 assert(uid_is_valid(stored_uid)); in make_userns()
197 r = append_identity_range(&text, 0, HOME_UID_MIN, stored_uid); in make_userns()
202 r = strextendf(&text, UID_FMT " " UID_FMT " " UID_FMT "\n", stored_uid, exposed_uid, 1); in make_userns()
208 r = append_identity_range(&text, HOME_UID_MAX, UID_NOBODY, stored_uid); in make_userns()
215 … r = append_identity_range(&text, CONTAINER_UID_BASE_MIN, CONTAINER_UID_BASE_MAX+1, stored_uid); in make_userns()
237 int home_shift_uid(int dir_fd, const char *target, uid_t stored_uid, uid_t exposed_uid, int *ret_mo… in home_shift_uid() argument
242 assert(uid_is_valid(stored_uid)); in home_shift_uid()
269 userns_fd = make_userns(stored_uid, exposed_uid); in home_shift_uid()
299 …idmap mount to %s. Mapping is " UID_FMT " → " UID_FMT ".", strna(target), stored_uid, exposed_uid); in home_shift_uid()
Dhomework-mount.h10 int home_shift_uid(int dir_fd, const char *target, uid_t stored_uid, uid_t exposed_uid, int *ret_mo…