mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2024-11-15 07:54:17 +01:00
feat(profiles): general update.
This commit is contained in:
parent
1a82f00d2f
commit
59469b57b4
@ -7,8 +7,8 @@ abi <abi/3.0>,
|
|||||||
|
|
||||||
include <tunables/global>
|
include <tunables/global>
|
||||||
|
|
||||||
@{firefox_name} = firefox{,-esr}
|
@{firefox_name} = firefox{,.sh,-esr,-bin}
|
||||||
@{firefox_lib_dirs} = /{usr/,}lib{,32,64}/@{firefox_name}/ /opt/@{firefox_name}/
|
@{firefox_lib_dirs} = /{usr/,}lib{,32,64}/@{firefox_name} /opt/@{firefox_name}
|
||||||
@{firefox_config_dirs} = @{HOME}/.mozilla/
|
@{firefox_config_dirs} = @{HOME}/.mozilla/
|
||||||
@{firefox_cache_dirs} = @{user_cache_dirs}/mozilla/
|
@{firefox_cache_dirs} = @{user_cache_dirs}/mozilla/
|
||||||
|
|
||||||
|
@ -9,8 +9,8 @@ include <tunables/global>
|
|||||||
|
|
||||||
@{MOZ_HOMEDIR} = @{HOME}/.mozilla
|
@{MOZ_HOMEDIR} = @{HOME}/.mozilla
|
||||||
|
|
||||||
@{firefox_name} = firefox{,-esr}
|
@{firefox_name} = firefox{,.sh,-esr,-bin}
|
||||||
@{firefox_lib_dirs} = /{usr/,}lib{,32,64}/@{firefox_name}/ /opt/@{firefox_name}/
|
@{firefox_lib_dirs} = /{usr/,}lib{,32,64}/@{firefox_name} /opt/@{firefox_name}
|
||||||
@{firefox_config_dirs} = @{HOME}/.mozilla/
|
@{firefox_config_dirs} = @{HOME}/.mozilla/
|
||||||
@{firefox_cache_dirs} = @{user_cache_dirs}/mozilla/
|
@{firefox_cache_dirs} = @{user_cache_dirs}/mozilla/
|
||||||
|
|
||||||
|
@ -7,8 +7,8 @@ abi <abi/3.0>,
|
|||||||
|
|
||||||
include <tunables/global>
|
include <tunables/global>
|
||||||
|
|
||||||
@{firefox_name} = firefox{,-esr}
|
@{firefox_name} = firefox{,.sh,-esr,-bin}
|
||||||
@{firefox_lib_dirs} = /{usr/,}lib{,32,64}/@{firefox_name}/ /opt/@{firefox_name}/
|
@{firefox_lib_dirs} = /{usr/,}lib{,32,64}/@{firefox_name} /opt/@{firefox_name}
|
||||||
|
|
||||||
@{exec_path} = @{firefox_lib_dirs}/plugin-container
|
@{exec_path} = @{firefox_lib_dirs}/plugin-container
|
||||||
profile firefox-plugin-container @{exec_path} {
|
profile firefox-plugin-container @{exec_path} {
|
||||||
|
@ -20,6 +20,7 @@ profile xdg-user-dir @{exec_path} {
|
|||||||
# Silencer
|
# Silencer
|
||||||
deny network inet stream,
|
deny network inet stream,
|
||||||
deny network inet6 stream,
|
deny network inet6 stream,
|
||||||
|
deny @{user_share_dirs}/gvfs-metadata/* r,
|
||||||
|
|
||||||
include if exists <local/xdg-user-dir>
|
include if exists <local/xdg-user-dir>
|
||||||
}
|
}
|
@ -7,7 +7,7 @@ abi <abi/3.0>,
|
|||||||
include <tunables/global>
|
include <tunables/global>
|
||||||
|
|
||||||
@{exec_path} = /{usr/,}bin/which{.debianutils,}
|
@{exec_path} = /{usr/,}bin/which{.debianutils,}
|
||||||
profile which @{exec_path} flags=(complain) {
|
profile which @{exec_path} {
|
||||||
include <abstractions/base>
|
include <abstractions/base>
|
||||||
include <abstractions/consoles>
|
include <abstractions/consoles>
|
||||||
|
|
||||||
@ -28,5 +28,7 @@ profile which @{exec_path} flags=(complain) {
|
|||||||
owner @{HOME}/.krew/bin/ r,
|
owner @{HOME}/.krew/bin/ r,
|
||||||
owner @{HOME}/go/bin/ r,
|
owner @{HOME}/go/bin/ r,
|
||||||
|
|
||||||
|
deny @{user_share_dirs}/gvfs-metadata/* r,
|
||||||
|
|
||||||
include if exists <local/which>
|
include if exists <local/which>
|
||||||
}
|
}
|
||||||
|
@ -21,6 +21,9 @@ profile wireplumber @{exec_path} {
|
|||||||
|
|
||||||
@{exec_path} mr,
|
@{exec_path} mr,
|
||||||
|
|
||||||
|
/opt/intel/oneapi/{compiler,lib,mkl}/**/ r,
|
||||||
|
/opt/intel/oneapi/{compiler,lib,mkl}/**.so* mr,
|
||||||
|
|
||||||
/etc/machine-id r,
|
/etc/machine-id r,
|
||||||
|
|
||||||
/usr/share/alsa-card-profile/{,**} r,
|
/usr/share/alsa-card-profile/{,**} r,
|
||||||
|
@ -177,7 +177,7 @@ kauth-kded-smart-helper complain
|
|||||||
kauth-kinfocenter-dmidecode-helper complain
|
kauth-kinfocenter-dmidecode-helper complain
|
||||||
kcminit complain
|
kcminit complain
|
||||||
kconf_update complain
|
kconf_update complain
|
||||||
kde-powerdevil complain
|
kde-powerdevil attach_disconnected,complain
|
||||||
kded5 complain
|
kded5 complain
|
||||||
kernel-install complain
|
kernel-install complain
|
||||||
kglobalaccel5 complain
|
kglobalaccel5 complain
|
||||||
|
Loading…
Reference in New Issue
Block a user