feat(profile): add some internal kde profile.

This commit is contained in:
Alexandre Pujol 2024-03-13 16:10:02 +00:00
parent 0ecf923fb9
commit 7415b85e1c
Failed to generate hash of commit
3 changed files with 38 additions and 0 deletions

View file

@ -0,0 +1,19 @@
# apparmor.d - Full set of apparmor profiles
# Copyright (C) 2024 Alexandre Pujol <alexandre@pujol.io>
# SPDX-License-Identifier: GPL-2.0-only
abi <abi/3.0>,
include <tunables/global>
@{exec_path} = @{lib}/kscreen_osd_service
profile kscreen_osd_service @{exec_path} {
include <abstractions/base>
include <abstractions/graphics>
include <abstractions/kde-strict>
include <abstractions/nameservice-strict>
@{exec_path} mr,
include if exists <local/kscreen_osd_service>
}

View file

@ -0,0 +1,16 @@
# apparmor.d - Full set of apparmor profiles
# Copyright (C) 2024 Alexandre Pujol <alexandre@pujol.io>
# SPDX-License-Identifier: GPL-2.0-only
abi <abi/3.0>,
include <tunables/global>
@{exec_path} = @{bin}/plasma_waitforname
profile plasma_waitforname @{exec_path} {
include <abstractions/base>
@{exec_path} mr,
include if exists <local/plasma_waitforname>
}

View file

@ -205,7 +205,9 @@ kio_http_cache_cleaner complain
kiod complain kiod complain
kioworker complain kioworker complain
kmod attach_disconnected,complain kmod attach_disconnected,complain
konsole attach_disconnected,complain
kscreen_backend_launcher complain kscreen_backend_launcher complain
kscreen_osd_service complain
ksmserver attach_disconnected,mediate_deleted,complain ksmserver attach_disconnected,mediate_deleted,complain
ksplashqml complain ksplashqml complain
kwin_wayland attach_disconnected,mediate_deleted,complain kwin_wayland attach_disconnected,mediate_deleted,complain
@ -269,6 +271,7 @@ pinentry-gtk-2 complain
pkexec complain pkexec complain
pkttyagent complain pkttyagent complain
plank complain plank complain
plasma_waitforname complain
plasma-browser-integration-host complain plasma-browser-integration-host complain
plasma-discover complain plasma-discover complain
plasmashell attach_disconnected,mediate_deleted,complain plasmashell attach_disconnected,mediate_deleted,complain