mosquitto/mosquitto-1.4.1_apparmor.patch

17 lines
492 B
Diff

Index: mosquitto-1.4.1/security/mosquitto.apparmor
===================================================================
--- mosquitto-1.4.1.orig/security/mosquitto.apparmor
+++ mosquitto-1.4.1/security/mosquitto.apparmor
@@ -1,3 +1,5 @@
+#include <tunables/global>
+
/usr/sbin/mosquitto {
#include <abstractions/base>
#include <abstractions/nameservice>
@@ -24,4 +26,5 @@
/lib{,32,64}/libwrap.so* rm,
/etc/hosts.allow r,
/etc/hosts.deny r,
+ #include <local/usr.sbin.mosquitto>
}