From f2747bf52b4762aa9623d3d4adf917434e8afc77 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Thu, 29 Nov 2018 14:48:47 +0100 Subject: [PATCH] machined: prefix child process name with 'sd' So far we followed to rule that child processes we fork off without execve() are named "(sd-xyz)", but one child process didn't follow this. Correct that. --- src/machine/image-dbus.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/machine/image-dbus.c b/src/machine/image-dbus.c index 89df274544c..512e5282b93 100644 --- a/src/machine/image-dbus.c +++ b/src/machine/image-dbus.c @@ -169,7 +169,7 @@ int bus_image_method_clone( if (pipe2(errno_pipe_fd, O_CLOEXEC|O_NONBLOCK) < 0) return sd_bus_error_set_errnof(error, errno, "Failed to create pipe: %m"); - r = safe_fork("(imgclone)", FORK_RESET_SIGNALS, &child); + r = safe_fork("(sd-imgclone)", FORK_RESET_SIGNALS, &child); if (r < 0) return sd_bus_error_set_errnof(error, r, "Failed to fork(): %m"); if (r == 0) {