Home
last modified time | relevance | path

Searched refs:PID_FMT (Results 1 – 25 of 74) sorted by relevance

123

/systemd-251/src/test/
Dtest-log.c31 "MESSAGE=Waldo PID="PID_FMT" (no errno)", getpid_cached(), in test_log_struct()
36 LOG_MESSAGE("Waldo PID="PID_FMT" (no errno)", getpid_cached()), in test_log_struct()
40 LOG_MESSAGE("Waldo PID="PID_FMT": %m (normal)", getpid_cached()), in test_log_struct()
44 LOG_MESSAGE("Waldo PID="PID_FMT": %m (synthetic)", getpid_cached()), in test_log_struct()
48 LOG_MESSAGE("Foobar PID="PID_FMT, getpid_cached()), in test_log_struct()
Dtest-process-util.c53 xsprintf(path, "/proc/"PID_FMT"/comm", pid); in test_get_process_comm_one()
57 log_info("PID"PID_FMT" comm: '%s'", pid, a); in test_get_process_comm_one()
62 log_info("PID"PID_FMT" cmdline: '%s'", pid, c); in test_get_process_comm_one()
65 log_info("PID"PID_FMT" cmdline truncated to 8: '%s'", pid, d); in test_get_process_comm_one()
69 log_info("PID"PID_FMT" cmdline truncated to 1: '%s'", pid, d); in test_get_process_comm_one()
74 log_info("PID"PID_FMT" PPID: "PID_FMT, pid, e); in test_get_process_comm_one()
82 log_info("PID"PID_FMT" exe: '%s'", pid, strna(f)); in test_get_process_comm_one()
85 log_info("PID"PID_FMT" UID: "UID_FMT, pid, u); in test_get_process_comm_one()
88 log_info("PID"PID_FMT" GID: "GID_FMT, pid, g); in test_get_process_comm_one()
92 … log_info("PID"PID_FMT" strlen(environ): %zi", pid, env ? (ssize_t)strlen(env) : (ssize_t)-errno); in test_get_process_comm_one()
[all …]
Dtest-util.c135 log_info("before clone: getpid()→"PID_FMT, parent); in TEST()
142 log_info("raw_clone: "PID_FMT" getpid()→"PID_FMT" raw_getpid()→"PID_FMT, in TEST()
Dtest-tmpfiles.c31 assert_se(asprintf(&cmd, "ls -l /proc/"PID_FMT"/fd/%d", getpid_cached(), fd) > 0); in TEST()
41 assert_se(asprintf(&cmd2, "ls -l /proc/"PID_FMT"/fd/%d", getpid_cached(), fd2) > 0); in TEST()
/systemd-251/src/journal/
Djournald.c60 …log_debug("systemd-journald running as PID "PID_FMT" for namespace '%s'.", getpid_cached(), server… in main()
62 … log_debug("systemd-journald running as PID "PID_FMT" for the system.", getpid_cached()); in main()
125 …log_debug("systemd-journald stopped as PID "PID_FMT" for namespace '%s'.", getpid_cached(), server… in main()
127 … log_debug("systemd-journald stopped as PID "PID_FMT" for the system.", getpid_cached()); in main()
Djournald-wall.c34 … if (asprintf(&l_buf, "%s["PID_FMT"]: %s", strempty(identifier), ucred->pid, message) < 0) { in server_forward_wall()
Djournald-console.c73 xsprintf(header_pid, "["PID_FMT"]: ", ucred->pid); in server_forward_console()
/systemd-251/src/userdb/
Duserdbd-manager.c48 … log_warning("Weird, got SIGCHLD for unknown child " PID_FMT ", ignoring.", siginfo.si_pid); in on_sigchld()
54 … log_debug("Worker " PID_FMT " exited successfully.", siginfo.si_pid); in on_sigchld()
56 …log_warning("Worker " PID_FMT " died with a failure exit status %i, ignoring.", siginfo.si_pid, si… in on_sigchld()
58 …log_warning("Worker " PID_FMT " was killed by signal %s, ignoring.", siginfo.si_pid, signal_to_str… in on_sigchld()
60 …log_warning("Worker " PID_FMT " dumped core by signal %s, ignoring.", siginfo.si_pid, signal_to_st… in on_sigchld()
189 xsprintf(pids, PID_FMT, pid); in start_one_worker()
/systemd-251/src/core/
Dcrash-handler.c97 … log_emergency("Caught <%s> from PID "PID_FMT".", signal_to_string(sig), siginfo->si_pid); in crash()
109 … log_emergency("Caught <%s>, core dump failed (child "PID_FMT", code=%s, status=%i/%s).", in crash()
115 log_emergency("Caught <%s>, dumped core as pid "PID_FMT".", in crash()
147 log_info("Spawned crash shell as PID "PID_FMT".", pid); in crash()
Dservice.c179 …log_unit_warning(UNIT(s), "Supervising process "PID_FMT" which is not our child. We'll most likely… in service_set_main_pid()
851 "%sControl PID: "PID_FMT"\n", in service_dump()
856 "%sMain PID: "PID_FMT"\n" in service_dump()
944 …og_unit_full_errno(UNIT(s), prio, SYNTHETIC_ERRNO(EPERM), "New main PID "PID_FMT" is the manager, … in service_is_suitable_main_pid()
947 …og_unit_full_errno(UNIT(s), prio, SYNTHETIC_ERRNO(EPERM), "New main PID "PID_FMT" is the control p… in service_is_suitable_main_pid()
950 …og_unit_full_errno(UNIT(s), prio, SYNTHETIC_ERRNO(ESRCH), "New main PID "PID_FMT" does not exist o… in service_is_suitable_main_pid()
954 … log_unit_debug(UNIT(s), "New main PID "PID_FMT" belongs to service, we are happy.", pid); in service_is_suitable_main_pid()
1020 …"New main PID "PID_FMT" does not belong to service, and PID file is not owned by root. Refusing.",… in service_load_pid_file()
1022 …log_unit_debug(UNIT(s), "New main PID "PID_FMT" does not belong to service, but we'll accept it si… in service_load_pid_file()
1026 … log_unit_debug(UNIT(s), "Main PID changing: "PID_FMT" -> "PID_FMT, s->main_pid, pid); in service_load_pid_file()
[all …]
/systemd-251/src/shared/
Dkillall.c72 … log_notice("Process " PID_FMT " (%s) has been marked to be excluded from killing. It is " in ignore_proc()
90 r = strextendf(&lst_child, ", " PID_FMT " (%s)", PTR_TO_PID(p), s); in log_children_no_yet_killed()
92 r = strextendf(&lst_child, ", " PID_FMT, PTR_TO_PID(p)); in log_children_no_yet_killed()
218 log_notice("Sending SIGKILL to PID "PID_FMT" (%s).", pid, strna(s)); in killall()
Dclean-ipc.c70 …if (sscanf(line, "%*i %i %*o %*u " PID_FMT " " PID_FMT " %u " UID_FMT " " GID_FMT " " UID_FMT " " … in clean_sysvipc_shm()
192 …if (sscanf(line, "%*i %i %*o %*u %*u " PID_FMT " " PID_FMT " " UID_FMT " " GID_FMT " " UID_FMT " "… in clean_sysvipc_msg()
/systemd-251/src/shutdown/
Dumount.c553 …log_error_errno(r, "Remounting '%s' timed out, issuing SIGKILL to PID " PID_FMT ".", m->path, pid); in remount_with_timeout()
556 …log_debug_errno(r, "Remounting '%s' failed abnormally, child process " PID_FMT " aborted or exited… in remount_with_timeout()
558 … "Remounting '%s' failed unexpectedly, couldn't wait for child process " PID_FMT ": %m", m->path, … in remount_with_timeout()
595 …log_error_errno(r, "Unmounting '%s' timed out, issuing SIGKILL to PID " PID_FMT ".", m->path, pid); in umount_with_timeout()
598 …log_debug_errno(r, "Unmounting '%s' failed abnormally, child process " PID_FMT " aborted or exited… in umount_with_timeout()
600 … "Unmounting '%s' failed unexpectedly, couldn't wait for child process " PID_FMT ": %m", m->path, … in umount_with_timeout()
/systemd-251/src/libsystemd/sd-bus/
Dbus-container.c35 log_debug("sd-bus: connecting bus%s%s to namespace of PID "PID_FMT"...", in bus_container_connect_socket()
40 … return log_debug_errno(r, "Failed to open namespace of PID "PID_FMT": %m", b->nspid); in bus_container_connect_socket()
/systemd-251/src/portable/
Dportabled-operation.c18 log_debug("Operating " PID_FMT " is now complete with code=%s status=%i", in operation_done()
100 log_debug("Started new operation " PID_FMT ".", child); in operation_new()
Dportabled.c156 log_debug("systemd-portabled running as pid " PID_FMT, getpid_cached()); in run()
164 log_debug("systemd-portabled stopped as pid " PID_FMT, getpid_cached()); in run()
/systemd-251/src/machine/
Doperation.c19 log_debug("Operating " PID_FMT " is now complete with code=%s status=%i", in operation_done()
106 log_debug("Started new operation " PID_FMT ".", child); in operation_new()
Dmachine.c177 fprintf(f, "LEADER="PID_FMT"\n", m->leader); in machine_save()
456 "LEADER="PID_FMT, m->leader, in machine_start()
507 "LEADER="PID_FMT, m->leader, in machine_finalize()
668 xsprintf(p, "/proc/" PID_FMT "/uid_map", m->leader); in machine_get_uid_shift()
706 xsprintf(p, "/proc/" PID_FMT "/gid_map", m->leader); in machine_get_uid_shift()
Dmachined.c352 log_debug("systemd-machined running as pid "PID_FMT, getpid_cached()); in run()
360 log_debug("systemd-machined stopped as pid "PID_FMT, getpid_cached()); in run()
/systemd-251/src/basic/
Dnamespace-util.c204 xsprintf(path, "/proc/" PID_FMT "/uid_map", pid); in userns_acquire()
209 xsprintf(path, "/proc/" PID_FMT "/gid_map", pid); in userns_acquire()
/systemd-251/src/login/
Dlogind-inhibit.c108 "PID="PID_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/tty-ask-password-agent/
Dtty-ask-password-agent.c215 printf("'%s' (PID " PID_FMT ")\n", strna(message), pid); in process_one_password_file()
222 "Password entry required for \'%s\' (PID " PID_FMT ").\r\n" in process_one_password_file()
238 … log_info("Not querying '%s' (PID " PID_FMT "), lacking privileges.", strna(message), pid); in process_one_password_file()
/systemd-251/src/udev/
Dudevd.c720 …log_device_error(event->dev, "Worker ["PID_FMT"] processing SEQNUM=%"PRIu64" killed", event->worke… in on_event_timeout()
731 …log_device_warning(event->dev, "Worker ["PID_FMT"] processing SEQNUM=%"PRIu64" is taking a long ti… in on_event_timeout_warning()
801 …log_device_debug(event->dev, "Worker ["PID_FMT"] is forked for processing SEQNUM=%"PRIu64".", pid,… in worker_spawn()
823 …log_device_error_errno(event->dev, r, "Worker ["PID_FMT"] did not accept message, killing the work… in event_run()
1250 … log_debug("Worker ["PID_FMT"] returned, but is no longer tracked", ucred->pid); in on_worker()
1567 log_device_debug(dev, "Worker ["PID_FMT"] exited.", si->si_pid); in on_sigchld()
1569 log_device_warning(dev, "Worker ["PID_FMT"] exited with return code %i.", in on_sigchld()
1576 log_device_warning(dev, "Worker ["PID_FMT"] terminated by signal %i (%s).", in on_sigchld()
/systemd-251/src/activate/
Dactivate.c165 r = strv_extendf(&envp, "LISTEN_PID=" PID_FMT, getpid_cached()); in exec_process()
233 log_info("Spawned %s (%s) as PID " PID_FMT ".", child, joined, child_pid); in fork_and_exec_process()
/systemd-251/src/systemctl/
Dsystemctl-logind.c159 … return log_error_errno(SYNTHETIC_ERRNO(ERANGE), "Invalid PID "PID_FMT".", (pid_t) pid); in logind_check_inhibitors()
172 … log_warning("Operation inhibited by \"%s\" (PID "PID_FMT" \"%s\", user %s), reason is \"%s\".", in logind_check_inhibitors()

123