aboutsummaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
Diffstat (limited to 'etc')
-rw-r--r--etc/default.profile7
-rw-r--r--etc/mupdf.profile8
2 files changed, 10 insertions, 5 deletions
diff --git a/etc/default.profile b/etc/default.profile
index 487e80c64..603321316 100644
--- a/etc/default.profile
+++ b/etc/default.profile
@@ -7,13 +7,16 @@ include /etc/firejail/disable-passwdmgr.inc
7 7
8caps.drop all 8caps.drop all
9netfilter 9netfilter
10nogroups
11nonewprivs 10nonewprivs
12noroot 11noroot
13protocol unix,inet,inet6 12protocol unix,inet,inet6
14seccomp 13seccomp
15shell none
16 14
15#
16# depending on you usage, you can enable some of the commands below:
17#
18# nogroups
19# shell none
17# private-bin program 20# private-bin program
18# private-etc none 21# private-etc none
19# private-dev 22# private-dev
diff --git a/etc/mupdf.profile b/etc/mupdf.profile
index 7116fa1a6..7f9261d8b 100644
--- a/etc/mupdf.profile
+++ b/etc/mupdf.profile
@@ -16,9 +16,6 @@ net none
16shell none 16shell none
17tracelog 17tracelog
18 18
19#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
20
21private-bin mupdf,sh,tempfile,rm
22private-tmp 19private-tmp
23private-dev 20private-dev
24private-etc fonts 21private-etc fonts
@@ -26,3 +23,8 @@ private-etc fonts
26# mupdf will never write anything 23# mupdf will never write anything
27read-only ${HOME} 24read-only ${HOME}
28 25
26#
27# Experimental:
28#
29#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
30# private-bin mupdf,sh,tempfile,rm