Add xdg-desktop-portal-gnome.

This commit is contained in:
Alexandre Pujol 2021-12-05 19:19:44 +00:00
parent e43418a820
commit ad754b26c6
Failed to generate hash of commit

View file

@ -0,0 +1,27 @@
# 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/xdg-desktop-portal-gnome
profile xdg-desktop-portal-gnome @{exec_path} {
include <abstractions/base>
include <abstractions/fonts>
include <abstractions/freedesktop.org>
include <abstractions/user-download>
@{exec_path} mr,
/usr/share/glib-2.0/schemas/gschemas.compiled r,
/usr/share/X11/xkb/{,**} r,
owner @{run}/user/@{uid}/wayland-cursor-shared-* rw,
include <abstractions/dconf>
owner @{run}/user/@{uid}/dconf/user rw,
include if exists <local/xdg-desktop-portal-gnome>
}