feat(profile): general update.

This commit is contained in:
Alexandre Pujol 2024-09-12 22:26:47 +01:00
parent 9e7c4c7ec8
commit ab7f45bc31
No known key found for this signature in database
GPG key ID: C5469996F0DF68EC
26 changed files with 53 additions and 111 deletions

View file

@ -32,8 +32,7 @@ profile mpv @{exec_path} {
@{exec_path} mr,
@{bin}/xdg-screensaver rCx -> xdg-screensaver,
@{bin}/xdg-screensaver Px,
@{bin}/youtube-dl rPx,
@{bin}/yt-dlp rPx,
@ -81,30 +80,6 @@ profile mpv @{exec_path} {
/dev/input/event@{int} r,
owner /dev/tty@{int} rw,
profile xdg-screensaver {
include <abstractions/base>
include <abstractions/consoles>
@{bin}/xdg-screensaver mr,
@{sh_path} rix,
@{bin}/mv rix,
@{bin}/{,e}grep rix,
@{bin}/sed rix,
@{bin}/which{,.debianutils} rix,
@{bin}/xset rix,
@{bin}/xautolock rix,
@{bin}/dbus-send rix,
@{bin}/xscreensaver-command rix,
owner @{HOME}/.Xauthority r,
# file_inherit
/dev/dri/card@{int} rw,
network inet stream,
network inet6 stream,
}
include if exists <local/mpv>
}

View file

@ -10,6 +10,7 @@ include <tunables/global>
@{exec_path} = @{bin}/partprobe
profile partprobe @{exec_path} {
include <abstractions/base>
include <abstractions/consoles>
include <abstractions/disks-write>
capability sys_admin,

View file

@ -10,6 +10,7 @@ include <tunables/global>
@{exec_path} = @{bin}/resize2fs
profile resize2fs @{exec_path} {
include <abstractions/base>
include <abstractions/consoles>
include <abstractions/disks-write>
include <abstractions/user-download-strict>