set Referer on loading IFrames
[LibreOffice.git] / sysui / desktop / apparmor / program.senddoc
blob969130f4ea9086e596179b670b19d1be49830958
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-senddoc INSTDIR-program/senddoc {
18   #include <abstractions/base>
20   #include <abstractions/user-tmp>
22   /{usr/,}bin/sh        rmix,
23   /{usr/,}bin/bash      rmix,
24   /{usr/,}bin/dash      rmix,
25   /{usr/,}bin/sed       rmix,
26   /usr/bin/dirname      rmix,
27   /usr/bin/basename     rmix,
28   /{usr/,}bin/grep      rmix,
29   /{usr/,}bin/uname     rmix,
30   /usr/bin/xdg-open     rPUx,
31   /usr/bin/xdg-email    rPUx,
32   /dev/null             rw,
33   INSTDIR-program/uri-encode rmpux,
34   /usr/share/libreoffice/share/config/* r,
35   owner @{HOME}/.config/libreoffice{,dev}/?/user/uno_packages/cache/log.txt rw,