Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[DDW-1213] Add
libsystemd--device-monitor.patch
- Loading branch information
Showing
2 changed files
with
30 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,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 */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters