mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2024-11-14 23:43:56 +01:00
feat(kde): add xdg-desktop-portal-kde
This commit is contained in:
parent
0efc3e0703
commit
ac75f2ee5c
38
apparmor.d/groups/freedesktop/xdg-desktop-portal-kde
Normal file
38
apparmor.d/groups/freedesktop/xdg-desktop-portal-kde
Normal file
@ -0,0 +1,38 @@
|
||||
# apparmor.d - Full set of apparmor profiles
|
||||
# Copyright (C) 2023 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-kde
|
||||
profile xdg-desktop-portal-kde @{exec_path} {
|
||||
include <abstractions/base>
|
||||
include <abstractions/dri-common>
|
||||
include <abstractions/freedesktop.org>
|
||||
include <abstractions/mesa>
|
||||
include <abstractions/nameservice-strict>
|
||||
|
||||
@{exec_path} mr,
|
||||
|
||||
/usr/share/hwdata/pnp.ids r,
|
||||
/usr/share/mime/{,**} r,
|
||||
/usr/share/qt/translations/*.qm r,
|
||||
|
||||
owner @{HOME}/.Xauthority r,
|
||||
owner @{HOME}/.cache/*.kcache r,
|
||||
|
||||
owner @{user_cache_dirs}/icon-cache.kcache rw,
|
||||
|
||||
owner @{user_config_dirs}/kdedefaults/kdeglobals r,
|
||||
owner @{user_config_dirs}/kdedefaults/kwinrc r,
|
||||
owner @{user_config_dirs}/kdeglobals r,
|
||||
owner @{user_config_dirs}/kwinrc r,
|
||||
|
||||
@{PROC}/sys/kernel/core_pattern r,
|
||||
|
||||
/dev/tty r,
|
||||
|
||||
include if exists <local/xdg-desktop-portal-kde>
|
||||
}
|
@ -280,6 +280,7 @@ xdg-desktop-icon complain
|
||||
xdg-desktop-portal attach_disconnected,complain
|
||||
xdg-desktop-portal-gnome complain
|
||||
xdg-desktop-portal-gtk complain
|
||||
xdg-desktop-portal-kde complain
|
||||
xdg-document-portal complain
|
||||
xdg-permission-store attach_disconnected,complain
|
||||
xdg-user-dirs-gtk-update complain
|
||||
|
Loading…
Reference in New Issue
Block a user