From c096407caaf1f3c03bb816e195eebb886662b03a Mon Sep 17 00:00:00 2001 From: Kay Sievers Date: Wed, 30 Nov 2011 15:21:01 +0100 Subject: [PATCH] systemd: use PassCred=yes --- NEWS | 5 +++++ systemd/udev-control.socket | 2 ++ systemd/udev-kernel.socket | 1 + 3 files changed, 8 insertions(+) diff --git a/NEWS b/NEWS index d0590e07..344f21df 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 858ddffd..af7ef9a1 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 1c554537..4a8f5998 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 -- 2.39.5