Add some profiles.
This commit is contained in:
parent
a8d1205e76
commit
e6dc08caec
7 changed files with 151 additions and 0 deletions
23
apparmor.d/profiles-a-l/fc-cache
Normal file
23
apparmor.d/profiles-a-l/fc-cache
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
# apparmor.d - Full set of apparmor profiles
|
||||
# Copyright (C) 2021 Alexandre Pujol <alexandre@pujol.io>
|
||||
# SPDX-License-Identifier: GPL-2.0-only
|
||||
|
||||
abi <abi/3.0>,
|
||||
|
||||
include <tunables/global>
|
||||
|
||||
@{exec_path} = /{usr/,}bin/fc-cache
|
||||
profile fc-cache @{exec_path} {
|
||||
include <abstractions/base>
|
||||
include <abstractions/fonts>
|
||||
include <abstractions/fontconfig-cache-write>
|
||||
|
||||
@{exec_path} mr,
|
||||
|
||||
/var/cache/fontconfig/{,**} rw,
|
||||
/var/cache/fontconfig/*.cache-[0-9]* rwk,
|
||||
/var/cache/fontconfig/*.cache-[0-9]*.LCK rwl,
|
||||
/var/cache/fontconfig/CACHEDIR.TAG.LCK rwl,
|
||||
|
||||
include if exists <local/fc-cache>
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue