From d34aa443290c6f568a155fed204c4f86f2762aba Mon Sep 17 00:00:00 2001 From: Besanon Date: Fri, 7 Jun 2024 09:15:43 +0200 Subject: [PATCH] Update lxqt-config-powermanagement --- apparmor.d/groups/lxqt/lxqt-config-powermanagement | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/apparmor.d/groups/lxqt/lxqt-config-powermanagement b/apparmor.d/groups/lxqt/lxqt-config-powermanagement index 848cf2e04..517ea5c70 100644 --- a/apparmor.d/groups/lxqt/lxqt-config-powermanagement +++ b/apparmor.d/groups/lxqt/lxqt-config-powermanagement @@ -3,10 +3,12 @@ # Copyright (C) 2024 Besanon # SPDX-License-Identifier: GPL-2.0-only -#include +abi , + +include @{exec_path} = @{bin}/lxqt-config-powermanagement -profile lxqt-config-powermanagement @{exec_path} { +profile lxqt-config-powermanagement @{exec_path} flags=(complain) { include include include @@ -22,12 +24,11 @@ profile lxqt-config-powermanagement @{exec_path} { owner /tmp/@{int} r, - @{sys}/devices/@{pci_bus}/{,**} r, - @{sys}/devices/@{pci_bus}/**/**/** r, @{sys}/class/backlight/ r, @{PROC}/sys/kernel/random/boot_id r, /dev/tty rw, + include if exists }