From 18a8b42cbf9e39f20fcdb971ce1eca08acb6815b Mon Sep 17 00:00:00 2001 From: Alexandre Pujol Date: Sat, 5 Nov 2022 17:13:39 +0000 Subject: [PATCH] feat(profiles): add initial version of iwctl. --- apparmor.d/groups/network/iwctl | 22 ++++++++++++++++++++++ dists/flags/main.flags | 1 + 2 files changed, 23 insertions(+) create mode 100644 apparmor.d/groups/network/iwctl diff --git a/apparmor.d/groups/network/iwctl b/apparmor.d/groups/network/iwctl new file mode 100644 index 000000000..aa9a78929 --- /dev/null +++ b/apparmor.d/groups/network/iwctl @@ -0,0 +1,22 @@ +# 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/iwctl +profile iwctl @{exec_path} { + include + + @{exec_path} mr, + + /usr/share/terminfo/x/xterm-256color r, + + /etc/inputrc r, + + owner @{user_share_dirs}/iwctl/{,**} rw, + + include if exists +} \ No newline at end of file diff --git a/dists/flags/main.flags b/dists/flags/main.flags index aeaa4c4ea..64a158c1d 100644 --- a/dists/flags/main.flags +++ b/dists/flags/main.flags @@ -118,6 +118,7 @@ ibus-memconf complain im-launch complain install-info complain irqbalance complain +iwctl complain iwd complain kernel-install complain kmod attach_disconnected,complain