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