remove useless apparmor profiles

This commit is contained in:
Mikhail Morfikov 2022-02-22 14:23:35 +01:00 committed by Alexandre Pujol
parent d701e39939
commit 8713fb514f
Failed to generate hash of commit
2 changed files with 0 additions and 49 deletions

View file

@ -1,25 +0,0 @@
# apparmor.d - Full set of apparmor profiles
# Copyright (C) 2021 Mikhail Morfikov
# SPDX-License-Identifier: GPL-2.0-only
abi <abi/3.0>,
include <tunables/global>
@{CHROMIUM_INSTALLDIR} = /{usr/,}lib/chromium
@{CHROMIUM_HOMEDIR} = @{HOME}/.config/chromium
@{CHROMIUM_CACHEDIR} = @{HOME}/.cache/chromium
@{exec_path} = /{usr/,}lib/chromium/crashpad_handler
profile chromium-crashpad_handler @{exec_path} flags=(complain) {
include <abstractions/base>
@{exec_path} mrix,
owner "@{HOME}/.config/chromium/Crash Reports/settings.dat" rwk,
owner @{PROC}/@{pid}/fd/ r,
include if exists <local/chromium-crashpad_handler>
}

View file

@ -1,24 +0,0 @@
# apparmor.d - Full set of apparmor profiles
# Copyright (C) 2018-2021 Mikhail Morfikov
# SPDX-License-Identifier: GPL-2.0-only
abi <abi/3.0>,
include <tunables/global>
@{exec_path} = /{usr/,}{s,}bin/wpa_cli
profile wpa_cli @{exec_path} {
include <abstractions/base>
@{exec_path} mr,
owner @{run}/wpa_supplicant/ r,
owner /tmp/wpa_ctrl_@{pid}-[0-9] rw,
# for interactive mode
/etc/inputrc r,
owner @{HOME}/.wpa_cli_history rw,
owner @{HOME}/.wpa_cli_history-[0-9]*.tmp rw,
include if exists <local/wpa_cli>
}