From 7415b85e1c952bc85d13c971310a75e26ca1c2e6 Mon Sep 17 00:00:00 2001 From: Alexandre Pujol Date: Wed, 13 Mar 2024 16:10:02 +0000 Subject: [PATCH] feat(profile): add some internal kde profile. --- apparmor.d/groups/kde/kscreen_osd_service | 19 +++++++++++++++++++ apparmor.d/groups/kde/plasma_waitforname | 16 ++++++++++++++++ dists/flags/main.flags | 3 +++ 3 files changed, 38 insertions(+) create mode 100644 apparmor.d/groups/kde/kscreen_osd_service create mode 100644 apparmor.d/groups/kde/plasma_waitforname diff --git a/apparmor.d/groups/kde/kscreen_osd_service b/apparmor.d/groups/kde/kscreen_osd_service new file mode 100644 index 00000000..66ad1d94 --- /dev/null +++ b/apparmor.d/groups/kde/kscreen_osd_service @@ -0,0 +1,19 @@ +# apparmor.d - Full set of apparmor profiles +# Copyright (C) 2024 Alexandre Pujol +# SPDX-License-Identifier: GPL-2.0-only + +abi , + +include + +@{exec_path} = @{lib}/kscreen_osd_service +profile kscreen_osd_service @{exec_path} { + include + include + include + include + + @{exec_path} mr, + + include if exists +} \ No newline at end of file diff --git a/apparmor.d/groups/kde/plasma_waitforname b/apparmor.d/groups/kde/plasma_waitforname new file mode 100644 index 00000000..c3515edb --- /dev/null +++ b/apparmor.d/groups/kde/plasma_waitforname @@ -0,0 +1,16 @@ +# apparmor.d - Full set of apparmor profiles +# Copyright (C) 2024 Alexandre Pujol +# SPDX-License-Identifier: GPL-2.0-only + +abi , + +include + +@{exec_path} = @{bin}/plasma_waitforname +profile plasma_waitforname @{exec_path} { + include + + @{exec_path} mr, + + include if exists +} \ No newline at end of file diff --git a/dists/flags/main.flags b/dists/flags/main.flags index b736cd02..dbca1523 100644 --- a/dists/flags/main.flags +++ b/dists/flags/main.flags @@ -205,7 +205,9 @@ kio_http_cache_cleaner complain kiod complain kioworker complain kmod attach_disconnected,complain +konsole attach_disconnected,complain kscreen_backend_launcher complain +kscreen_osd_service complain ksmserver attach_disconnected,mediate_deleted,complain ksplashqml complain kwin_wayland attach_disconnected,mediate_deleted,complain @@ -269,6 +271,7 @@ pinentry-gtk-2 complain pkexec complain pkttyagent complain plank complain +plasma_waitforname complain plasma-browser-integration-host complain plasma-discover complain plasmashell attach_disconnected,mediate_deleted,complain