Skip to content

Commit

Permalink
profiles: browsers: sort blacklist entries
Browse files Browse the repository at this point in the history
See etc/templates/profile.template.

Added on commit f3d126b ("disable curl and wget in browsers based on
firefox and chromium", 2021-12-18).

Relates to #4852.
  • Loading branch information
kmk3 committed Sep 24, 2024
1 parent 1b2d18e commit 98e81ea
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions etc/profile-a-l/chromium-common.profile
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ noblacklist /usr/lib/chromium/chrome-sandbox
# to have access to Gnome extensions (extensions.gnome.org) via browser connector
#include allow-python3.inc

blacklist ${PATH}/curl
blacklist ${PATH}/wget
blacklist ${PATH}/wget2

mkdir ${HOME}/.local/share/pki
mkdir ${HOME}/.pki
whitelist ${HOME}/.local/share/pki
Expand All @@ -35,10 +39,6 @@ include whitelist-run-common.inc
?BROWSER_DISABLE_U2F: private-dev
#private-tmp # issues when using multiple browser sessions

blacklist ${PATH}/curl
blacklist ${PATH}/wget
blacklist ${PATH}/wget2

# This prevents access to passwords saved in GNOME Keyring and KWallet, also
# breaks Gnome connector.
#dbus-user none
Expand Down
8 changes: 4 additions & 4 deletions etc/profile-a-l/firefox-common.profile
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ include firefox-common.local
noblacklist ${HOME}/.local/share/pki
noblacklist ${HOME}/.pki

blacklist ${PATH}/curl
blacklist ${PATH}/wget
blacklist ${PATH}/wget2

include disable-common.inc
include disable-devel.inc
include disable-exec.inc
Expand Down Expand Up @@ -66,10 +70,6 @@ disable-mnt
private-etc @tls-ca,@x11,mailcap,mime.types,os-release
private-tmp

blacklist ${PATH}/curl
blacklist ${PATH}/wget
blacklist ${PATH}/wget2

# 'dbus-user none' breaks various desktop integration features like global menus, native notifications,
# Gnome connector, KDE connect and power management on KDE Plasma.
dbus-user none
Expand Down

0 comments on commit 98e81ea

Please sign in to comment.