From 2cbdc4399a2a98ee6822ea2512eaaee0c39dac5b Mon Sep 17 00:00:00 2001 From: rusty-snake <41237666+rusty-snake@users.noreply.github.com> Date: Mon, 13 Apr 2020 17:39:20 +0200 Subject: add sthortwave (#1139) and remove gjs from firecf… MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit …g.config (#3333). --- etc/shortwave.profile | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 etc/shortwave.profile (limited to 'etc/shortwave.profile') diff --git a/etc/shortwave.profile b/etc/shortwave.profile new file mode 100644 index 000000000..ee2314833 --- /dev/null +++ b/etc/shortwave.profile @@ -0,0 +1,50 @@ +# Firejail profile for shortwave +# Description: Listen to internet radio +# This file is overwritten after every install/update +# Persistent local customizations +include shortwave.local +# Persistent global definitions +include globals.local + +noblacklist ${HOME}/.cache/Shortwave +noblacklist ${HOME}/.local/share/Shortwave + +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-xdg.inc + +mkdir ${HOME}/.cache/Shortwave +mkdir ${HOME}/.local/share/Shortwave +whitelist ${HOME}/.cache/Shortwave +whitelist ${HOME}/.local/share/Shortwave +whitelist /usr/share/shortwave +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 +novideo +protocol unix,inet,inet6 +seccomp +shell none +tracelog + +disable-mnt +private-bin shortwave +private-cache +private-dev +private-etc alsa,alternatives,asound.conf,ca-certificates,crypto-policies,dconf,fonts,gconf,group,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,localtime,machine-id,mime.types,nsswitch.conf,pango,passwd,pki,pulse,resolv.conf,ssl,X11,xdg +private-tmp -- cgit v1.2.3-70-g09d2