Create lxqt-config-powermanagement
This commit is contained in:
parent
6edd292a09
commit
e86838f849
1 changed files with 33 additions and 0 deletions
33
apparmor.d/groups/lxqt/lxqt-config-powermanagement
Normal file
33
apparmor.d/groups/lxqt/lxqt-config-powermanagement
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
# apparmor.d - Full set of apparmor profiles
|
||||
# Copyright (C) 2024 Alexandre Pujol <alexandre@pujol.io>
|
||||
# Copyright (C) 2024 Besanon <m231009ts@mailfence.com>
|
||||
# SPDX-License-Identifier: GPL-2.0-only
|
||||
|
||||
#include <tunables/global>
|
||||
|
||||
@{exec_path} = @{bin}/lxqt-config-powermanagement
|
||||
profile lxqt-config-powermanagement @{exec_path} {
|
||||
include <abstractions/base>
|
||||
include <abstractions/gtk>
|
||||
include <abstractions/video>
|
||||
include <abstractions/lxqt>
|
||||
include <abstractions/qt5-shader-cache>
|
||||
include <abstractions/dbus-session-strict>
|
||||
include <abstractions/dbus-accessibility-strict>
|
||||
include <abstractions/gvfs-open>
|
||||
|
||||
@{exec_path} mr,
|
||||
|
||||
owner @{user_config_dirs}/lxqt/** rwkl -> @{user_config_dirs}/lxqt/#@{int},
|
||||
|
||||
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,
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue