mirror of
https://gitlab.com/apparmor/apparmor
synced 2025-08-30 22:05:27 +00:00
Fixes for wpa_supplicant profile based on LP: #2098838
Signed-off-by: Ryan Lee <ryan.lee@canonical.com>
This commit is contained in:
@@ -61,5 +61,16 @@ profile wpa_supplicant /usr/sbin/wpa_supplicant {
|
||||
owner @{run}/wpa_supplicant/ w,
|
||||
owner @{run}/wpa_supplicant/** rw,
|
||||
|
||||
owner @{run}/netplan/* r,
|
||||
|
||||
network inet dgram,
|
||||
network inet6 dgram,
|
||||
network netlink raw,
|
||||
|
||||
@{sys}/devices/pci[0-9]*:[0-9]*/**/ieee80211/phy[0-9]*/name r,
|
||||
# Might also need @{sys}/class/ieee80211/ r,
|
||||
# phy* files inside are symlinks to the pci directory but directory
|
||||
# listing might be needed to enumerate and resolve symlinks
|
||||
|
||||
include if exists <local/wpa_supplicant>
|
||||
}
|
||||
|
Reference in New Issue
Block a user