summaryrefslogtreecommitdiff
path: root/sysui/desktop/apparmor
diff options
context:
space:
mode:
authorRene Engelhard <rene@debian.org>2018-05-24 11:47:55 +0200
committerRene Engelhard <rene@debian.org>2018-05-24 11:49:35 +0200
commit66597c10af0ee64c0930726bc9bda22b32e2199e (patch)
tree10f6041e73663c2e922a14f11fac19360d7c3726 /sysui/desktop/apparmor
parent434ba18afd5ec3e92e2725d649b898e25fcc4813 (diff)
apparmor: allow also /usr/lib{,32,64}/jvm/**/bin/java
since /usr/lib{,32,64}/jvm/**/jre/bin/java doesn't exist since OpenJDK 9 Change-Id: Ic9c052a756ba4a93595595da98148ff22169d333
Diffstat (limited to 'sysui/desktop/apparmor')
-rw-r--r--sysui/desktop/apparmor/program.soffice.bin3
1 files changed, 2 insertions, 1 deletions
diff --git a/sysui/desktop/apparmor/program.soffice.bin b/sysui/desktop/apparmor/program.soffice.bin
index 8ce7cbc171c1..6c3aa205025c 100644
--- a/sysui/desktop/apparmor/program.soffice.bin
+++ b/sysui/desktop/apparmor/program.soffice.bin
@@ -73,7 +73,7 @@
#include <tunables/global>
-profile libreoffice-soffice INSTDIR-program/soffice.bin {
+profile libreoffice-soffice INSTDIR-program/soffice.bin flags=(complain) {
#include <abstractions/private-files>
#include <abstractions/audio>
@@ -143,6 +143,7 @@ profile libreoffice-soffice INSTDIR-program/soffice.bin {
/usr/lib{,32,64}/jvm/ r,
/usr/lib{,32,64}/jvm/** r,
/usr/lib{,32,64}/jvm/**/jre/bin/java mix,
+ /usr/lib{,32,64}/jvm/**/bin/java mix,
INSTDIR-** rw,
INSTDIR-**.so m,
INSTDIR-program/soffice.bin mix,