Add vim modeline instructing the editor to use syntax plugin provided by apparmor. Continuation of #395 to keep the diff list relatively short.
32 lines
704 B
Text
32 lines
704 B
Text
# apparmor.d - Full set of apparmor profiles
|
|
# Copyright (C) 2023-2024 Alexandre Pujol <alexandre@pujol.io>
|
|
# SPDX-License-Identifier: GPL-2.0-only
|
|
|
|
abi <abi/3.0>,
|
|
|
|
include <tunables/global>
|
|
|
|
@{exec_path} = @{bin}/sensible-browser
|
|
profile sensible-browser @{exec_path} {
|
|
include <abstractions/base>
|
|
include <abstractions/consoles>
|
|
|
|
@{exec_path} mr,
|
|
|
|
@{sh_path} rix,
|
|
@{bin}/whichbrowser rix,
|
|
@{bin}/x-www-browser rix,
|
|
|
|
@{lib}/msgcollector/generic_gui_message rPx,
|
|
@{lib}/msgcollector/striphtml rPx,
|
|
|
|
@{bin}/torbrowser rPx,
|
|
|
|
/etc/open_link_confirm.d/{,**} r,
|
|
|
|
owner @{HOME}/.xsession-errors rw,
|
|
|
|
include if exists <local/sensible-browser>
|
|
}
|
|
|
|
# vim:syntax=apparmor
|