aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatar netblue30 <netblue30@yahoo.com>2016-10-02 08:44:31 -0400
committerLibravatar GitHub <noreply@github.com>2016-10-02 08:44:31 -0400
commita14569035e39fc9906a86ec0b3659306a02304c5 (patch)
tree920a1e01250be9eabbdc617b7adba3a0a687576e
parentdropping requirement for network namespace when using --x11 (diff)
parentUpdated list of new profiles (diff)
downloadfirejail-a14569035e39fc9906a86ec0b3659306a02304c5.tar.gz
firejail-a14569035e39fc9906a86ec0b3659306a02304c5.tar.zst
firejail-a14569035e39fc9906a86ec0b3659306a02304c5.zip
Merge pull request #826 from vismir2/master
Added profiles for feh, ranger and zathura
-rw-r--r--README.md2
-rw-r--r--etc/feh.profile13
-rw-r--r--etc/ranger.profile13
-rw-r--r--etc/zathura.profile19
-rw-r--r--platform/debian/conffiles19
-rw-r--r--src/firecfg/firecfg.config17
6 files changed, 67 insertions, 16 deletions
diff --git a/README.md b/README.md
index 6fa6c996c..99b78d8ca 100644
--- a/README.md
+++ b/README.md
@@ -88,5 +88,5 @@ x11 xpra, x11 xephyr, x11 block, allusers, join-or-start
88 88
89## New profiles 89## New profiles
90 90
91qpdfview, mupdf, Luminance HDR, Synfig Studio, Gimp, Inkscape 91qpdfview, mupdf, Luminance HDR, Synfig Studio, Gimp, Inkscape, feh, ranger, zathura
92 92
diff --git a/etc/feh.profile b/etc/feh.profile
new file mode 100644
index 000000000..ba8f32f44
--- /dev/null
+++ b/etc/feh.profile
@@ -0,0 +1,13 @@
1# feh image viewer profile
2include /etc/firejail/disable-common.inc
3include /etc/firejail/disable-programs.inc
4include /etc/firejail/disable-devel.inc
5include /etc/firejail/disable-passwdmgr.inc
6
7caps.drop all
8netfilter
9nonewprivs
10noroot
11nosound
12protocol unix
13seccomp
diff --git a/etc/ranger.profile b/etc/ranger.profile
new file mode 100644
index 000000000..775098d91
--- /dev/null
+++ b/etc/ranger.profile
@@ -0,0 +1,13 @@
1# ranger file manager profile
2include /etc/firejail/disable-common.inc
3include /etc/firejail/disable-programs.inc
4include /etc/firejail/disable-devel.inc
5include /etc/firejail/disable-passwdmgr.inc
6
7caps.drop all
8netfilter
9nonewprivs
10noroot
11protocol unix
12seccomp
13nosound
diff --git a/etc/zathura.profile b/etc/zathura.profile
new file mode 100644
index 000000000..99d9a1a90
--- /dev/null
+++ b/etc/zathura.profile
@@ -0,0 +1,19 @@
1# zathura document viewer profile
2# noblacklist ~/.config/zathura
3# noblacklist ~/.local/share/zathura
4include /etc/firejail/disable-common.inc
5include /etc/firejail/disable-programs.inc
6include /etc/firejail/disable-devel.inc
7include /etc/firejail/disable-passwdmgr.inc
8
9caps.drop all
10seccomp
11protocol unix
12netfilter
13nonewprivs
14noroot
15nosound
16
17#net none
18shell none
19#private-etc X11
diff --git a/platform/debian/conffiles b/platform/debian/conffiles
index fb6c18b36..af8e74ba8 100644
--- a/platform/debian/conffiles
+++ b/platform/debian/conffiles
@@ -30,12 +30,14 @@
30/etc/firejail/disable-programs.inc 30/etc/firejail/disable-programs.inc
31/etc/firejail/dnscrypt-proxy.profile 31/etc/firejail/dnscrypt-proxy.profile
32/etc/firejail/dnsmasq.profile 32/etc/firejail/dnsmasq.profile
33/etc/firejail/dosbox.profile
33/etc/firejail/dropbox.profile 34/etc/firejail/dropbox.profile
34/etc/firejail/empathy.profile 35/etc/firejail/empathy.profile
35/etc/firejail/eom.profile 36/etc/firejail/eom.profile
36/etc/firejail/epiphany.profile 37/etc/firejail/epiphany.profile
37/etc/firejail/evince.profile 38/etc/firejail/evince.profile
38/etc/firejail/fbreader.profile 39/etc/firejail/fbreader.profile
40/etc/firejail/feh.profile
39/etc/firejail/file.profile 41/etc/firejail/file.profile
40/etc/firejail/filezilla.profile 42/etc/firejail/filezilla.profile
41/etc/firejail/firefox-esr.profile 43/etc/firejail/firefox-esr.profile
@@ -44,6 +46,7 @@
44/etc/firejail/flashpeak-slimjet.profile 46/etc/firejail/flashpeak-slimjet.profile
45/etc/firejail/franz.profile 47/etc/firejail/franz.profile
46/etc/firejail/gajim.profile 48/etc/firejail/gajim.profile
49/etc/firejail/gimp.profile
47/etc/firejail/gitter.profile 50/etc/firejail/gitter.profile
48/etc/firejail/gnome-chess.profile 51/etc/firejail/gnome-chess.profile
49/etc/firejail/gnome-mplayer.profile 52/etc/firejail/gnome-mplayer.profile
@@ -62,6 +65,7 @@
62/etc/firejail/icecat.profile 65/etc/firejail/icecat.profile
63/etc/firejail/icedove.profile 66/etc/firejail/icedove.profile
64/etc/firejail/iceweasel.profile 67/etc/firejail/iceweasel.profile
68/etc/firejail/inkscape.profile
65/etc/firejail/inox.profile 69/etc/firejail/inox.profile
66/etc/firejail/jitsi.profile 70/etc/firejail/jitsi.profile
67/etc/firejail/kmail.profile 71/etc/firejail/kmail.profile
@@ -77,11 +81,13 @@
77/etc/firejail/lomath.profile 81/etc/firejail/lomath.profile
78/etc/firejail/loweb.profile 82/etc/firejail/loweb.profile
79/etc/firejail/lowriter.profile 83/etc/firejail/lowriter.profile
84/etc/firejail/luminance-hdr.profile
80/etc/firejail/lxterminal.profile 85/etc/firejail/lxterminal.profile
81/etc/firejail/mathematica.profile 86/etc/firejail/mathematica.profile
82/etc/firejail/mcabber.profile 87/etc/firejail/mcabber.profile
83/etc/firejail/midori.profile 88/etc/firejail/midori.profile
84/etc/firejail/mpv.profile 89/etc/firejail/mpv.profile
90/etc/firejail/mupdf.profile
85/etc/firejail/mupen64plus.profile 91/etc/firejail/mupen64plus.profile
86/etc/firejail/netsurf.profile 92/etc/firejail/netsurf.profile
87/etc/firejail/nolocal.net 93/etc/firejail/nolocal.net
@@ -96,10 +102,12 @@
96/etc/firejail/polari.profile 102/etc/firejail/polari.profile
97/etc/firejail/psi-plus.profile 103/etc/firejail/psi-plus.profile
98/etc/firejail/qbittorrent.profile 104/etc/firejail/qbittorrent.profile
105/etc/firejail/qpdfview.profile
99/etc/firejail/qtox.profile 106/etc/firejail/qtox.profile
100/etc/firejail/quassel.profile 107/etc/firejail/quassel.profile
101/etc/firejail/quiterss.profile 108/etc/firejail/quiterss.profile
102/etc/firejail/qutebrowser.profile 109/etc/firejail/qutebrowser.profile
110/etc/firejail/ranger.profile
103/etc/firejail/rhythmbox.profile 111/etc/firejail/rhythmbox.profile
104/etc/firejail/rtorrent.profile 112/etc/firejail/rtorrent.profile
105/etc/firejail/seamonkey-bin.profile 113/etc/firejail/seamonkey-bin.profile
@@ -114,6 +122,8 @@
114/etc/firejail/ssh.profile 122/etc/firejail/ssh.profile
115/etc/firejail/steam.profile 123/etc/firejail/steam.profile
116/etc/firejail/stellarium.profile 124/etc/firejail/stellarium.profile
125/etc/firejail/strings.profile
126/etc/firejail/synfigstudio.profile
117/etc/firejail/tar.profile 127/etc/firejail/tar.profile
118/etc/firejail/telegram.profile 128/etc/firejail/telegram.profile
119/etc/firejail/thunderbird.profile 129/etc/firejail/thunderbird.profile
@@ -141,11 +151,4 @@
141/etc/firejail/xviewer.profile 151/etc/firejail/xviewer.profile
142/etc/firejail/xz.profile 152/etc/firejail/xz.profile
143/etc/firejail/xzdec.profile 153/etc/firejail/xzdec.profile
144/etc/firejail/strings.profile 154/etc/firejail/zathura.profile
145/etc/firejail/dosbox.profile
146/etc/firejail/mupdf.profile
147/etc/firejail/qpdfview.profile
148/etc/firejail/luminance-hdr.profile
149/etc/firejail/synfigstudio.profile
150/etc/firejail/gimp.profile
151/etc/firejail/inkscape.profile
diff --git a/src/firecfg/firecfg.config b/src/firecfg/firecfg.config
index 75265545b..9e5ff7f12 100644
--- a/src/firecfg/firecfg.config
+++ b/src/firecfg/firecfg.config
@@ -91,6 +91,7 @@ audacity
91clementine 91clementine
92cmus 92cmus
93deadbeef 93deadbeef
94feh
94gnome-mplayer 95gnome-mplayer
95google-play-music-desktop-player 96google-play-music-desktop-player
96mpv 97mpv
@@ -111,8 +112,10 @@ atril
111cherrytree 112cherrytree
112evince 113evince
113fbreader 114fbreader
114gwenview 115gimp
115gthumb 116gthumb
117gwenview
118inkscape
116libreoffice 119libreoffice
117localc 120localc
118lodraw 121lodraw
@@ -122,23 +125,23 @@ loimpress
122lomath 125lomath
123loweb 126loweb
124lowriter 127lowriter
128luminance-hdr
129mupdf
130qpdfview
125soffice 131soffice
132synfigstudio
126Mathematica 133Mathematica
127mathematica 134mathematica
128okular 135okular
129pix 136pix
130xreader 137xreader
131mupdf 138zathura
132qpdfview
133luminance-hdr
134synfigstudio
135gimp
136inkscape
137 139
138# other 140# other
139ssh 141ssh
140atom-beta 142atom-beta
141atom 143atom
144ranger
142 145
143# weather/climate 146# weather/climate
144aweather 147aweather