chiark / gitweb /
units: conditionalize audit multicast socket on CAP_AUDIT_READ
authorLennart Poettering <lennart@poettering.net>
Wed, 20 May 2015 15:40:05 +0000 (17:40 +0200)
committerSven Eden <yamakuzure@gmx.net>
Tue, 14 Mar 2017 08:57:27 +0000 (09:57 +0100)
The multicast logic can only work if the capability is available, hence
require it.

src/libelogind/libelogind.pc.in

index 814652a22c8b0613b21677c815f670836eb9d787..4032c5b7315599716151544e7828d19073687bf1 100644 (file)
@@ -6,6 +6,7 @@
 #  (at your option) any later version.
 
 # See tmpfiles.d(5) for details
+ConditionCapability=CAP_AUDIT_READ
 
 v /var 0755 - - -