summaryrefslogtreecommitdiff
path: root/sysui/desktop/apparmor/program.soffice.bin
diff options
context:
space:
mode:
authorBryan Quigley <gquigs@gmail.com>2016-04-12 15:08:51 -0400
committerBjörn Michaelsen <bjoern.michaelsen@canonical.com>2016-04-14 12:30:37 +0000
commit577fbba417454da8cd461da71fee8b97896d2497 (patch)
treee425aa04daec00f6467e75e387f62e88384bb563 /sysui/desktop/apparmor/program.soffice.bin
parenta2b289c403b7759032a2a50ae23b27f7bd74409f (diff)
tdf#99251 Update AppArmor Profiles
Make them less resrictive when executing other exes This lets the splash screen work again. Modify AppArmor.sh to be more useful. Change-Id: Icf06910c845d9389b9b75c1623037e1d07489728 Reviewed-on: https://gerrit.libreoffice.org/24043 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>
Diffstat (limited to 'sysui/desktop/apparmor/program.soffice.bin')
-rw-r--r--sysui/desktop/apparmor/program.soffice.bin11
1 files changed, 6 insertions, 5 deletions
diff --git a/sysui/desktop/apparmor/program.soffice.bin b/sysui/desktop/apparmor/program.soffice.bin
index e62216c8d62b..285b499f4dee 100644
--- a/sysui/desktop/apparmor/program.soffice.bin
+++ b/sysui/desktop/apparmor/program.soffice.bin
@@ -1,6 +1,6 @@
# ------------------------------------------------------------------
#
-# Copyright (C) 2015 Canonical Ltd.
+# Copyright (C) 2016 Canonical Ltd.
#
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
@@ -33,7 +33,7 @@
@{libreoffice_ext} += [jJ][pP][eE][gG]
@{libreoffice_ext} += [pP][nN][gG]
@{libreoffice_ext} += [sS][vV][gG]
-@{libreoffice_ext} += [sS][vV][gG][zZ]
+@{libreoffice_ext} += [sS][vV][gG][zZ]99251
@{libreoffice_ext} += [tT][iI][fF]
@{libreoffice_ext} += [tT][iI][fF][fF]
@@ -50,7 +50,7 @@
#Impress/Draw
@{libreoffice_ext} += [pP][pP][tTsS]{,x,X}
@{libreoffice_ext} += [pP][oO][tT]{,m,M}
-@{libreoffice_ext} += [sS][wW][fF]
+@{libreoffice_ext} += [sS][wW][fF] #Flash
@{libreoffice_ext} += [pP][sS][dD] #Photoshop
#Math
@@ -122,10 +122,11 @@ profile libreoffice-soffice INSTDIR-program/soffice.bin {
/usr/lib{,32,64}/jvm/** r,
INSTDIR-** ra,
INSTDIR-**.so rm,
+ INSTDIR-share/uno_packages/cache/* rw,
INSTDIR-program/soffice.bin rmix,
- INSTDIR-program/xpdfimport rPx,
+ INSTDIR-program/xpdfimport rpx,
/usr/bin/xdg-open rPUx,
- INSTDIR-program/senddoc rPx,
+ INSTDIR-program/senddoc rpx,
/usr/share/java/**.jar r,
/usr/share/hunspell/ r,