summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--NEWS5
-rw-r--r--systemd/udev-control.socket2
-rw-r--r--systemd/udev-kernel.socket1
3 files changed, 8 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index d0590e07ac..344f21df72 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,8 @@
+udev 176
+========
+The systemd socket files use PassCred=yes, which requires systemd
+version 38.
+
udev 175
========
Bugfixes.
diff --git a/systemd/udev-control.socket b/systemd/udev-control.socket
index 858ddffd38..af7ef9a1d7 100644
--- a/systemd/udev-control.socket
+++ b/systemd/udev-control.socket
@@ -6,3 +6,5 @@ ConditionCapability=CAP_MKNOD
[Socket]
Service=udev.service
ListenSequentialPacket=/run/udev/control
+SocketMode=0600
+PassCred=yes
diff --git a/systemd/udev-kernel.socket b/systemd/udev-kernel.socket
index 1c5545378e..4a8f599840 100644
--- a/systemd/udev-kernel.socket
+++ b/systemd/udev-kernel.socket
@@ -7,3 +7,4 @@ ConditionCapability=CAP_MKNOD
Service=udev.service
ReceiveBuffer=134217728
ListenNetlink=kobject-uevent 1
+PassCred=yes