aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatar smitsohu <smitsohu@gmail.com>2018-03-13 18:22:31 +0100
committerLibravatar smitsohu <smitsohu@gmail.com>2018-03-13 18:22:31 +0100
commit94af430d9f4ced938315b079bdc62313b7b8152c (patch)
tree4ad3302b2dc7333e7061d4484baa0b2ac5905c41
parentfix unbound (ip-transparent option) - #1731 (diff)
downloadfirejail-94af430d9f4ced938315b079bdc62313b7b8152c.tar.gz
firejail-94af430d9f4ced938315b079bdc62313b7b8152c.tar.zst
firejail-94af430d9f4ced938315b079bdc62313b7b8152c.zip
fix qupzilla, falkon (seccomp, tracelog, private-tmp) - #1794, #1736
-rw-r--r--etc/falkon.profile7
-rw-r--r--etc/qupzilla.profile15
2 files changed, 16 insertions, 6 deletions
diff --git a/etc/falkon.profile b/etc/falkon.profile
index 03484382a..a86c83329 100644
--- a/etc/falkon.profile
+++ b/etc/falkon.profile
@@ -27,11 +27,12 @@ nonewprivs
27noroot 27noroot
28notv 28notv
29protocol unix,inet,inet6,netlink 29protocol unix,inet,inet6,netlink
30seccomp 30# blacklisting of chroot system calls breaks falkon
31tracelog 31seccomp.drop @clock,@cpu-emulation,@debug,@module,@obsolete,@raw-io,@reboot,@resources,@swap,acct,add_key,bpf,fanotify_init,io_cancel,io_destroy,io_getevents,io_setup,io_submit,ioprio_set,kcmp,keyctl,mount,name_to_handle_at,nfsservctl,ni_syscall,open_by_handle_at,personality,pivot_root,process_vm_readv,ptrace,remap_file_pages,request_key,setdomainname,sethostname,syslog,umount,umount2,userfaultfd,vhangup,vmsplice
32# tracelog
32 33
33private-dev 34private-dev
34private-tmp 35# private-tmp - interferes with the opening of downloaded files
35 36
36noexec ${HOME} 37noexec ${HOME}
37noexec /tmp 38noexec /tmp
diff --git a/etc/qupzilla.profile b/etc/qupzilla.profile
index 74c7355b6..e59a94bf8 100644
--- a/etc/qupzilla.profile
+++ b/etc/qupzilla.profile
@@ -17,14 +17,23 @@ whitelist ${DOWNLOADS}
17whitelist ${HOME}/.cache/qupzilla 17whitelist ${HOME}/.cache/qupzilla
18whitelist ${HOME}/.config/qupzilla 18whitelist ${HOME}/.config/qupzilla
19include /etc/firejail/whitelist-common.inc 19include /etc/firejail/whitelist-common.inc
20include /etc/firejail/whitelist-var-common.inc
20 21
21caps.drop all 22caps.drop all
22netfilter 23netfilter
23nodvd 24nodvd
25nogroups
26nonewprivs
24noroot 27noroot
25notv 28notv
26protocol unix,inet,inet6,netlink 29protocol unix,inet,inet6,netlink
27seccomp 30# blacklisting of chroot system calls breaks qupzilla
28tracelog 31seccomp.drop @clock,@cpu-emulation,@debug,@module,@obsolete,@raw-io,@reboot,@resources,@swap,acct,add_key,bpf,fanotify_init,io_cancel,io_destroy,io_getevents,io_setup,io_submit,ioprio_set,kcmp,keyctl,mount,name_to_handle_at,nfsservctl,ni_syscall,open_by_handle_at,personality,pivot_root,process_vm_readv,ptrace,remap_file_pages,request_key,setdomainname,sethostname,syslog,umount,umount2,userfaultfd,vhangup,vmsplice
32# tracelog
29 33
30# private-etc passwd,group,hostname,hosts,localtime,nsswitch.conf,resolv.conf,gtk-2.0,pango,fonts,iceweasel,firefox,adobe,mime.types,mailcap,asound.conf,pulse 34private-dev
35# private-etc passwd,group,hostname,hosts,localtime,nsswitch.conf,resolv.conf,gtk-2.0,pango,fonts,adobe,mime.types,mailcap,asound.conf,pulse
36# private-tmp - interferes with the opening of downloaded files
37
38noexec ${HOME}
39noexec /tmp