aboutsummaryrefslogtreecommitdiffstats
path: root/etc/profile-a-l/ffmpeg.profile
diff options
context:
space:
mode:
Diffstat (limited to 'etc/profile-a-l/ffmpeg.profile')
-rw-r--r--etc/profile-a-l/ffmpeg.profile55
1 files changed, 55 insertions, 0 deletions
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 @@
1# Firejail profile for ffmpeg
2# Description: Tools for transcoding, streaming and playing of multimedia files
3# This file is overwritten after every install/update
4quiet
5# Persistent local customizations
6include ffmpeg.local
7# Persistent global definitions
8include globals.local
9
10noblacklist ${MUSIC}
11noblacklist ${VIDEOS}
12
13include disable-common.inc
14include disable-devel.inc
15include disable-exec.inc
16include disable-interpreters.inc
17include disable-passwdmgr.inc
18include disable-programs.inc
19include disable-xdg.inc
20
21whitelist /usr/share/devedeng
22whitelist /usr/share/ffmpeg
23whitelist /usr/share/qtchooser
24include whitelist-usr-share-common.inc
25include whitelist-var-common.inc
26
27apparmor
28caps.drop all
29ipc-namespace
30machine-id
31netfilter
32nodvd
33nogroups
34nonewprivs
35noroot
36nosound
37notv
38nou2f
39novideo
40protocol inet,inet6
41# allow set_mempolicy, which is required to encode using libx265
42seccomp !set_mempolicy
43shell none
44tracelog
45
46private-bin ffmpeg
47private-cache
48private-dev
49private-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
50private-tmp
51
52dbus-user none
53dbus-system none
54
55# memory-deny-write-execute - it breaks old versions of ffmpeg