aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatar rusty-snake <print_hello_world+GitHub@protonmail.com>2019-03-06 20:07:09 +0000
committerLibravatar glitsj16 <glitsj16@users.noreply.github.com>2019-03-06 20:07:09 +0000
commitf843166a6c56aca547cc1213a95c24cf16788cc4 (patch)
treedb86fef30c73bd2308ce75303156463a45b16990
parentMerge pull request #2517 from veloute/keepassxc (diff)
downloadfirejail-f843166a6c56aca547cc1213a95c24cf16788cc4.tar.gz
firejail-f843166a6c56aca547cc1213a95c24cf16788cc4.tar.zst
firejail-f843166a6c56aca547cc1213a95c24cf16788cc4.zip
Update ffmpeg.profile (#2529)
* Harden ffmpeg.profile * Review #2529
-rw-r--r--etc/ffmpeg.profile16
1 files changed, 12 insertions, 4 deletions
diff --git a/etc/ffmpeg.profile b/etc/ffmpeg.profile
index 44b5d5530..aa7a91928 100644
--- a/etc/ffmpeg.profile
+++ b/etc/ffmpeg.profile
@@ -7,28 +7,35 @@ include ffmpeg.local
7# Persistent global definitions 7# Persistent global definitions
8include globals.local 8include globals.local
9 9
10noblacklist ${MUSIC}
11noblacklist ${VIDEOS}
12
10include disable-common.inc 13include disable-common.inc
11include disable-devel.inc 14include disable-devel.inc
12include disable-interpreters.inc 15include disable-interpreters.inc
13include disable-passwdmgr.inc 16include disable-passwdmgr.inc
14include disable-programs.inc 17include disable-programs.inc
18include disable-xdg.inc
15 19
16include whitelist-var-common.inc 20include whitelist-var-common.inc
17 21
18apparmor 22apparmor
19caps.drop all 23caps.drop all
24ipc-namespace
20machine-id 25machine-id
21net none 26netfilter
27# no3d might break HW accelerated de/encoding - comment when appropriate
22no3d 28no3d
23nodbus 29nodbus
24nodvd 30nodvd
31nogroups
32nonewprivs
33noroot
25nosound 34nosound
26notv 35notv
27nou2f 36nou2f
28novideo 37novideo
29nonewprivs 38protocol inet,inet6
30noroot
31# protocol none - needs to be implemented!
32seccomp 39seccomp
33# seccomp.keep futex,write,read,munmap,fstat,mprotect,mmap,open,close,stat,lseek,brk,rt_sigaction,rt_sigprocmask,ioctl,access,select,madvise,getpid,clone,execve,fcntl,getdents,readlink,getrlimit,getrusage,statfs,getpriority,setpriority,arch_prctl,sched_getaffinity,set_tid_address,set_robust_list,getrandom 40# seccomp.keep futex,write,read,munmap,fstat,mprotect,mmap,open,close,stat,lseek,brk,rt_sigaction,rt_sigprocmask,ioctl,access,select,madvise,getpid,clone,execve,fcntl,getdents,readlink,getrlimit,getrusage,statfs,getpriority,setpriority,arch_prctl,sched_getaffinity,set_tid_address,set_robust_list,getrandom
34shell none 41shell none
@@ -37,6 +44,7 @@ tracelog
37private-bin ffmpeg 44private-bin ffmpeg
38private-cache 45private-cache
39private-dev 46private-dev
47private-etc alternatives,pki,pkcs11,hosts,ssl,ca-certificates,resolv.conf
40private-tmp 48private-tmp
41 49
42# memory-deny-write-execute - it breaks old versions of ffmpeg 50# memory-deny-write-execute - it breaks old versions of ffmpeg