feat(profiles): add dbus rules for some common profiles.

This commit is contained in:
Alexandre Pujol 2022-06-05 23:06:14 +01:00
parent e949654614
commit 583d7a15f0
No known key found for this signature in database
GPG key ID: C5469996F0DF68EC
43 changed files with 584 additions and 6 deletions

View file

@ -1,6 +1,6 @@
# apparmor.d - Full set of apparmor profiles
# Copyright (C) 2018-2021 Mikhail Morfikov
# 2021 Alexandre Pujol <alexandre@pujol.io>
# Copyright (C) 2018-2022 Mikhail Morfikov
# Copyright (C) 2021-2022 Alexandre Pujol <alexandre@pujol.io>
# SPDX-License-Identifier: GPL-2.0-only
abi <abi/3.0>,
@ -25,6 +25,13 @@ profile wpa-supplicant @{exec_path} {
network packet raw,
network packet dgram,
dbus send bus=system path=/org/freedesktop/DBus
interface=org.freedesktop.DBus
member=RequestName,
dbus bind bus=system
name=fi.w1.wpa_supplicant[0-9],
@{exec_path} mr,
@{HOME}/.cat_installer/*.pem r,