Searched refs:UID_FMT (Results 1 - 25 of 48) sorted by relevance

12

/systemd/src/basic/
H A Dformats-util.h34 # define UID_FMT "%" PRIu32 macro
36 # define UID_FMT "%" PRIu16 macro
H A Ddef.h63 #define KERNEL_USER_BUS_ADDRESS_FMT "kernel:path=/sys/fs/kdbus/"UID_FMT"-user/bus"
H A Duser-util.c250 if (asprintf(&ret, UID_FMT, uid) < 0)
/systemd/src/shared/
H A Dclean-ipc.c73 if (sscanf(line, "%*i %i %*o %*u " PID_FMT " " PID_FMT " %u " UID_FMT " " GID_FMT " " UID_FMT " " GID_FMT,
127 if (sscanf(line, "%*i %i %*o %*u " UID_FMT " " GID_FMT " " UID_FMT " " GID_FMT,
179 if (sscanf(line, "%*i %i %*o %*u %*u " PID_FMT " " PID_FMT " " UID_FMT " " GID_FMT " " UID_FMT " " GID_FMT,
H A Dinstall-printf.c88 if (asprintf(ret, UID_FMT, getuid()) < 0)
/systemd/src/libsystemd/sd-login/
H A Dtest-login.c52 printf("user = "UID_FMT"\n", u2);
103 printf("uid = "UID_FMT"\n", u);
158 printf("uid2 = "UID_FMT"\n", u2);
170 printf(" "UID_FMT, uids[k]);
213 printf(" "UID_FMT, uids[k]);
/systemd/src/bus-proxyd/
H A Dstdio-bridge.c188 "STATUS=Processing requests from client PID "PID_FMT" (%s); UID "UID_FMT" (%s)",
198 "[PID "PID_FMT"/%s; UID "UID_FMT"/%s]",
206 log_debug("Running on behalf of PID "PID_FMT" (%s), UID "UID_FMT" (%s), %s",
H A Dbus-xml-policy.c836 "Ownership permission check for uid=" UID_FMT " gid=" GID_FMT" name=%s: %s",
865 "Hello permission check for uid=" UID_FMT " gid=" GID_FMT": %s",
933 "Receive permission check %s for uid=" UID_FMT " gid=" GID_FMT" message=%s name=%s path=%s interface=%s member=%s: %s",
1006 "Send permission check %s for uid=" UID_FMT " gid=" GID_FMT" message=%s name=%s path=%s interface=%s member=%s: %s",
1134 printf("%sUser: %s ("UID_FMT")\n",
1156 printf("\t%s Item for " UID_FMT ":\n", draw_special_char(DRAW_ARROW), PTR_TO_UID(k));
H A Dbus-proxyd.c96 r = snprintf(comm, sizeof(comm), "p" PID_FMT "u" UID_FMT, p->local_creds.pid, p->local_creds.uid);
H A Dproxy.c771 log_debug("Dropped unmatched broadcast: uid=" UID_FMT " gid=" GID_FMT " pid=" PID_FMT " message=%s path=%s interface=%s member=%s sender=%s destination=%s",
817 log_error("Dropped messages due to queue overflow of local peer (pid: "PID_FMT" uid: "UID_FMT")", p->local_creds.pid, p->local_creds.uid);
821 "Failed to forward message we got from destination: uid=" UID_FMT " gid=" GID_FMT" message=%s destination=%s path=%s interface=%s member=%s: %m",
896 "Failed to forward message we got from local: uid=" UID_FMT " gid=" GID_FMT" message=%s destination=%s path=%s interface=%s member=%s: %m",
/systemd/src/login/
H A Dlogind-action.c139 log_debug("Refusing operation, %s is inhibited by UID "UID_FMT"/%s, PID "PID_FMT"/%s.",
146 log_error("Refusing operation, %s is inhibited by UID "UID_FMT"/%s, PID "PID_FMT"/%s.",
H A Dlogind-acl.c280 log_debug("Changing ACLs at %s for seat %s (uid "UID_FMT"→"UID_FMT"%s%s)",
H A Dlogind-user.c68 xsprintf(lu, UID_FMT, uid);
74 if (asprintf(&u->state_file, "/run/systemd/users/"UID_FMT, uid) < 0)
77 if (asprintf(&u->runtime_path, "/run/user/"UID_FMT, uid) < 0)
354 r = asprintf(&t, "mode=0700,smackfsroot=*,uid=" UID_FMT ",gid=" GID_FMT ",size=%zu", u->uid, u->gid, u->manager->runtime_dir_size);
356 r = asprintf(&t, "mode=0700,uid=" UID_FMT ",gid=" GID_FMT ",size=%zu", u->uid, u->gid, u->manager->runtime_dir_size);
H A Dlogind-inhibit.c106 "UID="UID_FMT"\n"
168 log_debug("Inhibitor %s (%s) pid="PID_FMT" uid="UID_FMT" mode=%s started.",
186 log_debug("Inhibitor %s (%s) pid="PID_FMT" uid="UID_FMT" mode=%s stopped.",
H A Dinhibit.c109 printf(" Who: %s (UID "UID_FMT"/%s, PID "PID_FMT"/%s)\n"
H A Dpam_systemd.c270 if (asprintf(&rt, "/run/user/"UID_FMT, pw->pw_uid) < 0)
379 "uid="UID_FMT" pid="PID_FMT" service=%s type=%s class=%s desktop=%s seat=%s vtnr=%"PRIu32" tty=%s display=%s remote=%s remote_user=%s remote_host=%s",
/systemd/src/core/
H A Dselinux-access.c70 xsprintf(login_uid_buf, UID_FMT, login_uid);
72 xsprintf(uid_buf, UID_FMT, uid);
H A Dunit-printf.c177 if (asprintf(ret, UID_FMT, getuid()) < 0)
/systemd/src/machine/
H A Dmachined-dbus.c894 return sd_bus_error_setf(error, SD_BUS_ERROR_INVALID_ARGS, "Invalid user ID " UID_FMT, uid);
913 k = fscanf(f, UID_FMT " " UID_FMT " " UID_FMT, &uid_base, &uid_shift, &uid_range);
928 return sd_bus_error_setf(error, SD_BUS_ERROR_INVALID_ARGS, "Invalid user ID " UID_FMT, uid);
947 return sd_bus_error_setf(error, SD_BUS_ERROR_INVALID_ARGS, "Invalid user ID " UID_FMT, uid);
949 return sd_bus_error_setf(error, BUS_ERROR_NO_SUCH_USER_MAPPING, "User " UID_FMT " belongs to host UID range", uid);
958 xsprintf(p, "/proc/" UID_FMT "/uid_map", machine->leader);
971 k = fscanf(f, UID_FMT " " UID_FMT " " UID_FM
[all...]
/systemd/src/libsystemd/sd-bus/
H A Dbus-dump.c377 fprintf(f, "%sUID=%s"UID_FMT"%s", prefix, color, c->uid, suffix);
379 fprintf(f, "%sEUID=%s"UID_FMT"%s", prefix, color, c->euid, suffix);
381 fprintf(f, "%sSUID=%s"UID_FMT"%s", prefix, color, c->suid, suffix);
383 fprintf(f, "%sFSUID=%s"UID_FMT"%s", prefix, color, c->fsuid, suffix);
386 fprintf(f, "%sOwnerUID=%s"UID_FMT"%s", prefix, color, owner, suffix);
472 fprintf(f, "%sAuditLoginUID=%s"UID_FMT"%s", prefix, color, audit_loginuid, suffix);
/systemd/src/test/
H A Dtest-process-util.c69 log_info("pid1 uid: "UID_FMT, u);
H A Dtest-cgroup-util.c212 printf(PID_FMT"\t%s\t%s\t"UID_FMT"\t%s\t%s\t%s\t%s\t%s\n",
/systemd/src/sysusers/
H A Dsysusers.c558 log_error("%s: Detected collision for UID " UID_FMT ".", passwd_path, pw->pw_uid);
921 return log_error_errno(r, "Failed to verify uid " UID_FMT ": %m", i->uid);
923 log_debug("Suggested user ID " UID_FMT " for %s already used.", i->uid, i->name);
935 log_debug("User ID " UID_FMT " of file not suitable for %s.", c, i->name);
939 return log_error_errno(r, "Failed to verify uid " UID_FMT ": %m", i->uid);
944 log_debug("User ID " UID_FMT " of file for %s is already used.", c, i->name);
953 return log_error_errno(r, "Failed to verify uid " UID_FMT ": %m", i->uid);
971 return log_error_errno(r, "Failed to verify uid " UID_FMT ": %m", i->uid);
989 log_info("Creating user %s (%s) with uid " UID_FMT " and gid " GID_FMT ".", i->name, strna(i->description), i->uid, i->gid);
/systemd/src/udev/
H A Dudev-ctrl.c200 log_error("sender uid="UID_FMT", message ignored", ucred.uid);
392 log_error("sender uid="UID_FMT", message ignored", cred->uid);
/systemd/src/nspawn/
H A Dnspawn-mount.c194 (void) asprintf(&buf, "%s,uid=" UID_FMT ",gid=" UID_FMT, options, uid_shift, uid_shift);
196 (void) asprintf(&buf, "uid=" UID_FMT ",gid=" UID_FMT, uid_shift, uid_shift);

Completed in 5690 milliseconds

12