aboutsummaryrefslogtreecommitdiffstats
path: root/etc/xmr-stak.profile
diff options
context:
space:
mode:
authorLibravatar Tad <tad@spotco.us>2018-01-25 13:38:44 -0500
committerLibravatar Tad <tad@spotco.us>2018-01-25 13:38:44 -0500
commitd1f0334ce7d3fc29bee64b50b993a677e1e80f76 (patch)
tree96f596ca88ef133a7f8a278957858e08b39ed0ab /etc/xmr-stak.profile
parentapparmor support for --chroot sandboxes (diff)
downloadfirejail-d1f0334ce7d3fc29bee64b50b993a677e1e80f76.tar.gz
firejail-d1f0334ce7d3fc29bee64b50b993a677e1e80f76.tar.zst
firejail-d1f0334ce7d3fc29bee64b50b993a677e1e80f76.zip
Replace xmr-stak-cpu profile with unified xmr-stak profile
Diffstat (limited to 'etc/xmr-stak.profile')
-rw-r--r--etc/xmr-stak.profile44
1 files changed, 44 insertions, 0 deletions
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 @@
1# Firejail profile for xmr-stak
2# This file is overwritten after every install/update
3# Persistent local customizations
4include /etc/firejail/xmr-stak.local
5# Persistent global definitions
6include /etc/firejail/globals.local
7
8noblacklist ${HOME}/.xmr-stak
9noblacklist /usr/lib/llvm*
10
11include /etc/firejail/disable-common.inc
12include /etc/firejail/disable-devel.inc
13include /etc/firejail/disable-passwdmgr.inc
14include /etc/firejail/disable-programs.inc
15
16mkdir ${HOME}/.xmr-stak
17include /etc/firejail/whitelist-var-common.inc
18
19caps.drop all
20ipc-namespace
21netfilter
22nodvd
23nogroups
24nonewprivs
25noroot
26nosound
27notv
28novideo
29protocol unix,inet,inet6
30seccomp
31shell none
32
33disable-mnt
34private ${HOME}/.xmr-stak
35private-bin xmr-stak
36private-dev
37private-etc ca-certificates,crypto-policies,nsswitch.conf,pki,resolv.conf,ssl
38#private-lib libxmrstak_opencl_backend,libxmrstak_cuda_backend
39private-opt cuda
40private-tmp
41
42memory-deny-write-execute
43noexec ${HOME}
44noexec /tmp