feat(profiles): general update.
This commit is contained in:
parent
c7cf156de9
commit
b793968690
7 changed files with 43 additions and 5 deletions
|
|
@ -19,11 +19,12 @@ profile systemd-sleep @{exec_path} {
|
|||
|
||||
@{exec_path} mr,
|
||||
|
||||
/{usr/,}lib/systemd/system-sleep/grub2.sleep rPx,
|
||||
/{usr/,}lib/systemd/system-sleep/hdparm rPx,
|
||||
/{usr/,}lib/systemd/system-sleep/nvidia rPx,
|
||||
/{usr/,}lib/systemd/system-sleep/sysstat.sleep rPx,
|
||||
/{usr/,}lib/systemd/system-sleep/tlp rPx,
|
||||
/{usr/,}lib/systemd/system-sleep/unattended-upgrades rPx,
|
||||
/{usr/,}lib/systemd/system-sleep/grub2.sleep rPx,
|
||||
|
||||
/etc/systemd/sleep.conf r,
|
||||
/etc/systemd/sleep.conf.d/{,*} r,
|
||||
|
|
|
|||
18
apparmor.d/groups/systemd/systemd-sleep-tlp
Normal file
18
apparmor.d/groups/systemd/systemd-sleep-tlp
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
# apparmor.d - Full set of apparmor profiles
|
||||
# Copyright (C) 2023 Alexandre Pujol <alexandre@pujol.io>
|
||||
# SPDX-License-Identifier: GPL-2.0-only
|
||||
|
||||
abi <abi/3.0>,
|
||||
|
||||
include <tunables/global>
|
||||
|
||||
@{exec_path} = /{usr/,}lib/systemd/system-sleep/tlp
|
||||
profile systemd-sleep-tlp @{exec_path} {
|
||||
include <abstractions/base>
|
||||
|
||||
@{exec_path} mr,
|
||||
|
||||
/{usr/,}bin/tlp rPUx,
|
||||
|
||||
include if exists <local/systemd-sleep-tlp>
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue