|
Zbigniew Jędrzejewski-Szmek |
7d37aa |
From 6d243cc3e79fa1b4de4388661c9318d17a3d9d1a Mon Sep 17 00:00:00 2001
|
|
Zbigniew Jędrzejewski-Szmek |
7d37aa |
From: Yu Watanabe <watanabe.yu+github@gmail.com>
|
|
Zbigniew Jędrzejewski-Szmek |
7d37aa |
Date: Sat, 22 Dec 2018 19:49:47 +0900
|
|
Zbigniew Jędrzejewski-Szmek |
7d37aa |
Subject: [PATCH 4/4] Revert "udevd: configure a child process name for worker
|
|
Zbigniew Jędrzejewski-Szmek |
7d37aa |
processes"
|
|
Zbigniew Jędrzejewski-Szmek |
7d37aa |
|
|
Zbigniew Jędrzejewski-Szmek |
7d37aa |
This reverts commit 49f3ee7e74c714f55aab395c080b1099fc17f7fd.
|
|
Zbigniew Jędrzejewski-Szmek |
7d37aa |
---
|
|
Zbigniew Jędrzejewski-Szmek |
7d37aa |
src/udev/udevd.c | 2 +-
|
|
Zbigniew Jędrzejewski-Szmek |
7d37aa |
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
Zbigniew Jędrzejewski-Szmek |
7d37aa |
|
|
Zbigniew Jędrzejewski-Szmek |
7d37aa |
diff --git a/src/udev/udevd.c b/src/udev/udevd.c
|
|
Zbigniew Jędrzejewski-Szmek |
7d37aa |
index fb8724ea87..ec77bd4a71 100644
|
|
Zbigniew Jędrzejewski-Szmek |
7d37aa |
--- a/src/udev/udevd.c
|
|
Zbigniew Jędrzejewski-Szmek |
7d37aa |
+++ b/src/udev/udevd.c
|
|
Zbigniew Jędrzejewski-Szmek |
7d37aa |
@@ -534,7 +534,7 @@ static int worker_spawn(Manager *manager, struct event *event) {
|
|
Zbigniew Jędrzejewski-Szmek |
7d37aa |
if (r < 0)
|
|
Zbigniew Jędrzejewski-Szmek |
7d37aa |
return log_error_errno(r, "Worker: Failed to enable receiving of device: %m");
|
|
Zbigniew Jędrzejewski-Szmek |
7d37aa |
|
|
Zbigniew Jędrzejewski-Szmek |
7d37aa |
- r = safe_fork("(worker)", FORK_DEATHSIG, &pid;;
|
|
Zbigniew Jędrzejewski-Szmek |
7d37aa |
+ r = safe_fork(NULL, FORK_DEATHSIG, &pid;;
|
|
Zbigniew Jędrzejewski-Szmek |
7d37aa |
if (r < 0) {
|
|
Zbigniew Jędrzejewski-Szmek |
7d37aa |
event->state = EVENT_QUEUED;
|
|
Zbigniew Jędrzejewski-Szmek |
7d37aa |
return log_error_errno(r, "Failed to fork() worker: %m");
|
|
Zbigniew Jędrzejewski-Szmek |
7d37aa |
--
|
|
Zbigniew Jędrzejewski-Szmek |
7d37aa |
2.19.2
|
|
Zbigniew Jędrzejewski-Szmek |
7d37aa |
|