/systemd-251/src/home/ |
D | homework-mount.c | 166 … return strextendf(text, UID_FMT " " UID_FMT " " UID_FMT "\n", start, start, next_start - start); in append_identity_range() 172 …return strextendf(text, UID_FMT " " UID_FMT " " UID_FMT "\n", start+1, start+1, next_start - start… in append_identity_range() 175 …return strextendf(text, UID_FMT " " UID_FMT " " UID_FMT "\n", start, start, next_start - start - 1… in append_identity_range() 178 UID_FMT " " UID_FMT " " UID_FMT "\n" in append_identity_range() 179 UID_FMT " " UID_FMT " " UID_FMT "\n", in append_identity_range() 202 r = strextendf(&text, UID_FMT " " UID_FMT " " UID_FMT "\n", stored_uid, exposed_uid, 1); in make_userns() 221 … r = strextendf(&text, UID_FMT " " UID_FMT " " UID_FMT "\n", UID_MAPPED_ROOT, UID_MAPPED_ROOT, 1); in make_userns() 299 …log_debug("Applied uidmap mount to %s. Mapping is " UID_FMT " → " UID_FMT ".", strna(target), stor… in home_shift_uid()
|
D | homed-manager-bus.c | 122 … return sd_bus_error_setf(error, SD_BUS_ERROR_INVALID_ARGS, "UID " UID_FMT " is not valid", uid); in method_get_home_by_uid() 126 … return sd_bus_error_setf(error, BUS_ERROR_NO_SUCH_HOME, "No home for UID " UID_FMT " known", uid); in method_get_home_by_uid() 131 if (asprintf(&path, "/org/freedesktop/home1/home/" UID_FMT, h->uid) < 0) in method_get_home_by_uid() 253 … return sd_bus_error_setf(error, SD_BUS_ERROR_INVALID_ARGS, "UID " UID_FMT " is not valid", uid); in method_get_user_record_by_uid() 257 … return sd_bus_error_setf(error, BUS_ERROR_NO_SUCH_HOME, "No home for UID " UID_FMT " known", uid); in method_get_user_record_by_uid() 263 if (asprintf(&path, "/org/freedesktop/home1/home/" UID_FMT, h->uid) < 0) in method_get_user_record_by_uid() 364 …return sd_bus_error_setf(error, BUS_ERROR_UID_IN_USE, "Specified UID " UID_FMT " already in use by… in validate_and_allocate_home() 368 …return sd_bus_error_setf(error, BUS_ERROR_UID_IN_USE, "Specified UID " UID_FMT " already in use by… in validate_and_allocate_home() 372 …return sd_bus_error_setf(error, BUS_ERROR_UID_IN_USE, "Specified UID " UID_FMT " already in use as… in validate_and_allocate_home()
|
D | homework-quota.c | 63 … return log_error_errno(r, "Failed to query disk quota for UID " UID_FMT ": %m", h->uid); in home_update_quota_classic() 82 … return log_error_errno(r, "Failed to set disk quota for UID " UID_FMT ": %m", h->uid); in home_update_quota_classic()
|
/systemd-251/src/test/ |
D | test-uid-alloc-range.c | 22 "SYS_UID_MIN "UID_FMT"\n" in test_read_login_defs_one() 23 "SYS_UID_MAX "UID_FMT"\n" in test_read_login_defs_one() 36 log_info("system_alloc_uid_min="UID_FMT, defs.system_alloc_uid_min); in test_read_login_defs_one() 37 log_info("system_uid_max="UID_FMT, defs.system_uid_max); in test_read_login_defs_one() 65 log_info("system_alloc_uid_min="UID_FMT, defs->system_alloc_uid_min); in TEST() 66 log_info("system_uid_max="UID_FMT, defs->system_uid_max); in TEST() 73 log_info("uid_is_system("UID_FMT") = %s", uid, yes_no(uid_is_system(uid))); in TEST() 76 log_info("uid_is_system("UID_FMT") = %s", uid, yes_no(uid_is_system(uid))); in TEST() 79 log_info("uid_is_system("UID_FMT") = %s", uid, yes_no(uid_is_system(uid))); in TEST()
|
D | test-nss-users.c | 27 log_info(" \"%s\" / "UID_FMT":"GID_FMT, in print_struct_passwd() 117 log_info("%s("UID_FMT") → status=%s%-20serrno=%d/%s", in test_getpwuid_r()
|
D | test-acl-util.c | 48 log_info_errno(r, "fd_add_uid_acl_permission(%i, "UID_FMT", ACL_READ): %m", fd, uid); in TEST_RET()
|
/systemd-251/src/libsystemd/sd-login/ |
D | test-login.c | 25 sprintf(*buf + pos, "%s"UID_FMT"%n", k > 0 ? " " : "", uids[k], &inc); in format_uids() 64 log_info("sd_pid_get_owner_uid(0, …) → %s / "UID_FMT, e(r), u2); in TEST() 75 … log_info("sd_uid_get_display("UID_FMT", …) → %s / \"%s\"", u2, e(r), strnull(display_session)); in TEST() 88 log_info("sd_uid_get_sessions("UID_FMT", …) → %s \"%s\"", u2, e(r), t); in TEST() 102 log_info("sd_uid_get_seats("UID_FMT", …) → %s \"%s\"", u2, e(r), t); in TEST() 133 log_info("sd_session_get_uid(\"%s\") → "UID_FMT, session, u); in TEST() 182 log_info("sd_uid_get_state("UID_FMT", …) → %s", u, state2); in TEST() 195 log_info("sd_seat_get_active(\"%s\", …) → \"%s\", "UID_FMT, seat, session2, u2); in TEST()
|
/systemd-251/src/shared/ |
D | clean-ipc.c | 70 …f (sscanf(line, "%*i %i %*o %*u " PID_FMT " " PID_FMT " %u " UID_FMT " " GID_FMT " " UID_FMT " " G… in clean_sysvipc_shm() 132 if (sscanf(line, "%*i %i %*o %*u " UID_FMT " " GID_FMT " " UID_FMT " " GID_FMT, in clean_sysvipc_sem() 192 … (sscanf(line, "%*i %i %*o %*u %*u " PID_FMT " " PID_FMT " " UID_FMT " " GID_FMT " " UID_FMT " " G… in clean_sysvipc_msg()
|
D | uid-range.c | 226 … k = fscanf(f, UID_FMT " " UID_FMT " " UID_FMT "\n", &uid_base, &uid_shift, &uid_range); in uid_range_load_userns()
|
D | mount-util.c | 1060 if (asprintf(&line, UID_FMT " " UID_FMT " " UID_FMT "\n", 0, uid_shift, uid_range) < 0) in make_userns() 1075 UID_FMT " " UID_FMT " " UID_FMT "\n", in make_userns()
|
D | devnode-acl.c | 219 log_debug("Changing ACLs at %s for seat %s (uid "UID_FMT"→"UID_FMT"%s%s)", in devnode_acl_all()
|
D | userdb-dropin.c | 55 if (asprintf(&j, "%s/" UID_FMT ".user-privileged", d, uid) < 0) in load_user() 148 xsprintf(buf, UID_FMT ".user", uid); in dropin_user_record_by_uid()
|
/systemd-251/src/login/ |
D | user-runtime-dir.c | 79 … "mode=0700,uid=" UID_FMT ",gid=" GID_FMT ",size=%" PRIu64 ",nr_inodes=%" PRIu64 "%s", in user_mkdir_runtime_path() 160 xsprintf(runtime_path, "/run/user/" UID_FMT, uid); in do_mount() 162 log_debug("Will mount %s owned by "UID_FMT":"GID_FMT, runtime_path, uid, gid); in do_mount() 183 xsprintf(runtime_path, "/run/user/" UID_FMT, uid); in do_umount()
|
D | logind-inhibit.c | 107 "UID="UID_FMT"\n" in inhibitor_save() 179 log_debug("Inhibitor %s (%s) pid="PID_FMT" uid="UID_FMT" mode=%s started.", in inhibitor_start() 197 log_debug("Inhibitor %s (%s) pid="PID_FMT" uid="UID_FMT" mode=%s stopped.", in inhibitor_stop()
|
/systemd-251/src/machine/ |
D | machine.c | 682 k = fscanf(f, UID_FMT " " UID_FMT " " UID_FMT "\n", &uid_base, &uid_shift, &uid_range); in machine_get_uid_shift() 772 k = fscanf(f, UID_FMT " " UID_FMT " " UID_FMT, &uid_base, &uid_shift, &uid_range); in machine_owns_uid_internal() 844 k = fscanf(f, UID_FMT " " UID_FMT " " UID_FMT, &uid_base, &uid_shift, &uid_range); in machine_translate_uid_internal()
|
D | machined-varlink.c | 69 if (asprintf(&n, "vu-%s-" UID_FMT, machine->name, converted_uid) < 0) in user_lookup_uid() 76 if (asprintf(&rn, "UID " UID_FMT " of Container %s", converted_uid, machine->name) < 0) in user_lookup_uid() 128 if (asprintf(&rn, "UID " UID_FMT " of Container %s", uid, machine->name) < 0) in user_lookup_name()
|
/systemd-251/src/sysusers/ |
D | sysusers.c | 139 log_warning("login.defs specifies UID allocation range "UID_FMT"–"UID_FMT in maybe_emit_login_defs_warning() 140 " that is different than the built-in defaults ("UID_FMT"–"UID_FMT")", in maybe_emit_login_defs_warning() 437 … "%s: Detected collision for UID " UID_FMT ".", in write_temporary_passwd() 1096 return log_error_errno(r, "Failed to verify UID " UID_FMT ": %m", i->uid); in add_user() 1098 … log_info("Suggested user ID " UID_FMT " for %s already used.", i->uid, i->name); in add_user() 1110 … log_debug("User ID " UID_FMT " of file not suitable for %s.", c, i->name); in add_user() 1114 … return log_error_errno(r, "Failed to verify UID " UID_FMT ": %m", i->uid); in add_user() 1119 … log_debug("User ID " UID_FMT " of file for %s is already used.", c, i->name); in add_user() 1128 return log_error_errno(r, "Failed to verify UID " UID_FMT ": %m", i->uid); in add_user() 1146 … return log_error_errno(r, "Failed to verify UID " UID_FMT ": %m", i->uid); in add_user() [all …]
|
/systemd-251/src/tmpfiles/ |
D | test-offline-passwd.c | 26 log_info_errno(r, "name_to_uid_offline: %s → "UID_FMT": %m", name, uid); in test_resolve_one() 30 log_info_errno(r, "name_to_uid_offline: %s → "UID_FMT": %m", name, uid); in test_resolve_one()
|
/systemd-251/src/libsystemd/sd-bus/ |
D | bus-dump.c | 373 fprintf(f, "%sUID=%s"UID_FMT"%s", prefix, color, c->uid, suffix); in bus_creds_dump() 375 fprintf(f, "%sEUID=%s"UID_FMT"%s", prefix, color, c->euid, suffix); in bus_creds_dump() 377 fprintf(f, "%sSUID=%s"UID_FMT"%s", prefix, color, c->suid, suffix); in bus_creds_dump() 379 fprintf(f, "%sFSUID=%s"UID_FMT"%s", prefix, color, c->fsuid, suffix); in bus_creds_dump() 382 fprintf(f, "%sOwnerUID=%s"UID_FMT"%s", prefix, color, owner, suffix); in bus_creds_dump() 464 fprintf(f, "%sAuditLoginUID=%s"UID_FMT"%s", prefix, color, audit_loginuid, suffix); in bus_creds_dump()
|
/systemd-251/src/core/ |
D | selinux-access.c | 55 xsprintf(login_uid_buf, UID_FMT, login_uid); in audit_callback() 57 xsprintf(uid_buf, UID_FMT, uid); in audit_callback()
|
D | dynamic-user.c | 153 xsprintf(path1, "/run/systemd/dynamic-uid/direct:" UID_FMT, uid); in make_uid_symlinks() 263 xsprintf(lock_path, "/run/systemd/dynamic-uid/" UID_FMT, candidate); in pick_uid() 359 xsprintf(lock_path, "/run/systemd/dynamic-uid/" UID_FMT, uid); in unlink_uid_lock() 710 xsprintf(lock_path, "/run/systemd/dynamic-uid/" UID_FMT, uid); in dynamic_user_lookup_uid()
|
/systemd-251/src/nspawn/ |
D | nspawn-bind-user.c | 160 …"No suitable available UID in range " UID_FMT "…" UID_FMT " in container detected, can't map user.… in find_free_uid() 344 if (asprintf(&q, "%s/run/host/userdb/" UID_FMT "%s", root, uid, suffix) < 0) in write_and_symlink()
|
/systemd-251/src/basic/ |
D | mkdir.c | 71 xsprintf(u, UID_FMT, uid); in mkdir_safe_internal() 75 …"Directory \"%s\" already exists, but is owned by "UID_FMT":"GID_FMT" (%s:%s was requested), refus… in mkdir_safe_internal()
|
D | virt.c | 809 r = fscanf(f, UID_FMT " " UID_FMT " " UID_FMT "\n", &a, &b, &c); in userns_has_mapping()
|
/systemd-251/src/udev/ |
D | udev-ctrl.c | 199 log_error("Invalid sender uid "UID_FMT", ignoring message", cred->uid); in udev_ctrl_connection_event_handler() 243 log_error("Invalid sender uid "UID_FMT", closing connection", ucred.uid); in udev_ctrl_event_handler()
|