Create xdg-desktop-portal-lxqt

This commit is contained in:
Besanon 2024-06-07 10:46:55 +02:00 committed by GitHub
parent fc22d37c9d
commit b19dbf6114
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -0,0 +1,39 @@
# apparmor.d - Full set of apparmor profiles
# Copyright (C) 2023-2024 Alexandre Pujol <alexandre@pujol.io>
# Copyright (C) 2024 Besanon <m231009ts@mailfence.com>
# SPDX-License-Identifier: GPL-2.0-only
abi <abi/3.0>,
include <tunables/global>
@{exec_path} = @{lib}/xdg-desktop-portal-lxqt
@{exec_path} += @{lib}/@{multiarch}/{,libexec/}xdg-desktop-portal-lxqt
profile xdg-desktop-portal-lxqt @{exec_path} flags=(complain) {
include <abstractions/base>
include <abstractions/lxqt>
include <abstractions/kde-strict>
include <abstractions/graphics>
include <abstractions/nameservice-strict>
network inet dgram,
network inet6 dgram,
network inet stream,
network inet6 stream,
network netlink raw,
@{exec_path} mr,
owner @{user_cache_dirs}/*.kcache r,
owner @{user_cache_dirs}/icon-cache.kcache rw,
owner @{user_config_dirs}/autostart/org.kde.*.desktop r,
owner @{user_config_dirs}/xdg-desktop-portal-kderc r,
@{PROC}/sys/kernel/core_pattern r,
/dev/tty r,
include if exists <local/xdg-desktop-portal-lxqt>
}