mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2024-11-14 23:43:56 +01:00
Update profiles.
This commit is contained in:
parent
4ee6cc9657
commit
6bbe50573b
@ -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,
|
||||
|
||||
|
@ -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,
|
||||
|
||||
|
@ -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>
|
||||
}
|
||||
|
@ -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>
|
||||
}
|
@ -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>
|
||||
}
|
Loading…
Reference in New Issue
Block a user