diff options
author | 2018-08-23 14:37:01 +0000 | |
---|---|---|
committer | 2018-08-23 15:37:01 +0100 | |
commit | 467be071b48009351622997b9539d544d7053f8f (patch) | |
tree | 891572defc5c6e9f40c9c4ba63140754890f312b | |
parent | Merge pull request #2094 from 1dnrr/patch-3 (diff) | |
download | firejail-467be071b48009351622997b9539d544d7053f8f.tar.gz firejail-467be071b48009351622997b9539d544d7053f8f.tar.zst firejail-467be071b48009351622997b9539d544d7053f8f.zip |
Create pybitmessage.profile (#2092)
tested on fedora-28 with pybitmessage 0.6.3.2
-rw-r--r-- | etc/pybitmessage.profile | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/etc/pybitmessage.profile b/etc/pybitmessage.profile new file mode 100644 index 000000000..02c35b104 --- /dev/null +++ b/etc/pybitmessage.profile | |||
@@ -0,0 +1,49 @@ | |||
1 | # Firejail profile for pybitmessage | ||
2 | # This file is overwritten after every install/update | ||
3 | # Persistent local customizations | ||
4 | include /etc/firejail/pybitmessage.local | ||
5 | # Persistent global definitions | ||
6 | include /etc/firejail/globals.local | ||
7 | |||
8 | noblacklist /sbin | ||
9 | noblacklist /usr/local/sbin | ||
10 | noblacklist /usr/sbin | ||
11 | |||
12 | # Allow python (blacklisted by disable-interpreters.inc) | ||
13 | noblacklist ${PATH}/python2* | ||
14 | noblacklist ${PATH}/python3* | ||
15 | noblacklist /usr/lib/python2* | ||
16 | noblacklist /usr/lib/python3* | ||
17 | |||
18 | include /etc/firejail/disable-common.inc | ||
19 | include /etc/firejail/disable-devel.inc | ||
20 | include /etc/firejail/disable-passwdmgr.inc | ||
21 | include /etc/firejail/disable-programs.inc | ||
22 | include /etc/firejail/disable-interpreters.inc | ||
23 | |||
24 | include /etc/firejail/whitelist-var-common.inc | ||
25 | |||
26 | caps.drop all | ||
27 | ipc-namespace | ||
28 | netfilter | ||
29 | no3d | ||
30 | nodvd | ||
31 | nogroups | ||
32 | nonewprivs | ||
33 | noroot | ||
34 | nosound | ||
35 | notv | ||
36 | novideo | ||
37 | protocol unix,inet,inet6,netlink | ||
38 | seccomp | ||
39 | shell none | ||
40 | |||
41 | disable-mnt | ||
42 | private-bin pybitmessage,python*,sh,ldconfig,env,bash,stat | ||
43 | private-dev | ||
44 | private-etc PyBitmessage,PyBitmessage.conf,Trolltech.conf,fonts,gtk-2.0,hosts,ld.so.cache,ld.so.preload,localtime,pki,resolv.conf,selinux,sni-qt.conf,system-fips,xdg,ca-certificates,ssl,pki,crypto-policies | ||
45 | private-tmp | ||
46 | |||
47 | memory-deny-write-execute | ||
48 | noexec ${HOME} | ||
49 | noexec /tmp | ||