build: improve documentation about overwriten profiles.

Make it clear why a given profile is overwriten from upstream.
This commit is contained in:
Alexandre Pujol 2025-04-27 14:33:44 +02:00
parent 4d706f3598
commit 532676b421
No known key found for this signature in database
GPG key ID: C5469996F0DF68EC

View file

@ -1,8 +1,8 @@
# Apparmor 4.0 ships several profiles that allow userns and are otherwise # Apparmor 4.0 and over ships a few profiles that can conflict with apparmor.d
# unconfined. This file keeps track of them and allow apparmor.d to replace # This file keeps track of them and allow apparmor.d to replace them by our own.
# them by our own.
# File format: one profile name by line. # File format: one profile name by line.
# Overwrite unconfined upstream profiles that only allow userns
brave brave
chrome chrome
chromium chromium
@ -12,22 +12,30 @@ firefox
flatpak flatpak
foliate foliate
loupe loupe
lsblk
lsusb
msedge msedge
mullvad mullvad
nautilus nautilus
openvpn
opera opera
os-prober os-prober
plasmashell plasmashell
remmina
signal-desktop signal-desktop
slirp4netns slirp4netns
steam steam
systemd-coredump systemd-coredump
thunderbird thunderbird
transmission
unix-chkpwd
virtiofsd virtiofsd
# Overwrite upstreamed profiles, our local version may be more up to date
unix-chkpwd
# Overwrite some profiles recently added in apparmor while being already present in apparmor.d for a while
# They can be multiple justification for keeping our profiles here, or or the contrary using upstream ones:
# - Keep ours: If they use abstractions, tunable, rules, and integration with apparmor.d that would break if using the upstream profile
# - Drop ours: when upstream profiles is better
fusermount3
lsblk
lsusb
openvpn
remmina
transmission
wg-quick wg-quick