diff options
author | 2018-02-20 11:36:33 -0600 | |
---|---|---|
committer | 2018-02-20 11:36:33 -0600 | |
commit | 45fc1d5c7b08d461fc00d1fe2553039fbbd56d4a (patch) | |
tree | 4646d583bf80a38e3d70fbab18406ba4f19eee47 /etc/bitcoin-qt.profile | |
parent | Update firecfg and README (diff) | |
parent | Merge branch 'master' of github.com:baryluk/firejail (diff) | |
download | firejail-45fc1d5c7b08d461fc00d1fe2553039fbbd56d4a.tar.gz firejail-45fc1d5c7b08d461fc00d1fe2553039fbbd56d4a.tar.zst firejail-45fc1d5c7b08d461fc00d1fe2553039fbbd56d4a.zip |
Merge pull request #1780 from baryluk/master
Add a profile for bitcoin-qt
Diffstat (limited to 'etc/bitcoin-qt.profile')
-rw-r--r-- | etc/bitcoin-qt.profile | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/etc/bitcoin-qt.profile b/etc/bitcoin-qt.profile new file mode 100644 index 000000000..514b4609c --- /dev/null +++ b/etc/bitcoin-qt.profile | |||
@@ -0,0 +1,47 @@ | |||
1 | # Firejail profile for bitcoin-qt | ||
2 | # This file is overwritten after every install/update | ||
3 | # Persistent local customizations | ||
4 | include /etc/firejail/bitcoin-qt.local | ||
5 | # Persistent global definitions | ||
6 | include /etc/firejail/globals.local | ||
7 | |||
8 | noblacklist ${HOME}/.bitcoin | ||
9 | |||
10 | include /etc/firejail/disable-common.inc | ||
11 | include /etc/firejail/disable-devel.inc | ||
12 | include /etc/firejail/disable-passwdmgr.inc | ||
13 | include /etc/firejail/disable-programs.inc | ||
14 | |||
15 | mkdir ${HOME}/.bitcoin | ||
16 | whitelist ${HOME}/.bitcoin | ||
17 | |||
18 | mkdir ${HOME}/.config/Bitcoin | ||
19 | whitelist ${HOME}/.config/Bitcoin | ||
20 | |||
21 | include /etc/firejail/whitelist-common.inc | ||
22 | |||
23 | caps.drop all | ||
24 | machine-id | ||
25 | netfilter | ||
26 | no3d | ||
27 | nodvd | ||
28 | nogroups | ||
29 | nonewprivs | ||
30 | noroot | ||
31 | nosound | ||
32 | notv | ||
33 | novideo | ||
34 | protocol unix,inet,inet6 | ||
35 | seccomp | ||
36 | shell none | ||
37 | tracelog | ||
38 | |||
39 | private-bin bitcoin-qt | ||
40 | private-dev | ||
41 | #private-etc fonts # Causes problem with loading of libGL.so | ||
42 | #private-lib # Works, but QT complains about OpenSSL a bit. | ||
43 | private-tmp | ||
44 | |||
45 | memory-deny-write-execute | ||
46 | noexec ${HOME} | ||
47 | noexec /tmp | ||