From d1f0334ce7d3fc29bee64b50b993a677e1e80f76 Mon Sep 17 00:00:00 2001 From: Tad Date: Thu, 25 Jan 2018 13:38:44 -0500 Subject: Replace xmr-stak-cpu profile with unified xmr-stak profile --- etc/xmr-stak.profile | 44 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 etc/xmr-stak.profile (limited to 'etc/xmr-stak.profile') diff --git a/etc/xmr-stak.profile b/etc/xmr-stak.profile new file mode 100644 index 000000000..151a4c694 --- /dev/null +++ b/etc/xmr-stak.profile @@ -0,0 +1,44 @@ +# Firejail profile for xmr-stak +# This file is overwritten after every install/update +# Persistent local customizations +include /etc/firejail/xmr-stak.local +# Persistent global definitions +include /etc/firejail/globals.local + +noblacklist ${HOME}/.xmr-stak +noblacklist /usr/lib/llvm* + +include /etc/firejail/disable-common.inc +include /etc/firejail/disable-devel.inc +include /etc/firejail/disable-passwdmgr.inc +include /etc/firejail/disable-programs.inc + +mkdir ${HOME}/.xmr-stak +include /etc/firejail/whitelist-var-common.inc + +caps.drop all +ipc-namespace +netfilter +nodvd +nogroups +nonewprivs +noroot +nosound +notv +novideo +protocol unix,inet,inet6 +seccomp +shell none + +disable-mnt +private ${HOME}/.xmr-stak +private-bin xmr-stak +private-dev +private-etc ca-certificates,crypto-policies,nsswitch.conf,pki,resolv.conf,ssl +#private-lib libxmrstak_opencl_backend,libxmrstak_cuda_backend +private-opt cuda +private-tmp + +memory-deny-write-execute +noexec ${HOME} +noexec /tmp -- cgit v1.2.3-54-g00ecf