firejail/etc/profile-m-z/mirage.profile
glitsj16 fb4705b4dd
streamline 'Allow xxx' comments (#3922)
* add comment: allow python

* add comment: allow python

* reorder allow comments

* fix perl allow comment

* add comment: allow python

* add comment: allow lua, perl & python

* reorder allow comments

* add comment: allow python

* add comment: allow python

* add comment: allow lua, perl & python

* fix allow comments

* add comment: allow python

* add comment: allow python

* fix spacing in comments

* add comment: allow python

* add comment: allow python

* fix comment

* add comment: allow perl & python

* add comment: allow lua & python

* add comment: allow lua, perl & python

* fix allow comments

* add comment: allow perl & python

* streamline allow python comments
2021-01-27 23:35:12 +00:00

61 lines
1.5 KiB
Text

# Firejail profile for mirage
# Description: Desktop client for Matrix
# This file is overwritten after every install/update
# Persistent local customizations
include mirage.local
# Persistent global definitions
include globals.local
noblacklist ${HOME}/.cache/mirage
noblacklist ${HOME}/.config/mirage
noblacklist ${HOME}/.local/share/mirage
noblacklist /sbin
# Allow python (blacklisted by disable-interpreters.inc)
include allow-python2.inc
include allow-python3.inc
include disable-common.inc
include disable-devel.inc
include disable-exec.inc
include disable-interpreters.inc
include disable-passwdmgr.inc
include disable-programs.inc
include disable-shell.inc
include disable-xdg.inc
mkdir ${HOME}/.cache/mirage
mkdir ${HOME}/.config/mirage
mkdir ${HOME}/.local/share/mirage
whitelist ${HOME}/.cache/mirage
whitelist ${HOME}/.config/mirage
whitelist ${HOME}/.local/share/mirage
whitelist ${DOWNLOADS}
include whitelist-common.inc
include whitelist-runuser-common.inc
include whitelist-usr-share-common.inc
include whitelist-var-common.inc
apparmor
caps.drop all
netfilter
nodvd
nogroups
nonewprivs
noroot
notv
nou2f
protocol unix,inet,inet6
seccomp
shell none
tracelog
disable-mnt
private-bin ldconfig,mirage
private-cache
private-dev
private-etc alsa,alternatives,asound.conf,ca-certificates,crypto-policies,fonts,gtk-2.0,gtk-3.0,host.conf,hostname,hosts,ld.so.cache,ld.so.conf,ld.so.conf.d,ld.so.preload,locale,locale.alias,locale.conf,mime.types,nsswitch.conf,pki,pulse,resolv.conf,selinux,ssl,X11,xdg
private-tmp
dbus-user none
dbus-system none