feat(profiles): general update.

This commit is contained in:
Alexandre Pujol 2022-05-15 22:56:42 +01:00
parent 0b66933b45
commit 5c382d7eb3
No known key found for this signature in database
GPG key ID: C5469996F0DF68EC
33 changed files with 115 additions and 52 deletions

View file

@ -75,7 +75,7 @@ profile jdownloader @{exec_path} {
# What's this for?
deny owner @{HOME}/.mozilla/firefox/ r,
deny owner @{HOME}/.mozilla/firefox/*.default/prefs.js r,
deny owner @{HOME}/.mozilla/firefox/*.*/prefs.js r,
owner @{PROC}/@{pid}/fd/ r,
deny @{PROC}/@{pid}/net/ipv6_route r,

View file

@ -85,7 +85,7 @@ profile jdownloader-install @{exec_path} {
# What's this for?
deny owner @{HOME}/.mozilla/firefox/ r,
deny owner @{HOME}/.mozilla/firefox/*.default/prefs.js r,
deny owner @{HOME}/.mozilla/firefox/*.*/prefs.js r,
# Needed when installing JD
/ r,

View file

@ -9,6 +9,9 @@ include <tunables/global>
@{exec_path} = /{usr/,}bin/locale-gen
profile locale-gen @{exec_path} {
include <abstractions/base>
include <abstractions/consoles>
capability dac_read_search,
@{exec_path} mr,
@ -21,7 +24,13 @@ profile locale-gen @{exec_path} {
/{usr/,}lib/locale/locale-archive rwl,
/{usr/,}lib/locale/locale-archive* rw,
/usr/share/i18n/{,**} r,
/etc/locale.gen r,
# Inherit Silencer
deny network inet6 stream,
deny network inet stream,
include if exists <local/locale-gen>
}