From: Kay Sievers Date: Wed, 30 Nov 2011 14:21:01 +0000 (+0100) Subject: systemd: use PassCred=yes X-Git-Tag: 176~62 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c096407caaf1f3c03bb816e195eebb886662b03a;p=systemd systemd: use PassCred=yes --- 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