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

43 lines
1.2 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/fonts>
2021-12-12 13:41:50 +01:00
include <abstractions/gtk>
include <abstractions/opencl-nvidia>
2021-05-08 20:07:45 +02:00
@{exec_path} mr,
2022-02-08 19:16:45 +01:00
/usr/share/egl/{,**} r,
2021-05-08 20:07:45 +02:00
/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,
2021-05-11 23:07:20 +02:00
/usr/share/pixmaps/{,**} r,
2021-05-08 20:07:45 +02:00
/usr/share/X11/xkb/** r,
owner @{user_cache_dirs}/mesa_shader_cache/index rw,
2022-02-08 19:16:45 +01:00
owner @{user_share_dirs}/icons/{,**} r,
2021-05-08 20:07:45 +02:00
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,
2021-12-12 13:41:50 +01:00
owner @{PROC}/@{pid}/comm r,
2021-05-08 20:07:45 +02:00
@{PROC}/sys/dev/i915/perf_stream_paranoid r,
include if exists <local/gnome-control-center-print-renderer>
}