61 lines
No EOL
1.8 KiB
Text
61 lines
No EOL
1.8 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-gtk
|
|
profile xdg-desktop-portal-gtk @{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/thumbnails-cache-read>
|
|
include <abstractions/user-download>
|
|
include <abstractions/user-write>
|
|
|
|
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,
|
|
|
|
dbus receive bus=system path=/org/freedesktop/NetworkManager
|
|
interface=org.freedesktop.NetworkManager
|
|
member=CheckPermissions,
|
|
|
|
dbus receive bus=system path=/org/freedesktop/NetworkManager
|
|
interface=org.freedesktop.DBus.Properties
|
|
member=PropertiesChanged,
|
|
|
|
@{exec_path} mr,
|
|
|
|
/usr/share/glib-2.0/schemas/gschemas.compiled r,
|
|
/usr/share/X11/xkb/{,**} r,
|
|
|
|
/ r,
|
|
|
|
owner @{HOME}/ r,
|
|
owner @{HOME}/.* r,
|
|
owner @{HOME}/@{XDG_DATA_HOME}/ r,
|
|
|
|
owner @{run}/user/@{uid}/.mutter-Xwaylandauth.[0-9A-Z]* rw,
|
|
owner @{run}/user/@{uid}/wayland-[0-9]* rw,
|
|
@{run}/mount/utab r,
|
|
|
|
owner @{PROC}/@{uid}/mountinfo r,
|
|
|
|
include if exists <local/xdg-desktop-portal-gtk>
|
|
} |