feat: cleanup ignored profile list.

This commit is contained in:
Alexandre Pujol 2023-09-07 17:58:47 +01:00
parent 1fb2de0acd
commit 6b159fe918
No known key found for this signature in database
GPG Key ID: C5469996F0DF68EC
2 changed files with 31 additions and 5 deletions

View File

@ -0,0 +1,25 @@
# apparmor.d - Full set of apparmor profiles
# Copyright (C) 2021-2023 Alexandre Pujol <alexandre@pujol.io>
# SPDX-License-Identifier: GPL-2.0-only
abi <abi/3.0>,
include <tunables/global>
@{exec_path} = @{bin}/code{,-oss}
profile code-wrapper @{exec_path} {
include <abstractions/base>
include <abstractions/consoles>
@{exec_path} r,
@{bin}/{,ba,da}sh rix,
@{lib}/electron@{int}/electron rPx -> code,
owner @{user_config_dirs}/code-flags.conf r,
owner @{user_config_dirs}/electron@{int}-flags.conf r,
deny owner @{user_share_dirs}/gvfs-metadata/{,*} r,
include if exists <local/code-wrapper>
}

View File

@ -2,21 +2,22 @@
# One ignore by line. Can be a profile name or a directory to ignore
# Contains profiles and configuration for full system confinement, only included
# when ./configure is given the --full option
# when built with 'make full'
apparmor.d/groups/_full
root/etc/initramfs-tools
root/usr/lib/initcpio
root/usr/lib/systemd/
root/usr/share/initramfs-tools
# Apps that should be sandboxed
apparmor.d/groups/apps
code
code-wrapper
# Work in progress profiles
plasma-discover
snap
steam
steam-fossilize
steam-game
steam-gameoverlayui
steam-reaper
anki
man