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