-
Notifications
You must be signed in to change notification settings - Fork 297
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[DDW-197] Fixes Ledger support on Linux
- Loading branch information
1 parent
b2823c4
commit eb35f45
Showing
5 changed files
with
32 additions
and
5 deletions.
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
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
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
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