diff options
Diffstat (limited to 'etc')
-rw-r--r-- | etc/silentarmy.profile | 3 | ||||
-rw-r--r-- | etc/xmr-stak-cpu.profile | 42 |
2 files changed, 45 insertions, 0 deletions
diff --git a/etc/silentarmy.profile b/etc/silentarmy.profile index abc68a499..977cfea99 100644 --- a/etc/silentarmy.profile +++ b/etc/silentarmy.profile | |||
@@ -11,6 +11,8 @@ include /etc/firejail/disable-common.inc | |||
11 | include /etc/firejail/disable-passwdmgr.inc | 11 | include /etc/firejail/disable-passwdmgr.inc |
12 | include /etc/firejail/disable-programs.inc | 12 | include /etc/firejail/disable-programs.inc |
13 | 13 | ||
14 | include /etc/firejail/whitelist-var-common.inc | ||
15 | |||
14 | caps.drop all | 16 | caps.drop all |
15 | netfilter | 17 | netfilter |
16 | nodvd | 18 | nodvd |
@@ -28,6 +30,7 @@ disable-mnt | |||
28 | private | 30 | private |
29 | # private-bin silentarmy,sa-solver,python3 | 31 | # private-bin silentarmy,sa-solver,python3 |
30 | private-dev | 32 | private-dev |
33 | private-opt none | ||
31 | private-tmp | 34 | private-tmp |
32 | 35 | ||
33 | noexec ${HOME} | 36 | noexec ${HOME} |
diff --git a/etc/xmr-stak-cpu.profile b/etc/xmr-stak-cpu.profile new file mode 100644 index 000000000..9cc6e0c1f --- /dev/null +++ b/etc/xmr-stak-cpu.profile | |||
@@ -0,0 +1,42 @@ | |||
1 | # Firejail profile for xmr-stak-cpu | ||
2 | # This file is overwritten after every install/update | ||
3 | # Persistent local customizations | ||
4 | include /etc/firejail/xmr-stak-cpu.local | ||
5 | # Persistent global definitions | ||
6 | include /etc/firejail/globals.local | ||
7 | |||
8 | |||
9 | include /etc/firejail/disable-common.inc | ||
10 | include /etc/firejail/disable-devel.inc | ||
11 | include /etc/firejail/disable-passwdmgr.inc | ||
12 | include /etc/firejail/disable-programs.inc | ||
13 | |||
14 | include /etc/firejail/whitelist-var-common.inc | ||
15 | |||
16 | caps.drop all | ||
17 | ipc-namespace | ||
18 | netfilter | ||
19 | no3d | ||
20 | nodvd | ||
21 | nogroups | ||
22 | nonewprivs | ||
23 | noroot | ||
24 | nosound | ||
25 | notv | ||
26 | novideo | ||
27 | protocol unix,inet,inet6 | ||
28 | seccomp | ||
29 | shell none | ||
30 | |||
31 | disable-mnt | ||
32 | private | ||
33 | private-bin xmr-stak-cpu | ||
34 | private-dev | ||
35 | private-etc xmr-stak-cpu.json | ||
36 | private-lib | ||
37 | private-opt none | ||
38 | private-tmp | ||
39 | |||
40 | memory-deny-write-execute | ||
41 | noexec ${HOME} | ||
42 | noexec /tmp | ||