summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--etc/deluge.profile3
-rw-r--r--etc/evince.profile4
-rw-r--r--etc/fbreader.profile3
-rw-r--r--etc/feh.profile2
-rw-r--r--etc/filezilla.profile3
-rw-r--r--etc/firefox.profile6
-rw-r--r--etc/gthumb.profile2
-rw-r--r--etc/mupdf.profile4
-rw-r--r--etc/pix.profile2
-rw-r--r--etc/qbittorrent.profile3
-rw-r--r--etc/rtorrent.profile2
-rw-r--r--etc/transmission-gtk.profile3
-rw-r--r--etc/transmission-qt.profile3
-rw-r--r--etc/uget-gtk.profile2
-rw-r--r--etc/wesnoth.profile3
-rw-r--r--etc/zathura.profile3
-rw-r--r--src/man/firejail-profile.txt2
-rw-r--r--src/man/firejail.txt2
18 files changed, 29 insertions, 23 deletions
diff --git a/etc/deluge.profile b/etc/deluge.profile
index 8fde9acf9..b82bd4936 100644
--- a/etc/deluge.profile
+++ b/etc/deluge.profile
@@ -15,7 +15,6 @@ seccomp
15 15
16shell none 16shell none
17private-bin deluge,sh,python,uname 17private-bin deluge,sh,python,uname
18whitelist /tmp/.X11-unix
19private-dev 18private-dev
20nosound 19private-tmp
21 20
diff --git a/etc/evince.profile b/etc/evince.profile
index 894c7c70d..9a9113c70 100644
--- a/etc/evince.profile
+++ b/etc/evince.profile
@@ -5,6 +5,8 @@ include /etc/firejail/disable-devel.inc
5include /etc/firejail/disable-passwdmgr.inc 5include /etc/firejail/disable-passwdmgr.inc
6 6
7caps.drop all 7caps.drop all
8netfilter
9net none
8nogroups 10nogroups
9nonewprivs 11nonewprivs
10noroot 12noroot
@@ -16,3 +18,5 @@ tracelog
16 18
17private-bin evince,evince-previewer,evince-thumbnailer 19private-bin evince,evince-previewer,evince-thumbnailer
18private-dev 20private-dev
21private-etc fonts
22private-tmp \ No newline at end of file
diff --git a/etc/fbreader.profile b/etc/fbreader.profile
index de31ce8de..ec098d5fe 100644
--- a/etc/fbreader.profile
+++ b/etc/fbreader.profile
@@ -16,6 +16,5 @@ seccomp
16 16
17shell none 17shell none
18private-bin fbreader,FBReader 18private-bin fbreader,FBReader
19whitelist /tmp/.X11-unix
20private-dev 19private-dev
21nosound 20private-tmp
diff --git a/etc/feh.profile b/etc/feh.profile
index e3b1ec528..2812effc9 100644
--- a/etc/feh.profile
+++ b/etc/feh.profile
@@ -16,6 +16,6 @@ seccomp
16shell none 16shell none
17 17
18private-bin feh 18private-bin feh
19whitelist /tmp/.X11-unix
20private-dev 19private-dev
21private-etc feh 20private-etc feh
21private-tmp \ No newline at end of file
diff --git a/etc/filezilla.profile b/etc/filezilla.profile
index fe1d9d20d..a40fceec1 100644
--- a/etc/filezilla.profile
+++ b/etc/filezilla.profile
@@ -17,5 +17,4 @@ shell none
17 17
18private-bin filezilla,uname,sh,python,lsb_release,fzputtygen,fzsftp 18private-bin filezilla,uname,sh,python,lsb_release,fzputtygen,fzsftp
19private-dev 19private-dev
20 20private-tmp
21whitelist /tmp/.X11-unix
diff --git a/etc/firefox.profile b/etc/firefox.profile
index 170d0fe10..7875ca6b9 100644
--- a/etc/firefox.profile
+++ b/etc/firefox.profile
@@ -47,4 +47,8 @@ whitelist ~/.config/pipelight-silverlight5.1
47include /etc/firejail/whitelist-common.inc 47include /etc/firejail/whitelist-common.inc
48 48
49# experimental features 49# experimental features
50#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 50
51private-bin firefox,which,sh,dbus-launch,dbus-send,env
52private-etc passwd,group,hostname,hosts,localtime,nsswitch.conf,resolv.conf,xdg,gtk-2.0,gtk-3.0,X11,pango,fonts,firefox,mime.types,mailcap,asound.conf,pulse
53private-dev
54private-tmp
diff --git a/etc/gthumb.profile b/etc/gthumb.profile
index 3ffd10add..055d78935 100644
--- a/etc/gthumb.profile
+++ b/etc/gthumb.profile
@@ -17,5 +17,5 @@ shell none
17tracelog 17tracelog
18 18
19private-bin gthumb 19private-bin gthumb
20whitelist /tmp/.X11-unix
21private-dev 20private-dev
21private-tmp \ No newline at end of file
diff --git a/etc/mupdf.profile b/etc/mupdf.profile
index d1a157c3c..65e6a8978 100644
--- a/etc/mupdf.profile
+++ b/etc/mupdf.profile
@@ -12,12 +12,16 @@ nosound
12protocol unix 12protocol unix
13seccomp 13seccomp
14netfilter 14netfilter
15net none
15shell none 16shell none
16tracelog 17tracelog
17 18
19seccomp.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,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
18private-bin mupdf 21private-bin mupdf
19private-tmp 22private-tmp
20private-dev 23private-dev
24private-etc fonts
21 25
22# mupdf will never write anything 26# mupdf will never write anything
23read-only ${HOME} 27read-only ${HOME}
diff --git a/etc/pix.profile b/etc/pix.profile
index e21ddadc6..dc8192b01 100644
--- a/etc/pix.profile
+++ b/etc/pix.profile
@@ -18,5 +18,5 @@ shell none
18tracelog 18tracelog
19 19
20private-bin pix 20private-bin pix
21whitelist /tmp/.X11-unix
22private-dev 21private-dev
22private-tmp \ No newline at end of file
diff --git a/etc/qbittorrent.profile b/etc/qbittorrent.profile
index 67829c9ca..89e0e4c78 100644
--- a/etc/qbittorrent.profile
+++ b/etc/qbittorrent.profile
@@ -16,5 +16,4 @@ seccomp
16#shell none 16#shell none
17#private-bin qbittorrent 17#private-bin qbittorrent
18private-dev 18private-dev
19 19private-tmp
20whitelist /tmp/.X11-unix
diff --git a/etc/rtorrent.profile b/etc/rtorrent.profile
index 1226a51cd..55bfcd77f 100644
--- a/etc/rtorrent.profile
+++ b/etc/rtorrent.profile
@@ -14,5 +14,5 @@ seccomp
14 14
15shell none 15shell none
16private-bin rtorrent 16private-bin rtorrent
17whitelist /tmp/.X11-unix
18private-dev 17private-dev
18private-tmp \ No newline at end of file
diff --git a/etc/transmission-gtk.profile b/etc/transmission-gtk.profile
index 316cdfec6..fa54ea81b 100644
--- a/etc/transmission-gtk.profile
+++ b/etc/transmission-gtk.profile
@@ -19,5 +19,4 @@ tracelog
19 19
20private-bin transmission-gtk 20private-bin transmission-gtk
21private-dev 21private-dev
22 22private-tmp
23whitelist /tmp/.X11-unix
diff --git a/etc/transmission-qt.profile b/etc/transmission-qt.profile
index 51c58e224..100fadc27 100644
--- a/etc/transmission-qt.profile
+++ b/etc/transmission-qt.profile
@@ -19,5 +19,4 @@ tracelog
19 19
20private-bin transmission-qt 20private-bin transmission-qt
21private-dev 21private-dev
22 22private-tmp
23whitelist /tmp/.X11-unix
diff --git a/etc/uget-gtk.profile b/etc/uget-gtk.profile
index f42e6c69a..3ba28f772 100644
--- a/etc/uget-gtk.profile
+++ b/etc/uget-gtk.profile
@@ -16,8 +16,8 @@ shell none
16 16
17private-bin uget-gtk 17private-bin uget-gtk
18private-dev 18private-dev
19private-tmp
19 20
20whitelist /tmp/.X11-unix
21whitelist ${DOWNLOADS} 21whitelist ${DOWNLOADS}
22mkdir ~/.config/uGet 22mkdir ~/.config/uGet
23whitelist ~/.config/uGet 23whitelist ~/.config/uGet
diff --git a/etc/wesnoth.profile b/etc/wesnoth.profile
index 2ddb59d11..bb489ddeb 100644
--- a/etc/wesnoth.profile
+++ b/etc/wesnoth.profile
@@ -15,8 +15,7 @@ protocol unix,inet,inet6
15seccomp 15seccomp
16 16
17private-dev 17private-dev
18 18private-tmp
19whitelist /tmp/.X11-unix
20 19
21mkdir ${HOME}/.local/share/wesnoth 20mkdir ${HOME}/.local/share/wesnoth
22mkdir ${HOME}/.config/wesnoth 21mkdir ${HOME}/.config/wesnoth
diff --git a/etc/zathura.profile b/etc/zathura.profile
index 99a8ea90d..6c93a2480 100644
--- a/etc/zathura.profile
+++ b/etc/zathura.profile
@@ -8,6 +8,7 @@ include /etc/firejail/disable-passwdmgr.inc
8 8
9caps.drop all 9caps.drop all
10netfilter 10netfilter
11net none
11nogroups 12nogroups
12nonewprivs 13nonewprivs
13noroot 14noroot
@@ -19,7 +20,7 @@ protocol unix
19private-bin zathura 20private-bin zathura
20private-dev 21private-dev
21private-etc fonts 22private-etc fonts
22whitelist /tmp/.X11-unix 23private-tmp
23 24
24read-only ~/ 25read-only ~/
25read-write ~/.local/share/zathura/ 26read-write ~/.local/share/zathura/
diff --git a/src/man/firejail-profile.txt b/src/man/firejail-profile.txt
index 09dc46bbc..d6113218c 100644
--- a/src/man/firejail-profile.txt
+++ b/src/man/firejail-profile.txt
@@ -200,7 +200,7 @@ filesystem, and copy the files and directories in the list.
200All modifications are discarded when the sandbox is closed. 200All modifications are discarded when the sandbox is closed.
201.TP 201.TP
202\fBprivate-tmp 202\fBprivate-tmp
203Mount an empty temporary filesystem on top of /tmp directory. 203Mount an empty temporary filesystem on top of /tmp directory whitelisting /tmp/.X11-unix.
204.TP 204.TP
205\fBread-only file_or_directory 205\fBread-only file_or_directory
206Make directory or file read-only. 206Make directory or file read-only.
diff --git a/src/man/firejail.txt b/src/man/firejail.txt
index 666a6a8ef..74e8ef4fe 100644
--- a/src/man/firejail.txt
+++ b/src/man/firejail.txt
@@ -1180,7 +1180,7 @@ nsswitch.conf,passwd,resolv.conf
1180 1180
1181.TP 1181.TP
1182\fB\-\-private-tmp 1182\fB\-\-private-tmp
1183Mount an empty temporary filesystem on top of /tmp directory. 1183Mount an empty filesystem on top of /tmp directory whitelisting /tmp/.X11-unix.
1184.br 1184.br
1185 1185
1186.br 1186.br