From 12c4ab122b351bf5613d82107155619f5c10c946 Mon Sep 17 00:00:00 2001 From: Alexandre Pujol Date: Wed, 1 May 2024 12:32:31 +0100 Subject: [PATCH] feat(profile): add gnome-firmware. --- apparmor.d/groups/gnome/gnome-firmware | 29 ++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 apparmor.d/groups/gnome/gnome-firmware diff --git a/apparmor.d/groups/gnome/gnome-firmware b/apparmor.d/groups/gnome/gnome-firmware new file mode 100644 index 000000000..e0faf16a5 --- /dev/null +++ b/apparmor.d/groups/gnome/gnome-firmware @@ -0,0 +1,29 @@ +# apparmor.d - Full set of apparmor profiles +# Copyright (C) 2024 Alexandre Pujol +# SPDX-License-Identifier: GPL-2.0-only + +abi , + +include + +@{exec_path} = @{bin}/gnome-firmware +profile gnome-firmware @{exec_path} { + include + include + include + include + include + + network inet dgram, + network inet stream, + network inet6 dgram, + network inet6 stream, + network netlink raw, + + #aa:dbus talk bus=system name=org.freedesktop.fwupd label=fwupd path=/ + #aa:dbus talk bus=system name=org.freedesktop.login1 label=systemd-logind + + @{exec_path} mr, + + include if exists +} \ No newline at end of file