forked from input-output-hk/daedalus
-
Notifications
You must be signed in to change notification settings - Fork 0
/
systemd.patch
17 lines (15 loc) · 1016 Bytes
/
systemd.patch
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
diff --git a/src/libsystemd/sd-device/device-monitor.c b/src/libsystemd/sd-device/device-monitor.c
index fd5900704d..f9106fdbe5 100644
--- a/src/libsystemd/sd-device/device-monitor.c
+++ b/src/libsystemd/sd-device/device-monitor.c
@@ -445,9 +445,9 @@ int device_monitor_receive_device(sd_device_monitor *m, sd_device **ret) {
"sd-device-monitor: No sender credentials received, message ignored.");
cred = (struct ucred*) CMSG_DATA(cmsg);
- if (cred->uid != 0)
- return log_debug_errno(SYNTHETIC_ERRNO(EAGAIN),
- "sd-device-monitor: Sender uid="UID_FMT", message ignored.", cred->uid);
+ //if (cred->uid != 0)
+ // return log_debug_errno(SYNTHETIC_ERRNO(EAGAIN),
+ // "sd-device-monitor: Sender uid="UID_FMT", message ignored.", cred->uid);
if (streq(buf.raw, "libudev")) {
/* udev message needs proper version magic */