apparmor.d/apparmor.d/groups/browsers/firefox-plugin-container
REmerald db82b64051 feat(groups/{a,b}*): vim syntax support
Add vim modeline instructing the editor to use syntax plugin provided by apparmor.

Continuation of #391 to keep the diff list relatively short.
2024-06-16 17:30:22 +01:00

24 lines
584 B
Text

# apparmor.d - Full set of apparmor profiles
# Copyright (C) 2020-2022 Mikhail Morfikov
# Copyright (C) 2022-2024 Alexandre Pujol <alexandre@pujol.io>
# SPDX-License-Identifier: GPL-2.0-only
abi <abi/3.0>,
include <tunables/global>
@{name} = firefox{,.sh,-esr,-bin}
@{lib_dirs} = @{lib}/@{name} /opt/@{name}
@{exec_path} = @{lib_dirs}/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>
}
# vim:syntax=apparmor