mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2025-02-07 02:35:06 +01:00
27 lines
668 B
Text
27 lines
668 B
Text
# 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,
|
|
|
|
# Silencer
|
|
deny network inet6 stream,
|
|
deny network inet stream,
|
|
|
|
include if exists <local/fc-cache>
|
|
}
|