Add vim modeline instructing the editor to use syntax plugin provided by apparmor. Continuation of #392 to keep the diff list relatively short.
36 lines
850 B
Text
36 lines
850 B
Text
# apparmor.d - Full set of apparmor profiles
|
|
# Copyright (C) 2021-2024 Alexandre Pujol <alexandre@pujol.io>
|
|
# Copyright (C) 2022 Jeroen Rijken
|
|
# SPDX-License-Identifier: GPL-2.0-only
|
|
|
|
abi <abi/3.0>,
|
|
|
|
include <tunables/global>
|
|
|
|
@{bin_dirs} = @{bin}/ /snap/{snapd,core}/@{int}@{bin}
|
|
|
|
@{exec_path} = @{bin_dirs}/fc-cache{,-32,-v*}
|
|
profile fc-cache @{exec_path} {
|
|
include <abstractions/base>
|
|
include <abstractions/consoles>
|
|
include <abstractions/fonts>
|
|
|
|
capability dac_read_search,
|
|
|
|
@{exec_path} mr,
|
|
|
|
/var/cache/fontconfig/{,**} rw,
|
|
/var/cache/fontconfig/*.cache-@{int} rwk,
|
|
/var/cache/fontconfig/*.cache-@{int}.LCK rwl,
|
|
/var/cache/fontconfig/CACHEDIR.TAG.LCK rwl,
|
|
|
|
/var/tmp/mkinitramfs_*/{**,} rwl,
|
|
|
|
# Silencer
|
|
deny network inet6 stream,
|
|
deny network inet stream,
|
|
|
|
include if exists <local/fc-cache>
|
|
}
|
|
|
|
# vim:syntax=apparmor
|