summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorLibravatar Tad <tad@spotco.us>2017-09-18 18:22:54 -0400
committerLibravatar Tad <tad@spotco.us>2017-09-18 18:22:54 -0400
commitf493dee7e78bfc387dbb0d70af1dd85f148975fe (patch)
treeeb23b04832b75df77d7193123e0969f346d83506 /etc
parentAdd a profile for clamdscan, clamdtop, and freshclam (diff)
downloadfirejail-f493dee7e78bfc387dbb0d70af1dd85f148975fe.tar.gz
firejail-f493dee7e78bfc387dbb0d70af1dd85f148975fe.tar.zst
firejail-f493dee7e78bfc387dbb0d70af1dd85f148975fe.zip
Add a profile for xmr-stak-cpu
- Add list of new profiles to README.md - Update firecfg - Further restrict silentarmy
Diffstat (limited to 'etc')
-rw-r--r--etc/silentarmy.profile3
-rw-r--r--etc/xmr-stak-cpu.profile42
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
11include /etc/firejail/disable-passwdmgr.inc 11include /etc/firejail/disable-passwdmgr.inc
12include /etc/firejail/disable-programs.inc 12include /etc/firejail/disable-programs.inc
13 13
14include /etc/firejail/whitelist-var-common.inc
15
14caps.drop all 16caps.drop all
15netfilter 17netfilter
16nodvd 18nodvd
@@ -28,6 +30,7 @@ disable-mnt
28private 30private
29# private-bin silentarmy,sa-solver,python3 31# private-bin silentarmy,sa-solver,python3
30private-dev 32private-dev
33private-opt none
31private-tmp 34private-tmp
32 35
33noexec ${HOME} 36noexec ${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
4include /etc/firejail/xmr-stak-cpu.local
5# Persistent global definitions
6include /etc/firejail/globals.local
7
8
9include /etc/firejail/disable-common.inc
10include /etc/firejail/disable-devel.inc
11include /etc/firejail/disable-passwdmgr.inc
12include /etc/firejail/disable-programs.inc
13
14include /etc/firejail/whitelist-var-common.inc
15
16caps.drop all
17ipc-namespace
18netfilter
19no3d
20nodvd
21nogroups
22nonewprivs
23noroot
24nosound
25notv
26novideo
27protocol unix,inet,inet6
28seccomp
29shell none
30
31disable-mnt
32private
33private-bin xmr-stak-cpu
34private-dev
35private-etc xmr-stak-cpu.json
36private-lib
37private-opt none
38private-tmp
39
40memory-deny-write-execute
41noexec ${HOME}
42noexec /tmp