45 lines
1.2 KiB
Text
45 lines
1.2 KiB
Text
# apparmor.d - Full set of apparmor profiles
|
|
# Copyright (C) 2023-2024 Alexandre Pujol <alexandre@pujol.io>
|
|
# SPDX-License-Identifier: GPL-2.0-only
|
|
|
|
abi <abi/4.0>,
|
|
|
|
include <tunables/global>
|
|
|
|
@{exec_path} = @{bin}/ksplashqml
|
|
profile ksplashqml @{exec_path} {
|
|
include <abstractions/base>
|
|
include <abstractions/bus-accessibility>
|
|
include <abstractions/bus-session>
|
|
include <abstractions/graphics>
|
|
include <abstractions/kde-strict>
|
|
include <abstractions/nameservice-strict>
|
|
include <abstractions/qt5-shader-cache>
|
|
|
|
ptrace read peer=startplasma,
|
|
|
|
#aa:dbus own bus=session name=org.kde.KSplash path=/KSplash
|
|
|
|
@{exec_path} mr,
|
|
|
|
@{lib}/libheif/ r,
|
|
@{lib}/libheif/*.so* rm,
|
|
|
|
/usr/share/color-schemes/* r,
|
|
/usr/share/plasma/** r,
|
|
|
|
/etc/machine-id r,
|
|
/etc/xdg/plasmarc r,
|
|
|
|
owner @{user_cache_dirs}/ksplash/ rw,
|
|
owner @{user_cache_dirs}/ksplash/** rwlk -> @{user_cache_dirs}/ksplash/**,
|
|
|
|
owner @{user_config_dirs}/kdedefaults/ksplashrc r,
|
|
owner @{user_config_dirs}/kdedefaults/plasmarc r,
|
|
owner @{user_config_dirs}/ksplashrc r,
|
|
owner @{user_config_dirs}/plasmarc r,
|
|
|
|
include if exists <local/ksplashqml>
|
|
}
|
|
|
|
# vim:syntax=apparmor
|