From 731dbe9d70b074b51587c80f05c7e0a7a205c8b5 Mon Sep 17 00:00:00 2001 From: Alexandre Pujol Date: Thu, 8 Apr 2021 22:39:41 +0100 Subject: [PATCH] Add xbrlapi. --- apparmor.d/profiles-m-z/xbrlapi | 21 +++++++++++++++++++++ profiles.manifest | 1 + 2 files changed, 22 insertions(+) create mode 100644 apparmor.d/profiles-m-z/xbrlapi diff --git a/apparmor.d/profiles-m-z/xbrlapi b/apparmor.d/profiles-m-z/xbrlapi new file mode 100644 index 00000000..d6140129 --- /dev/null +++ b/apparmor.d/profiles-m-z/xbrlapi @@ -0,0 +1,21 @@ +# apparmor.d - Full set of apparmor profiles +# Copyright (C) 2021 Alexandre Pujol +# SPDX-License-Identifier: GPL-2.0-only + +abi , + +include + +@{exec_path} = /{usr/,}bin/xbrlapi +profile xbrlapi @{exec_path} flags=(attach_disconnected) { + include + + network inet stream, + network inet6 stream, + + @{exec_path} mr, + + /dev/tty[0-9]* rw, + + include if exists +} diff --git a/profiles.manifest b/profiles.manifest index 2f849e36..6dab7d80 100644 --- a/profiles.manifest +++ b/profiles.manifest @@ -241,6 +241,7 @@ w who wpa_cli wpa-supplicant +xbrlapi attach_disconnected,complain xclip complain xdg-dbus-proxy complain xdg-desktop-menu