Avoid potential negative array index access to cached text.
[LibreOffice.git] / sysui / desktop / apparmor / program.xpdfimport
blobf8bfbfe8fa49b7c7975f5e517c42f6b7843c247d
1 # ------------------------------------------------------------------
3 #    Copyright (C) 2016 Canonical Ltd.
4 #    Copyright (C) 2017 Software in the Public Interest, Inc.
6 #    This Source Code Form is subject to the terms of the Mozilla Public
7 #    License, v. 2.0. If a copy of the MPL was not distributed with this
8 #    file, You can obtain one at http://mozilla.org/MPL/2.0/.
10 #    Authors: Bryan Quigley <bryan.quigley@canonical.com>
11 #             Rene Engelhard <rene@debian.org>
13 # ------------------------------------------------------------------
15 #include <tunables/global>
17 profile libreoffice-xpdfimport INSTDIR-program/xpdfimport {
18   #include <abstractions/base>
20   #include <abstractions/user-tmp>
22   /usr/share/poppler/**     r,
23   /usr/share/libreoffice/share/config/* r,
24   owner @{HOME}/.config/libreoffice{,dev}/?/user/uno_packages/cache/log.txt rw,
26   INSTDIR-program/xpdfimport        pxm,
28   #Uncomment for build testing (should be one directory <- of instdir)
29   #/mnt/store/git/libo/**    r,