From 018d75775eab4a0f045949a9d069c57686ca2686 Mon Sep 17 00:00:00 2001 From: netblue30 Date: Tue, 21 Apr 2020 08:24:28 -0400 Subject: reorganize github etc directory --- etc/profile-a-l/ffmpeg.profile | 55 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 55 insertions(+) create mode 100644 etc/profile-a-l/ffmpeg.profile (limited to 'etc/profile-a-l/ffmpeg.profile') diff --git a/etc/profile-a-l/ffmpeg.profile b/etc/profile-a-l/ffmpeg.profile new file mode 100644 index 000000000..37c46e7d6 --- /dev/null +++ b/etc/profile-a-l/ffmpeg.profile @@ -0,0 +1,55 @@ +# Firejail profile for ffmpeg +# Description: Tools for transcoding, streaming and playing of multimedia files +# This file is overwritten after every install/update +quiet +# Persistent local customizations +include ffmpeg.local +# Persistent global definitions +include globals.local + +noblacklist ${MUSIC} +noblacklist ${VIDEOS} + +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 + +whitelist /usr/share/devedeng +whitelist /usr/share/ffmpeg +whitelist /usr/share/qtchooser +include whitelist-usr-share-common.inc +include whitelist-var-common.inc + +apparmor +caps.drop all +ipc-namespace +machine-id +netfilter +nodvd +nogroups +nonewprivs +noroot +nosound +notv +nou2f +novideo +protocol inet,inet6 +# allow set_mempolicy, which is required to encode using libx265 +seccomp !set_mempolicy +shell none +tracelog + +private-bin ffmpeg +private-cache +private-dev +private-etc alternatives,ca-certificates,crypto-policies,hosts,ld.so.cache,ld.so.conf,ld.so.conf.d,ld.so.preload,nsswitch.conf,pkcs11,pki,resolv.conf,ssl +private-tmp + +dbus-user none +dbus-system none + +# memory-deny-write-execute - it breaks old versions of ffmpeg -- cgit v1.2.3-70-g09d2