feat(profile): add some network deps profile.

This commit is contained in:
Alexandre Pujol 2023-12-06 20:03:28 +00:00
parent a777161846
commit c0bab81e45
Failed to generate hash of commit
3 changed files with 41 additions and 0 deletions

View file

@ -0,0 +1,20 @@
# apparmor.d - Full set of apparmor profiles
# Copyright (C) 2023 Alexandre Pujol <alexandre@pujol.io>
# SPDX-License-Identifier: GPL-2.0-only
abi <abi/3.0>,
include <tunables/global>
@{exec_path} = /usr/share/netplan/netplan.script
profile netplan.script @{exec_path} {
include <abstractions/base>
@{exec_path} mr,
@{lib}exec/netplan/generate rix,
/usr/share/netplan/{,**} r,
include if exists <local/netplan.script>
}

View file

@ -0,0 +1,17 @@
# apparmor.d - Full set of apparmor profiles
# Copyright (C) 2023 Alexandre Pujol <alexandre@pujol.io>
# SPDX-License-Identifier: GPL-2.0-only
abi <abi/3.0>,
include <tunables/global>
@{exec_path} = @{bin}/nm-online
profile nm-online @{exec_path} {
include <abstractions/base>
include <abstractions/dbus-strict>
@{exec_path} mr,
include if exists <local/nm-online>
}

View file

@ -33,6 +33,9 @@ apport complain
at-spi-bus-launcher attach_disconnected,complain at-spi-bus-launcher attach_disconnected,complain
at-spi2-registryd attach_disconnected,complain at-spi2-registryd attach_disconnected,complain
atd complain atd complain
netplan complain
netplan.script complain
WebKitNetworkProcess attach_disconnected,complain
atril-previewer complain atril-previewer complain
auditctl attach_disconnected,complain auditctl attach_disconnected,complain
auditd attach_disconnected,complain auditd attach_disconnected,complain
@ -235,6 +238,7 @@ needrestart attach_disconnected,complain
needrestart-iucode-scan-versions complain needrestart-iucode-scan-versions complain
networkctl attach_disconnected,complain networkctl attach_disconnected,complain
networkd-dispatcher complain networkd-dispatcher complain
nm-online complain
nm-openvpn-service-openvpn-helper complain nm-openvpn-service-openvpn-helper complain
nmap complain nmap complain
nmcli complain nmcli complain