diff options
author | 2018-08-13 04:02:26 -0400 | |
---|---|---|
committer | 2018-08-13 04:02:26 -0400 | |
commit | 9c44e7a437475f1bd93039873cfbcaf61d5a4e92 (patch) | |
tree | ed2d72ed01ddb88ce8f7a42074a4b1008fe83b6c /etc | |
parent | Merges (diff) | |
download | firejail-9c44e7a437475f1bd93039873cfbcaf61d5a4e92.tar.gz firejail-9c44e7a437475f1bd93039873cfbcaf61d5a4e92.tar.zst firejail-9c44e7a437475f1bd93039873cfbcaf61d5a4e92.zip |
Add profile for electrum0.9.56-rc1
+ minor nitpicks to beaker.profile
Diffstat (limited to 'etc')
-rw-r--r-- | etc/beaker.profile | 1 | ||||
-rw-r--r-- | etc/electrum.profile | 52 |
2 files changed, 52 insertions, 1 deletions
diff --git a/etc/beaker.profile b/etc/beaker.profile index 4c884e77e..9215576c7 100644 --- a/etc/beaker.profile +++ b/etc/beaker.profile | |||
@@ -13,7 +13,6 @@ include /etc/firejail/disable-interpreters.inc | |||
13 | mkdir ${HOME}/.config/Beaker Browser | 13 | mkdir ${HOME}/.config/Beaker Browser |
14 | whitelist ${HOME}/.config/Beaker Browser | 14 | whitelist ${HOME}/.config/Beaker Browser |
15 | whitelist ${DOWNLOADS} | 15 | whitelist ${DOWNLOADS} |
16 | |||
17 | include /etc/firejail/whitelist-common.inc | 16 | include /etc/firejail/whitelist-common.inc |
18 | 17 | ||
19 | # Redirect | 18 | # Redirect |
diff --git a/etc/electrum.profile b/etc/electrum.profile new file mode 100644 index 000000000..d611f3e61 --- /dev/null +++ b/etc/electrum.profile | |||
@@ -0,0 +1,52 @@ | |||
1 | # Firejail profile for electrum | ||
2 | # This file is overwritten after every install/update | ||
3 | # Persistent local customizations | ||
4 | include /etc/firejail/electrum.local | ||
5 | # Persistent global definitions | ||
6 | include /etc/firejail/globals.local | ||
7 | |||
8 | noblacklist ${HOME}/.electrum | ||
9 | |||
10 | # Allow python (blacklisted by disable-interpreters.inc) | ||
11 | noblacklist ${PATH}/python2* | ||
12 | noblacklist ${PATH}/python3* | ||
13 | noblacklist /usr/lib/python2* | ||
14 | noblacklist /usr/lib/python3* | ||
15 | |||
16 | include /etc/firejail/disable-common.inc | ||
17 | include /etc/firejail/disable-devel.inc | ||
18 | include /etc/firejail/disable-interpreters.inc | ||
19 | include /etc/firejail/disable-passwdmgr.inc | ||
20 | include /etc/firejail/disable-programs.inc | ||
21 | include /etc/firejail/disable-xdg.inc | ||
22 | |||
23 | mkdir ${HOME}/.electrum | ||
24 | whitelist ${HOME}/.electrum | ||
25 | include /etc/firejail/whitelist-common.inc | ||
26 | include /etc/firejail/whitelist-var-common.inc | ||
27 | |||
28 | caps.drop all | ||
29 | ipc-namespace | ||
30 | netfilter | ||
31 | no3d | ||
32 | #nodbus | ||
33 | nodvd | ||
34 | nogroups | ||
35 | nonewprivs | ||
36 | noroot | ||
37 | nosound | ||
38 | notv | ||
39 | novideo | ||
40 | protocol unix,inet,inet6 | ||
41 | seccomp | ||
42 | shell none | ||
43 | |||
44 | disable-mnt | ||
45 | private-bin electrum,python* | ||
46 | private-cache | ||
47 | private-dev | ||
48 | private-etc fonts,dconf,ca-certificates,ssl,pki,crypto-policies,machine-id | ||
49 | private-tmp | ||
50 | |||
51 | noexec ${HOME} | ||
52 | noexec /tmp | ||