From a41f85e87b75d7618bab68296e9d4f3cfac63bbc Mon Sep 17 00:00:00 2001 From: Alexandre Pujol Date: Wed, 16 Oct 2024 23:48:12 +0100 Subject: [PATCH] chore: fix indentation requirment. --- apparmor.d/abstractions/app-open | 80 +++++++++++----------- apparmor.d/groups/children/user_unconfined | 1 - 2 files changed, 41 insertions(+), 40 deletions(-) diff --git a/apparmor.d/abstractions/app-open b/apparmor.d/abstractions/app-open index 900fdc3c..d257797e 100644 --- a/apparmor.d/abstractions/app-open +++ b/apparmor.d/abstractions/app-open @@ -11,52 +11,54 @@ abi , # Sandbox managers - @{bin}/bwrap rPUx, - @{bin}/firejail rPUx, - @{bin}/flatpak rPx, - @{bin}/snap rPx, + @{bin}/bwrap PUx, + @{bin}/firejail PUx, + @{bin}/flatpak Px, + @{bin}/snap Px, # Labeled programs - @{archive_viewers_path} rPUx, - @{browsers_path} rPx, - @{document_viewers_path} rPUx, - @{emails_path} rPUx, - @{file_explorers_path} rPx, - @{help_path} rPx, - @{image_viewers_path} rPUx, - @{offices_path} rPUx, - @{text_editors_path} rPUx, + @{archive_viewers_path} PUx, + @{browsers_path} Px, + @{document_viewers_path} PUx, + @{emails_path} PUx, + @{file_explorers_path} Px, + @{help_path} Px, + @{image_viewers_path} PUx, + @{offices_path} PUx, + @{text_editors_path} PUx, # Others - @{bin}/amule rPx, - @{bin}/blueman-tray rPx, - @{bin}/discord{,-ptb} rPx, - @{bin}/draw.io rPUx, - @{bin}/dropbox rPx, - @{bin}/element-desktop rPx, - @{bin}/extension-manager rPx, - @{bin}/filezilla rPx, - @{bin}/flameshot rPx, - @{bin}/gimp* rPUx, - @{bin}/gnome-calculator rPUx, - @{bin}/gnome-disk-image-mounter rPx, - @{bin}/gnome-disks rPx, - @{bin}/gnome-software rPx, - @{bin}/gwenview rPUx, - @{bin}/kgx rPx, - @{bin}/qbittorrent rPx, - @{bin}/qpdfview rPx, - @{bin}/smplayer rPx, - @{bin}/steam-runtime rPUx, - @{bin}/telegram-desktop rPx, - @{bin}/transmission-gtk rPx, - @{bin}/viewnior rPUx, - @{bin}/vlc rPUx, - @{bin}/xbrlapi rPx, + @{bin}/amule Px, + @{bin}/blueman-tray Px, + @{bin}/discord{,-ptb} Px, + @{bin}/draw.io PUx, + @{bin}/dropbox Px, + @{bin}/element-desktop Px, + @{bin}/extension-manager Px, + @{bin}/filezilla Px, + @{bin}/flameshot Px, + @{bin}/gimp* PUx, + @{bin}/gnome-calculator PUx, + @{bin}/gnome-disk-image-mounter Px, + @{bin}/gnome-disks Px, + @{bin}/gnome-software Px, + @{bin}/gwenview PUx, + @{bin}/kgx Px, + @{bin}/qbittorrent Px, + @{bin}/qpdfview Px, + @{bin}/smplayer Px, + @{bin}/steam-runtime PUx, + @{bin}/telegram-desktop Px, + @{bin}/transmission-gtk Px, + @{bin}/viewnior PUx, + @{bin}/vlc PUx, + @{bin}/xbrlapi Px, #aa:only opensuse - @{lib}/YaST2/** rPUx, + @{lib}/YaST2/** PUx, + # Backup + @{lib}/deja-dup/deja-dup-monitor PUx, include if exists diff --git a/apparmor.d/groups/children/user_unconfined b/apparmor.d/groups/children/user_unconfined index f6e4e835..db410d6a 100644 --- a/apparmor.d/groups/children/user_unconfined +++ b/apparmor.d/groups/children/user_unconfined @@ -7,7 +7,6 @@ abi , include profile user_unconfined flags=(attach_disconnected,mediate_deleted) { - capability, network, mount,