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>
|
|
|
|
|
2022-05-07 12:35:21 +02:00
|
|
|
@{exec_path} = @{libexec}/gnome-control-center-print-renderer
|
2021-05-08 20:07:45 +02:00
|
|
|
profile gnome-control-center-print-renderer @{exec_path} {
|
|
|
|
include <abstractions/base>
|
2022-06-13 22:38:14 +02:00
|
|
|
include <abstractions/dbus-session-strict>
|
2022-10-14 23:21:56 +02:00
|
|
|
include <abstractions/dbus-accessibility-strict>
|
2022-06-09 22:55:55 +02:00
|
|
|
include <abstractions/dconf-write>
|
2021-05-08 20:07:45 +02:00
|
|
|
include <abstractions/dri-common>
|
|
|
|
include <abstractions/dri-enumerate>
|
|
|
|
include <abstractions/fonts>
|
2021-12-12 13:41:50 +01:00
|
|
|
include <abstractions/gtk>
|
2022-04-13 21:47:28 +02:00
|
|
|
include <abstractions/mesa>
|
2022-05-09 22:51:18 +02:00
|
|
|
include <abstractions/nameservice-strict>
|
2021-12-12 13:41:50 +01:00
|
|
|
include <abstractions/opencl-nvidia>
|
2022-04-26 23:05:29 +02:00
|
|
|
include <abstractions/vulkan>
|
2021-05-08 20:07:45 +02:00
|
|
|
|
2022-10-14 23:21:56 +02:00
|
|
|
dbus send bus=session path=/org/a11y/bus
|
|
|
|
interface=org.a11y.Bus
|
|
|
|
member=GetAddress
|
|
|
|
peer=(name=org.a11y.Bus, label=at-spi-bus-launcher),
|
|
|
|
|
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/icons/{,**} r,
|
2023-01-14 14:28:21 +01:00
|
|
|
/usr/share/libdrm/*.ids r,
|
2021-05-08 20:07:45 +02:00
|
|
|
/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,
|
|
|
|
|
2022-02-09 20:35:18 +01:00
|
|
|
/var/lib/flatpak/exports/share/icons/{,**} r,
|
|
|
|
/var/lib/flatpak/exports/share/mime/mime.cache r,
|
|
|
|
|
2022-06-13 23:04:12 +02:00
|
|
|
/var/lib/snapd/desktop/icons/{,**} r,
|
|
|
|
|
2022-02-08 19:16:45 +01:00
|
|
|
owner @{user_share_dirs}/icons/{,**} r,
|
2021-05-08 20:07:45 +02:00
|
|
|
|
2022-04-26 23:05:29 +02:00
|
|
|
owner @{run}/user/@{uid}/gdm/Xauthority r,
|
2022-06-13 22:38:14 +02:00
|
|
|
owner @{run}/user/@{uid}/wayland-[0-9]* rw,
|
2021-05-08 20:07:45 +02:00
|
|
|
|
|
|
|
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
|
|
|
|
|
|
|
include if exists <local/gnome-control-center-print-renderer>
|
|
|
|
}
|