diff options
Diffstat (limited to 'etc/profile-a-l/electron-cash.profile')
-rw-r--r-- | etc/profile-a-l/electron-cash.profile | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/etc/profile-a-l/electron-cash.profile b/etc/profile-a-l/electron-cash.profile new file mode 100644 index 000000000..bedccf667 --- /dev/null +++ b/etc/profile-a-l/electron-cash.profile | |||
@@ -0,0 +1,54 @@ | |||
1 | # Firejail profile for electron-cash | ||
2 | # Description: Lightweight Bitcoin Cash wallet | ||
3 | # This file is overwritten after every install/update | ||
4 | # Persistent local customizations | ||
5 | include electron-cash.local | ||
6 | # Persistent global definitions | ||
7 | include globals.local | ||
8 | |||
9 | noblacklist ${HOME}/.electron-cash | ||
10 | |||
11 | # Allow python (blacklisted by disable-interpreters.inc) | ||
12 | include allow-python3.inc | ||
13 | |||
14 | include disable-common.inc | ||
15 | include disable-devel.inc | ||
16 | include disable-exec.inc | ||
17 | include disable-interpreters.inc | ||
18 | include disable-programs.inc | ||
19 | include disable-shell.inc | ||
20 | include disable-xdg.inc | ||
21 | |||
22 | mkdir ${HOME}/.electron-cash | ||
23 | whitelist ${HOME}/.electron-cash | ||
24 | include whitelist-common.inc | ||
25 | include whitelist-var-common.inc | ||
26 | |||
27 | caps.drop all | ||
28 | ipc-namespace | ||
29 | netfilter | ||
30 | no3d | ||
31 | nodvd | ||
32 | nogroups | ||
33 | noinput | ||
34 | nonewprivs | ||
35 | noroot | ||
36 | nosound | ||
37 | notv | ||
38 | nou2f | ||
39 | novideo | ||
40 | protocol unix,inet,inet6 | ||
41 | seccomp | ||
42 | |||
43 | disable-mnt | ||
44 | private-bin electron-cash,python* | ||
45 | private-cache | ||
46 | ?HAS_APPIMAGE: ignore private-dev | ||
47 | private-dev | ||
48 | private-etc alternatives,ca-certificates,crypto-policies,dconf,fonts,ld.so.cache,ld.so.preload,machine-id,pki,resolv.conf,ssl | ||
49 | private-tmp | ||
50 | |||
51 | # dbus-user none | ||
52 | # dbus-system none | ||
53 | |||
54 | restrict-namespaces | ||