diff options
author | 2017-08-07 13:41:08 -0500 | |
---|---|---|
committer | 2017-08-07 13:41:08 -0500 | |
commit | e24b15f8647997dbb26a7152c921af94e36294ce (patch) | |
tree | 4c98b42844c8c67853643d4b4b7253dbd8764f1e /etc/mupdf.profile | |
parent | merges (diff) | |
parent | Unify last 8 profiles (diff) | |
download | firejail-e24b15f8647997dbb26a7152c921af94e36294ce.tar.gz firejail-e24b15f8647997dbb26a7152c921af94e36294ce.tar.zst firejail-e24b15f8647997dbb26a7152c921af94e36294ce.zip |
Merge pull request #1427 from SpotComms/pr
Unify all profiles
Diffstat (limited to 'etc/mupdf.profile')
-rw-r--r-- | etc/mupdf.profile | 23 |
1 files changed, 9 insertions, 14 deletions
diff --git a/etc/mupdf.profile b/etc/mupdf.profile index ca61edfdd..4b98552c4 100644 --- a/etc/mupdf.profile +++ b/etc/mupdf.profile | |||
@@ -1,15 +1,15 @@ | |||
1 | # Persistent global definitions go here | 1 | # Firejail profile for mupdf |
2 | # This file is overwritten after every install/update | ||
3 | # Persistent local customizations | ||
4 | include /etc/firejail/mupdf.local | ||
5 | # Persistent global definitions | ||
2 | include /etc/firejail/globals.local | 6 | include /etc/firejail/globals.local |
3 | 7 | ||
4 | # This file is overwritten during software install. | ||
5 | # Persistent customizations should go in a .local file. | ||
6 | include /etc/firejail/mupdf.local | ||
7 | 8 | ||
8 | # mupdf reader profile | ||
9 | include /etc/firejail/disable-common.inc | 9 | include /etc/firejail/disable-common.inc |
10 | include /etc/firejail/disable-programs.inc | ||
11 | include /etc/firejail/disable-devel.inc | 10 | include /etc/firejail/disable-devel.inc |
12 | include /etc/firejail/disable-passwdmgr.inc | 11 | include /etc/firejail/disable-passwdmgr.inc |
12 | include /etc/firejail/disable-programs.inc | ||
13 | 13 | ||
14 | caps.drop all | 14 | caps.drop all |
15 | net none | 15 | net none |
@@ -19,18 +19,13 @@ noroot | |||
19 | nosound | 19 | nosound |
20 | protocol unix | 20 | protocol unix |
21 | seccomp | 21 | seccomp |
22 | # seccomp.keep access,arch_prctl,brk,clone,close,connect,execve,exit_group,fchmod,fchown,fcntl,fstat,futex,getcwd,getpeername,getrlimit,getsockname,getsockopt,lseek,lstat,mlock,mmap,mprotect,mremap,munmap,nanosleep,open,poll,prctl,read,recvfrom,recvmsg,restart_syscall,rt_sigaction,rt_sigprocmask,select,sendmsg,set_robust_list,set_tid_address,setresgid,setresuid,shmat,shmctl,shmget,shutdown,socket,stat,sysinfo,uname,unshare,wait4,write,writev | ||
22 | shell none | 23 | shell none |
23 | tracelog | 24 | tracelog |
24 | 25 | ||
25 | private-tmp | 26 | # private-bin mupdf,sh,tempfile,rm |
26 | private-dev | 27 | private-dev |
27 | private-etc fonts | 28 | private-etc fonts |
28 | 29 | private-tmp | |
29 | # mupdf will never write anything | 30 | # mupdf will never write anything |
30 | read-only ${HOME} | 31 | read-only ${HOME} |
31 | |||
32 | # | ||
33 | # Experimental: | ||
34 | # | ||
35 | #seccomp.keep access,arch_prctl,brk,clone,close,connect,execve,exit_group,fchmod,fchown,fcntl,fstat,futex,getcwd,getpeername,getrlimit,getsockname,getsockopt,lseek,lstat,mlock,mmap,mprotect,mremap,munmap,nanosleep,open,poll,prctl,read,recvfrom,recvmsg,restart_syscall,rt_sigaction,rt_sigprocmask,select,sendmsg,set_robust_list,set_tid_address,setresgid,setresuid,shmat,shmctl,shmget,shutdown,socket,stat,sysinfo,uname,unshare,wait4,write,writev | ||
36 | # private-bin mupdf,sh,tempfile,rm | ||