firejail/etc/profile-m-z/xmr-stak.profile
glitsj16 1759055304
profiles: exchange private-opt with a whitelist (#6021)
* profiles: drop private-opt (existing whitelist)

* profiles: replace private-opt with whitelist

In most profiles.

Kept private-opt for enpass (~85MB), mate-dictionary (<20MB),
minecraft-launcher (~1.6MB) and ppsspp (~44MB). The only app I couldn't
check: xmr-stak.

* docs: note potential issues with private-opt
2023-10-18 22:47:07 +00:00

46 lines
851 B
Text

# Firejail profile for xmr-stak
# This file is overwritten after every install/update
# Persistent local customizations
include xmr-stak.local
# Persistent global definitions
include globals.local
noblacklist ${HOME}/.xmr-stak
include disable-common.inc
include disable-devel.inc
include disable-exec.inc
include disable-interpreters.inc
include disable-programs.inc
include disable-shell.inc
include disable-xdg.inc
mkdir ${HOME}/.xmr-stak
whitelist /opt/cuda
include whitelist-var-common.inc
caps.drop all
ipc-namespace
netfilter
nodvd
nogroups
noinput
nonewprivs
noroot
nosound
notv
nou2f
novideo
protocol unix,inet,inet6
seccomp
disable-mnt
private ${HOME}/.xmr-stak
private-bin xmr-stak
private-dev
private-etc @tls-ca
#private-lib libxmrstak_opencl_backend,libxmrstak_cuda_backend
private-tmp
memory-deny-write-execute
restrict-namespaces