apparmor.d/profiles/firefox-plugin-container
2021-04-01 16:17:47 +01:00

23 lines
542 B
Plaintext

# apparmor.d - Full set of apparmor profiles
# Copyright (C) 2020-2021 Mikhail Morfikov
# SPDX-License-Identifier: GPL-2.0-only
abi <abi/3.0>,
include <tunables/global>
@{MOZ_LIBDIR} = /{usr/,}lib/firefox{,-esr}
@{MOZ_HOMEDIR} = @{HOME}/.mozilla
@{MOZ_CACHEDIR} = @{HOME}/.cache/mozilla
@{exec_path} = @{MOZ_LIBDIR}/plugin-container
profile firefox-plugin-container @{exec_path} {
include <abstractions/base>
signal (receive) set=(term, kill) peer=firefox,
@{exec_path} mr,
include if exists <local/firefox-plugin-container>
}