summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRene Engelhard <rene@debian.org>2017-12-11 20:03:45 +0100
committerCaolán McNamara <caolanm@redhat.com>2017-12-12 17:57:37 +0100
commit558807803e2a3882b28a60012bef82ad4ee73c0a (patch)
treeb4c5429dedfc5c3ecd973c2f03ad0410b87f20ff
parent19dc4127601932745ec80676ebfea077665d6d57 (diff)
apparmor: copy xpdfimport definition into xpdfimport and allow "m"
Dec 11 18:46:11 sid kernel: [ 176.085106] audit: type=1400 audit(1513014371.237:22): apparmor="DENIED" operation="file_mmap" profile="libreoffice-xpdfimport" name="/usr/lib/libreoffice/program/xpdfimport" pid=1511 comm="xpdfimport" requested_mask="m" denied_mask="m" fsuid=1000 ouid=0 Change-Id: I31ddb412d1dd95506a00d22739a33d2e6770ba23 Reviewed-on: https://gerrit.libreoffice.org/46258 Reviewed-by: Rene Engelhard <rene@debian.org> Tested-by: Rene Engelhard <rene@debian.org> Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
-rw-r--r--sysui/desktop/apparmor/program.xpdfimport6
1 files changed, 5 insertions, 1 deletions
diff --git a/sysui/desktop/apparmor/program.xpdfimport b/sysui/desktop/apparmor/program.xpdfimport
index 3934c0a04006..efe10dce020d 100644
--- a/sysui/desktop/apparmor/program.xpdfimport
+++ b/sysui/desktop/apparmor/program.xpdfimport
@@ -1,12 +1,14 @@
# ------------------------------------------------------------------
#
# Copyright (C) 2016 Canonical Ltd.
+# Copyright (C) 2017 Software in the Public Interest, Inc.
#
# 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
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
#
-# Author: Bryan Quigley <bryan.quigley@canonical.com>
+# Authors: Bryan Quigley <bryan.quigley@canonical.com>
+# Rene Engelhard <rene@debian.org>
#
# ------------------------------------------------------------------
@@ -22,6 +24,8 @@ profile libreoffice-xpdfimport INSTDIR-program/xpdfimport {
/usr/share/libreoffice/share/config/* r,
owner @{HOME}/.config/libreoffice{,dev}/?/user/uno_packages/cache/log.txt rw,
+ INSTDIR-program/xpdfimport pxm,
+
#Uncomment for build testing (should be one directory <- of instdir)
#/mnt/store/git/libo/** r,
}