Update profiles.
This commit is contained in:
parent
4ee6cc9657
commit
6bbe50573b
5 changed files with 14 additions and 3 deletions
|
|
@ -9,7 +9,8 @@ include <tunables/global>
|
||||||
@{exec_path} = /{usr/,}bin/paccache
|
@{exec_path} = /{usr/,}bin/paccache
|
||||||
profile paccache @{exec_path} {
|
profile paccache @{exec_path} {
|
||||||
include <abstractions/base>
|
include <abstractions/base>
|
||||||
|
include <abstractions/nameservice-strict>
|
||||||
|
|
||||||
capability dac_read_search,
|
capability dac_read_search,
|
||||||
capability mknod,
|
capability mknod,
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -12,11 +12,12 @@ profile systemd-tmpfiles @{exec_path} {
|
||||||
include <abstractions/systemd-common>
|
include <abstractions/systemd-common>
|
||||||
include <abstractions/nameservice-strict>
|
include <abstractions/nameservice-strict>
|
||||||
|
|
||||||
|
capability chown,
|
||||||
capability dac_read_search,
|
capability dac_read_search,
|
||||||
capability net_admin,
|
capability fowner,
|
||||||
capability fsetid,
|
capability fsetid,
|
||||||
capability mknod,
|
capability mknod,
|
||||||
capability fowner,
|
capability net_admin,
|
||||||
|
|
||||||
@{exec_path} mr,
|
@{exec_path} mr,
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -33,6 +33,7 @@ profile browserpass @{exec_path} {
|
||||||
deny network inet stream,
|
deny network inet stream,
|
||||||
deny owner @{user_share_dirs}/gvfs-metadata/{,**} r,
|
deny owner @{user_share_dirs}/gvfs-metadata/{,**} r,
|
||||||
deny owner @{HOME}/@{XDG_DOWNLOAD_DIR}/{,**} r,
|
deny owner @{HOME}/@{XDG_DOWNLOAD_DIR}/{,**} r,
|
||||||
|
deny /dev/dri/card[0-9]* rw,
|
||||||
|
|
||||||
include if exists <local/browserpass>
|
include if exists <local/browserpass>
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -14,5 +14,9 @@ profile update-mime-database @{exec_path} {
|
||||||
|
|
||||||
/usr/share/mime/{,**} rw,
|
/usr/share/mime/{,**} rw,
|
||||||
|
|
||||||
|
# Silencer
|
||||||
|
deny network inet6 stream,
|
||||||
|
deny network inet stream,
|
||||||
|
|
||||||
include if exists <local/update-mime-database>
|
include if exists <local/update-mime-database>
|
||||||
}
|
}
|
||||||
|
|
@ -15,5 +15,9 @@ profile vlc-cache-gen @{exec_path} {
|
||||||
|
|
||||||
/{usr/,}lib/vlc/plugins/{,*} rw,
|
/{usr/,}lib/vlc/plugins/{,*} rw,
|
||||||
|
|
||||||
|
# Silencer
|
||||||
|
deny network inet6 stream,
|
||||||
|
deny network inet stream,
|
||||||
|
|
||||||
include if exists <local/vlc-cache-gen>
|
include if exists <local/vlc-cache-gen>
|
||||||
}
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue