mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2025-01-30 23:05:11 +01:00
293217aee2
Move vim syntax comment to the end of the file, separated by newline, as requested in #380.
66 lines
1.8 KiB
Text
66 lines
1.8 KiB
Text
# apparmor.d - Full set of apparmor profiles
|
|
# Copyright (C) 2021 Mikhail Morfikov
|
|
# Copyright (C) 2021-2024 Alexandre Pujol <alexandre@pujol.io>
|
|
# SPDX-License-Identifier: GPL-2.0-only
|
|
|
|
abi <abi/3.0>,
|
|
|
|
include <tunables/global>
|
|
|
|
@{exec_path} = @{bin}/font-manager
|
|
profile font-manager @{exec_path} {
|
|
include <abstractions/base>
|
|
include <abstractions/dconf-write>
|
|
include <abstractions/fontconfig-cache-write>
|
|
include <abstractions/fonts>
|
|
include <abstractions/freedesktop.org>
|
|
include <abstractions/gstreamer>
|
|
include <abstractions/gtk>
|
|
include <abstractions/nameservice-strict>
|
|
include <abstractions/ssl_certs>
|
|
|
|
network inet dgram,
|
|
network inet6 dgram,
|
|
network inet stream,
|
|
network inet6 stream,
|
|
network netlink raw,
|
|
|
|
@{exec_path} r,
|
|
|
|
@{lib}/{,@{multiarch}/}webkit{2,}gtk-*/WebKitNetworkProcess rix,
|
|
@{lib}/{,@{multiarch}/}webkit{2,}gtk-*/WebKitWebProcess rix,
|
|
|
|
owner @{user_cache_dirs}/ rw,
|
|
owner @{user_cache_dirs}/font-manager/ rw,
|
|
owner @{user_cache_dirs}/font-manager/* rwk,
|
|
|
|
owner @{user_config_dirs}/font-manager/ rw,
|
|
owner @{user_config_dirs}/font-manager/* rw,
|
|
|
|
owner @{user_config_dirs}/fontconfig/ rw,
|
|
owner @{user_config_dirs}/fontconfig/conf.d/ rw,
|
|
owner @{user_config_dirs}/fontconfig/conf.d/* rw,
|
|
|
|
owner @{user_share_dirs}/fonts/ rw,
|
|
owner "@{user_share_dirs}/fonts/Google Fonts/" rw,
|
|
owner "@{user_share_dirs}/fonts/Google Fonts/**" rw,
|
|
|
|
owner @{user_share_dirs}/ r,
|
|
|
|
@{sys}/devices/virtual/dmi/id/chassis_type r,
|
|
@{sys}/firmware/acpi/pm_profile r,
|
|
@{sys}/fs/cgroup/{,**} r,
|
|
|
|
@{PROC}/zoneinfo r,
|
|
owner @{PROC}/@{pid}/cgroup r,
|
|
owner @{PROC}/@{pid}/cmdline r,
|
|
owner @{PROC}/@{pid}/fd/ r,
|
|
owner @{PROC}/@{pid}/smaps r,
|
|
owner @{PROC}/@{pid}/statm r,
|
|
|
|
deny @{user_share_dirs}/gvfs-metadata/{,*} r,
|
|
|
|
include if exists <local/font-manager>
|
|
}
|
|
|
|
# vim:syntax=apparmor
|