From ed5640d8b587fbcfed7dd7967f3de04b37a76f26 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 7 Apr 2024 11:06:44 +0200 Subject: Adding upstream version 4:7.4.7. Signed-off-by: Daniel Baumann --- sysui/desktop/apparmor/program.oosplash | 36 +++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 sysui/desktop/apparmor/program.oosplash (limited to 'sysui/desktop/apparmor/program.oosplash') diff --git a/sysui/desktop/apparmor/program.oosplash b/sysui/desktop/apparmor/program.oosplash new file mode 100644 index 000000000..dd1136bc9 --- /dev/null +++ b/sysui/desktop/apparmor/program.oosplash @@ -0,0 +1,36 @@ +# ------------------------------------------------------------------ +# +# Copyright (C) 2016 Canonical Ltd. +# Copyright (C) 2018 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 +# Rene Engelhard +# +# ------------------------------------------------------------------ + +#include + +profile libreoffice-oosplash INSTDIR-program/oosplash { + #include + #include + + /etc/libreoffice/ r, + /etc/libreoffice/** r, + /etc/passwd r, + /etc/nsswitch.conf r, + /run/nscd/passwd r, + /sys/devices/{virtual,pci[0-9]*}/**/queue/rotational r, # for isRotational() in desktop/unx/source/pagein.c + /usr/lib{,32,64}/ure/bin/javaldx rmpux, + /usr/share/libreoffice/program/* r, + INSTDIR-program/** r, + INSTDIR-program/soffice.bin rmpx, + INSTDIR-program/javaldx rmpux, + owner @{HOME}/.Xauthority r, + owner @{HOME}/.config/libreoffice{,dev}/?/user/uno_packages/cache/log.txt rw, + unix peer=(addr=@/tmp/.ICE-unix/* label=unconfined), + unix peer=(addr=@/tmp/.X11-unix/* label=unconfined), +} -- cgit v1.2.3