Update profiles.

This commit is contained in:
Alexandre Pujol 2021-06-12 15:21:16 +01:00
parent 4ee6cc9657
commit 6bbe50573b
No known key found for this signature in database
GPG Key ID: C5469996F0DF68EC
5 changed files with 14 additions and 3 deletions

View File

@ -9,7 +9,8 @@ include <tunables/global>
@{exec_path} = /{usr/,}bin/paccache
profile paccache @{exec_path} {
include <abstractions/base>
include <abstractions/nameservice-strict>
capability dac_read_search,
capability mknod,

View File

@ -12,11 +12,12 @@ profile systemd-tmpfiles @{exec_path} {
include <abstractions/systemd-common>
include <abstractions/nameservice-strict>
capability chown,
capability dac_read_search,
capability net_admin,
capability fowner,
capability fsetid,
capability mknod,
capability fowner,
capability net_admin,
@{exec_path} mr,

View File

@ -33,6 +33,7 @@ profile browserpass @{exec_path} {
deny network inet stream,
deny owner @{user_share_dirs}/gvfs-metadata/{,**} r,
deny owner @{HOME}/@{XDG_DOWNLOAD_DIR}/{,**} r,
deny /dev/dri/card[0-9]* rw,
include if exists <local/browserpass>
}

View File

@ -14,5 +14,9 @@ profile update-mime-database @{exec_path} {
/usr/share/mime/{,**} rw,
# Silencer
deny network inet6 stream,
deny network inet stream,
include if exists <local/update-mime-database>
}

View File

@ -15,5 +15,9 @@ profile vlc-cache-gen @{exec_path} {
/{usr/,}lib/vlc/plugins/{,*} rw,
# Silencer
deny network inet6 stream,
deny network inet stream,
include if exists <local/vlc-cache-gen>
}