50 lines
No EOL
1.5 KiB
Text
50 lines
No EOL
1.5 KiB
Text
# 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} = @{libexec}/xdg-desktop-portal-gnome
|
|
profile xdg-desktop-portal-gnome @{exec_path} {
|
|
include <abstractions/base>
|
|
include <abstractions/dbus-session-strict>
|
|
include <abstractions/dbus-strict>
|
|
include <abstractions/dconf-write>
|
|
include <abstractions/fontconfig-cache-write>
|
|
include <abstractions/fonts>
|
|
include <abstractions/freedesktop.org>
|
|
include <abstractions/gtk>
|
|
include <abstractions/user-download>
|
|
include <abstractions/user-read>
|
|
|
|
dbus send bus=system path=/org/freedesktop/Accounts/User[0-9]*
|
|
interface=org.freedesktop.DBus.Properties
|
|
member=GetAll,
|
|
|
|
dbus receive bus=system path=/org/freedesktop/Accounts/User[0-9]*
|
|
interface=org.freedesktop.DBus.Properties
|
|
member=PropertiesChanged,
|
|
|
|
dbus receive bus=system path=/org/freedesktop/Accounts/User[0-9]*
|
|
interface=org.freedesktop.Accounts.User
|
|
member=Changed,
|
|
|
|
@{exec_path} mr,
|
|
|
|
/usr/share/glib-2.0/schemas/gschemas.compiled r,
|
|
/usr/share/ubuntu/applications/ r,
|
|
/usr/share/X11/xkb/{,**} r,
|
|
|
|
/etc/gnome/defaults.list r,
|
|
|
|
/var/lib/snapd/desktop/icons/{,**} r,
|
|
|
|
owner @{user_share_dirs}/ r,
|
|
|
|
owner @{run}/user/@{uid}/wayland-[0-9]* rw,
|
|
owner @{run}/user/@{uid}/wayland-cursor-shared-* rw,
|
|
|
|
include if exists <local/xdg-desktop-portal-gnome>
|
|
} |