firejail/etc/pybitmessage.profile
1dnrr 467be071b4 Create pybitmessage.profile (#2092)
tested on fedora-28 with pybitmessage 0.6.3.2
2018-08-23 15:37:01 +01:00

49 lines
1.2 KiB
Text

# Firejail profile for pybitmessage
# This file is overwritten after every install/update
# Persistent local customizations
include /etc/firejail/pybitmessage.local
# Persistent global definitions
include /etc/firejail/globals.local
noblacklist /sbin
noblacklist /usr/local/sbin
noblacklist /usr/sbin
# Allow python (blacklisted by disable-interpreters.inc)
noblacklist ${PATH}/python2*
noblacklist ${PATH}/python3*
noblacklist /usr/lib/python2*
noblacklist /usr/lib/python3*
include /etc/firejail/disable-common.inc
include /etc/firejail/disable-devel.inc
include /etc/firejail/disable-passwdmgr.inc
include /etc/firejail/disable-programs.inc
include /etc/firejail/disable-interpreters.inc
include /etc/firejail/whitelist-var-common.inc
caps.drop all
ipc-namespace
netfilter
no3d
nodvd
nogroups
nonewprivs
noroot
nosound
notv
novideo
protocol unix,inet,inet6,netlink
seccomp
shell none
disable-mnt
private-bin pybitmessage,python*,sh,ldconfig,env,bash,stat
private-dev
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
private-tmp
memory-deny-write-execute
noexec ${HOME}
noexec /tmp