feat(profiles): general update.

This commit is contained in:
Alexandre Pujol 2023-08-17 18:43:56 +01:00
parent f7b9ff959a
commit 5d47dfba95
No known key found for this signature in database
GPG key ID: C5469996F0DF68EC
50 changed files with 174 additions and 50 deletions

View file

@ -12,6 +12,7 @@ profile spice-vdagent @{exec_path} {
include <abstractions/audio>
include <abstractions/dbus-accessibility-strict>
include <abstractions/dbus-session-strict>
include <abstractions/dri-common>
include <abstractions/fontconfig-cache-write>
include <abstractions/fonts>
include <abstractions/gtk>

View file

@ -12,8 +12,11 @@ profile start-pulseaudio-x11 @{exec_path} {
@{exec_path} mr,
@{bin}/{,ba,da}sh rix,
@{bin}/pactl rPx,
@{bin}/{,ba,da}sh rix,
@{bin}/head rix,
@{bin}/pactl rPx,
@{bin}/plasmashell rPx,
@{bin}/sed rix,
/dev/tty rw,

View file

@ -11,6 +11,7 @@ include <tunables/global>
@{exec_path} = @{bin}/sysctl
profile sysctl @{exec_path} {
include <abstractions/base>
include <abstractions/consoles>
capability net_admin,
capability sys_admin,

View file

@ -95,6 +95,11 @@ profile thunderbird @{exec_path} {
@{lib}/@{multiarch}/qt5/plugins/kf5/org.kde.kwindowsystem.platforms/KF5WindowSystemX11Plugin.so mr,
# GPG integration
@{bin}/gpg{,2} rPx,
@{bin}/gpgconf rPx,
@{bin}/gpgsm rPx,
# Desktop integration
@{bin}/exo-open rPx -> child-open,
@{bin}/lsb_release rPx -> lsb_release,

View file

@ -11,10 +11,10 @@ profile wget @{exec_path} {
include <abstractions/base>
include <abstractions/consoles>
include <abstractions/nameservice-strict>
include <abstractions/user-download-strict>
include <abstractions/openssl>
include <abstractions/p11-kit>
include <abstractions/ssl_certs>
include <abstractions/user-download-strict>
# For downloading files as root to user owned dirs
capability dac_read_search,
@ -28,12 +28,13 @@ profile wget @{exec_path} {
@{exec_path} mr,
/usr/share/publicsuffix/public_suffix_list.* r,
/etc/wgetrc r,
owner @{HOME}/.rnd r,
owner @{HOME}/.wget-hsts rwk,
/usr/share/publicsuffix/public_suffix_list.* r,
# For apt
owner /var/cache/google-android-build-tools-*-installer/build-tools_*-linux.zip w,
owner /var/cache/google-android-platform-*-installer/platform-*.zip w,

View file

@ -32,6 +32,9 @@ profile xauth @{exec_path} {
owner /tmp/serverauth.* rwl -> /tmp/serverauth.*-n,
owner /tmp/runtime-*/xauth_?????? r,
owner /tmp/xauth_?????? r,
owner /tmp/xauth_??????-c w,
owner /tmp/xauth_??????-l wl,
owner @{run}/user/@{uid}/xauth_?????? rw,
owner @{run}/user/@{uid}/xauth_??????-c w,