apparmor.d/apparmor.d/groups/gnome/gnome-control-center-print-renderer

38 lines
1.0 KiB
Plaintext
Raw Normal View History

2021-05-08 20:07:45 +02:00
# 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/,}lib/gnome-control-center-print-renderer
profile gnome-control-center-print-renderer @{exec_path} {
include <abstractions/base>
include <abstractions/dri-common>
include <abstractions/dri-enumerate>
include <abstractions/gtk>
include <abstractions/fonts>
@{exec_path} mr,
/usr/share/glib-2.0/schemas/gschemas.compiled r,
/usr/share/glvnd/egl_vendor.d/{,*.json} r,
/usr/share/icons/{,**} r,
/usr/share/mime/mime.cache r,
/usr/share/X11/xkb/** r,
owner @{user_cache_dirs}/mesa_shader_cache/index rw,
owner @{run}/user/@{uid}/gdm/Xauthority r,
include <abstractions/dconf>
owner @{run}/user/@{uid}/dconf/ rw,
owner @{run}/user/@{uid}/dconf/user rw,
owner @{PROC}/@{pid}/cmdline r,
@{PROC}/sys/dev/i915/perf_stream_paranoid r,
include if exists <local/gnome-control-center-print-renderer>
}