Deny Tor related profiles access to /sys/class/net

This directory contains the MAC address for connections available

Tested working with torbrowser-launcher and onionshare

Signed-off-by: Tad <tad@spotco.us>
This commit is contained in:
Tad 2022-07-23 13:18:09 -04:00
parent 0ba8ed88b9
commit 89441e48e8
3 changed files with 4 additions and 0 deletions

View file

@ -11,6 +11,8 @@ noblacklist ${HOME}/.config/onionshare
# Allow python (blacklisted by disable-interpreters.inc)
include allow-python3.inc
blacklist /sys/class/net
include disable-common.inc
include disable-devel.inc
include disable-exec.inc

View file

@ -16,6 +16,7 @@ include allow-python2.inc
include allow-python3.inc
blacklist /srv
blacklist /sys/class/net
include disable-common.inc
include disable-devel.inc

View file

@ -13,6 +13,7 @@ noblacklist ${HOME}/.cache/mozilla
noblacklist ${HOME}/.mozilla
blacklist /usr/libexec
blacklist /sys/class/net
mkdir ${HOME}/.cache/mozilla/torbrowser
mkdir ${HOME}/.mozilla