feat: cleanup ignored profile list.
This commit is contained in:
parent
1fb2de0acd
commit
6b159fe918
2 changed files with 31 additions and 5 deletions
25
apparmor.d/profiles-a-f/code-wrapper
Normal file
25
apparmor.d/profiles-a-f/code-wrapper
Normal 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>
|
||||||
|
}
|
||||||
|
|
@ -2,21 +2,22 @@
|
||||||
# One ignore by line. Can be a profile name or a directory to ignore
|
# One ignore by line. Can be a profile name or a directory to ignore
|
||||||
|
|
||||||
# Contains profiles and configuration for full system confinement, only included
|
# 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
|
apparmor.d/groups/_full
|
||||||
root/etc/initramfs-tools
|
|
||||||
root/usr/lib/initcpio
|
root/usr/lib/initcpio
|
||||||
root/usr/lib/systemd/
|
root/usr/lib/systemd/
|
||||||
|
root/usr/share/initramfs-tools
|
||||||
|
|
||||||
|
# Apps that should be sandboxed
|
||||||
apparmor.d/groups/apps
|
apparmor.d/groups/apps
|
||||||
code
|
code
|
||||||
code-wrapper
|
code-wrapper
|
||||||
|
|
||||||
|
# Work in progress profiles
|
||||||
plasma-discover
|
plasma-discover
|
||||||
|
snap
|
||||||
steam
|
steam
|
||||||
steam-fossilize
|
steam-fossilize
|
||||||
steam-game
|
steam-game
|
||||||
steam-gameoverlayui
|
steam-gameoverlayui
|
||||||
steam-reaper
|
steam-reaper
|
||||||
|
|
||||||
anki
|
|
||||||
man
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue