summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@vrfy.org>2011-11-30 15:21:01 +0100
committerKay Sievers <kay.sievers@vrfy.org>2011-12-05 17:23:56 +0100
commitc096407caaf1f3c03bb816e195eebb886662b03a (patch)
tree69e35dda0dbfb124c36679b36d8909989d333d53
parent48b14aa053b5a7c76a47ff560a4115ad41666290 (diff)
systemd: use PassCred=yes
-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