diff options
author | Lennart Poettering <lennart@poettering.net> | 2018-11-29 14:48:47 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2018-12-01 12:50:45 +0100 |
commit | f2747bf52b4762aa9623d3d4adf917434e8afc77 (patch) | |
tree | 5a00bb9be382031f6d94b95c6ac886a0f5f7b36b | |
parent | 55844aebb60b42f56335eb147dd395269d8fb686 (diff) | |
download | systemd-f2747bf52b4762aa9623d3d4adf917434e8afc77.tar.gz |
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.
-rw-r--r-- | src/machine/image-dbus.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/machine/image-dbus.c b/src/machine/image-dbus.c index 89df274544..512e5282b9 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) { |