mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2025-01-18 00:48:10 +01:00
Add xdg-desktop-portal-gnome.
This commit is contained in:
parent
e43418a820
commit
ad754b26c6
1 changed files with 27 additions and 0 deletions
27
apparmor.d/profiles-s-z/xdg-desktop-portal-gnome
Normal file
27
apparmor.d/profiles-s-z/xdg-desktop-portal-gnome
Normal 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>
|
||||||
|
}
|
Loading…
Reference in a new issue