From e3d08f3de795f220995f345dc0b1253e1d9a35f9 Mon Sep 17 00:00:00 2001 From: Alexandre Pujol Date: Fri, 2 Apr 2021 10:25:17 +0100 Subject: [PATCH] Add mission-control --- apparmor.d/profiles-m-z/mission-control | 28 +++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 apparmor.d/profiles-m-z/mission-control diff --git a/apparmor.d/profiles-m-z/mission-control b/apparmor.d/profiles-m-z/mission-control new file mode 100644 index 00000000..2e3e8525 --- /dev/null +++ b/apparmor.d/profiles-m-z/mission-control @@ -0,0 +1,28 @@ +# apparmor.d - Full set of apparmor profiles +# Copyright (C) 2021 Alexandre Pujol +# SPDX-License-Identifier: GPL-2.0-only + +abi , + +include + +@{exec_path} = /{usr/,}lib/telepathy/mission-control-5 +profile mission-control @{exec_path} { + include + include + + network netlink raw, + + @{exec_path} mr, + /usr/{lib,libexec}/* rUx, # FIXME: Needed ? + + /usr/share/telepathy/{,**} r, + /usr/share/glib-2.0/schemas/gschemas.compiled r, + + owner @{user_share_dirs}/telepathy/mission-control/*.cfg r, + + @{run}/user/1000/dconf/user rw, + @{run}/systemd/inhibit/[0-9]*.ref rw, + + include if exists +}