firejail/etc/profile-a-l/celluloid.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

65 lines
1.7 KiB
Text

# Firejail profile for celluloid
# Description: Simple GTK+ frontend for mpv
# This file is overwritten after every install/update
# Persistent local customizations
include celluloid.local
# Persistent global definitions
include globals.local
noblacklist ${HOME}/.config/celluloid
noblacklist ${HOME}/.config/gnome-mpv
noblacklist ${HOME}/.config/youtube-dl
# Allow lua (blacklisted by disable-interpreters.inc)
include allow-lua.inc
# 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
read-only ${DESKTOP}
mkdir ${HOME}/.config/celluloid
mkdir ${HOME}/.config/gnome-mpv
mkdir ${HOME}/.config/youtube-dl
whitelist ${HOME}/.config/celluloid
whitelist ${HOME}/.config/gnome-mpv
whitelist ${HOME}/.config/youtube-dl
include whitelist-common.inc
include whitelist-player-common.inc
include whitelist-runuser-common.inc
include whitelist-usr-share-common.inc
include whitelist-var-common.inc
apparmor
caps.drop all
netfilter
nogroups
nonewprivs
noroot
nou2f
protocol unix,inet,inet6
seccomp
seccomp.block-secondary
shell none
tracelog
private-bin celluloid,env,gnome-mpv,python*,youtube-dl
private-cache
private-etc alternatives,ca-certificates,crypto-policies,dconf,drirc,fonts,gtk-3.0,hosts,ld.so.cache,libva.conf,localtime,machine-id,pkcs11,pki,resolv.conf,selinux,ssl,xdg
private-dev
private-tmp
dbus-user filter
dbus-user.own io.github.celluloid_player.Celluloid
dbus-user.talk org.gnome.SettingsDaemon.MediaKeys
dbus-system none
read-only ${HOME}
read-write ${HOME}/.config/celluloid