Lines Matching refs:lock_path
213 char lock_path[STRLEN("/run/systemd/dynamic-uid/") + DECIMAL_STR_MAX(uid_t) + 1]; in pick_uid() local
263 xsprintf(lock_path, "/run/systemd/dynamic-uid/" UID_FMT, candidate); in pick_uid()
268 … lock_fd = open(lock_path, O_CREAT|O_RDWR|O_NOFOLLOW|O_CLOEXEC|O_NOCTTY, 0600); in pick_uid()
294 (void) unlink(lock_path); in pick_uid()
306 (void) unlink(lock_path); in pick_uid()
354 char lock_path[STRLEN("/run/systemd/dynamic-uid/") + DECIMAL_STR_MAX(uid_t) + 1]; in unlink_uid_lock() local
359 xsprintf(lock_path, "/run/systemd/dynamic-uid/" UID_FMT, uid); in unlink_uid_lock()
360 (void) unlink(lock_path); in unlink_uid_lock()
698 char lock_path[STRLEN("/run/systemd/dynamic-uid/") + DECIMAL_STR_MAX(uid_t) + 1]; in dynamic_user_lookup_uid() local
710 xsprintf(lock_path, "/run/systemd/dynamic-uid/" UID_FMT, uid); in dynamic_user_lookup_uid()
711 r = read_one_line_file(lock_path, &user); in dynamic_user_lookup_uid()