From: Lennart Poettering Date: Thu, 29 Nov 2018 13:48:47 +0000 (+0100) Subject: machined: prefix child process name with 'sd' X-Git-Tag: v240~125^2~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f2747bf52b4762aa9623d3d4adf917434e8afc77;p=thirdparty%2Fsystemd.git 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. --- 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) {