Update profile from #25 (2).

This commit is contained in:
Alexandre Pujol 2022-02-09 19:35:18 +00:00
parent 2f77653cba
commit 810985a0cd
No known key found for this signature in database
GPG key ID: C5469996F0DF68EC
38 changed files with 103 additions and 37 deletions

View file

@ -19,8 +19,9 @@ profile pipewire @{exec_path} {
/usr/share/pipewire/pipewire.conf r,
/etc/pipewire/pipewire.conf r,
/etc/machine-id r,
/etc/pipewire/client.conf r,
/etc/pipewire/pipewire.conf r,
owner @{run}/user/@{uid}/pipewire-[0-9]*.lock rwk,

View file

@ -18,6 +18,8 @@ profile pipewire-pulse @{exec_path} {
@{exec_path} mr,
/etc/machine-id r,
/etc/pipewire/client.conf r,
/etc/pipewire/pipewire-pulse.conf r,
/usr/share/pipewire/client.conf r,

View file

@ -29,6 +29,8 @@ profile polkitd @{exec_path} {
@{PROC}/1/environ r,
@{PROC}/cmdline r,
/etc/machine-id r,
# System rules
/etc/polkit-1/rules.d/ r,
/etc/polkit-1/rules.d/[0-9][0-9]-*.rules r,

View file

@ -24,7 +24,7 @@ profile power-profiles-daemon @{exec_path} {
@{sys}/class/ r,
@{sys}/class/power_supply/ r,
@{sys}/devices/**/power_supply/*/uevent r,
@{sys}/devices/system/cpu/*_pstate/no_turbo r,
@{sys}/devices/system/cpu/*_pstate/{no_turbo,turbo_pct} r,
@{sys}/devices/system/cpu/cpufreq/ r,
@{sys}/devices/system/cpu/cpufreq/policy[0-9]*/energy_performance_preference rw,

View file

@ -9,17 +9,22 @@ include <tunables/global>
@{exec_path} = /{usr/,}sbin/resolvconf
profile resolvconf @{exec_path} {
include <abstractions/base>
include <abstractions/nameservice-strict>
@{exec_path} mr,
/{usr/,}bin/{,ba,da}sh rix,
/{usr/,}bin/cat rix,
/{usr/,}bin/flock rix,
/{usr/,}bin/mkdir rix,
/{usr/,}bin/mv rix,
/{usr/,}bin/rm rix,
/{usr/,}bin/run-parts rix,
/{usr/,}bin/sed rix,
/usr/lib/resolvconf/{,**} r,
/etc/resolv.conf rw,
/etc/resolvconf/update.d/libc mr,
owner @{run}/resolvconf/{,**} rw,