From 8ff571549a7c4bcb04bb8df3f532b833c38eddd2 Mon Sep 17 00:00:00 2001 From: Alexandre Pujol Date: Sat, 24 Sep 2022 18:09:05 +0100 Subject: [PATCH] feat(profiles): add gnome-extension-manager. --- .../groups/gnome/gnome-extension-manager | 37 +++++++++++++++++++ dists/flags/main.flags | 1 + 2 files changed, 38 insertions(+) create mode 100644 apparmor.d/groups/gnome/gnome-extension-manager diff --git a/apparmor.d/groups/gnome/gnome-extension-manager b/apparmor.d/groups/gnome/gnome-extension-manager new file mode 100644 index 00000000..b456a2e8 --- /dev/null +++ b/apparmor.d/groups/gnome/gnome-extension-manager @@ -0,0 +1,37 @@ +# apparmor.d - Full set of apparmor profiles +# Copyright (C) 2022 Alexandre Pujol +# SPDX-License-Identifier: GPL-2.0-only + +abi , + +include + +@{exec_path} = /{usr/,}bin/extension-manager +profile gnome-extension-manager @{exec_path} { + include + include + include + include + include + include + include + include + include + include + + network inet dgram, + network inet6 dgram, + network inet stream, + network inet6 stream, + network netlink raw, + + @{exec_path} mr, + + /{usr/,}bin/gjs-console rix, + + /usr/share/glib-2.0/schemas/gschemas.compiled r, + /usr/share/gnome-shell/org.gnome.Shell.Extensions r, + /usr/share/X11/xkb/{,**} r, + + include if exists +} \ No newline at end of file diff --git a/dists/flags/main.flags b/dists/flags/main.flags index 717b33b7..908c127d 100644 --- a/dists/flags/main.flags +++ b/dists/flags/main.flags @@ -67,6 +67,7 @@ gnome-control-center attach_disconnected,complain gnome-control-center-goa-helper complain gnome-disk-image-mounter complain gnome-disks complain +gnome-extension-manager complain gnome-music complain gnome-photos-thumbnailer complain gnome-remote-desktop-daemon complain