aboutsummaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorLibravatar smitsohu <smitsohu@gmail.com>2019-09-22 13:26:53 +0200
committerLibravatar smitsohu <smitsohu@gmail.com>2019-09-22 13:26:53 +0200
commit04057a4652e889e23b66d95da770e7e7abf75ba5 (patch)
tree077d19a3bae185e66ee495abff143680ab978246 /etc
parentminor optimization (diff)
parentInkscape: allow xcf export (diff)
downloadfirejail-04057a4652e889e23b66d95da770e7e7abf75ba5.tar.gz
firejail-04057a4652e889e23b66d95da770e7e7abf75ba5.tar.zst
firejail-04057a4652e889e23b66d95da770e7e7abf75ba5.zip
Merge branch 'master' of https://github.com/netblue30/firejail
Diffstat (limited to 'etc')
-rw-r--r--etc/disable-programs.inc2
-rw-r--r--etc/gnome-latex.profile46
-rw-r--r--etc/inkscape.profile4
-rw-r--r--etc/pngquant.profile47
-rw-r--r--etc/steam.profile2
-rw-r--r--etc/whitelist-common.inc4
6 files changed, 105 insertions, 0 deletions
diff --git a/etc/disable-programs.inc b/etc/disable-programs.inc
index e54b651a6..7dbe535fe 100644
--- a/etc/disable-programs.inc
+++ b/etc/disable-programs.inc
@@ -183,6 +183,7 @@ blacklist ${HOME}/.config/ghostwriter
183blacklist ${HOME}/.config/git 183blacklist ${HOME}/.config/git
184blacklist ${HOME}/.config/globaltime 184blacklist ${HOME}/.config/globaltime
185blacklist ${HOME}/.config/gnome-builder 185blacklist ${HOME}/.config/gnome-builder
186blacklist ${HOME}/.config/gnome-latex
186blacklist ${HOME}/.config/gnome-mplayer 187blacklist ${HOME}/.config/gnome-mplayer
187blacklist ${HOME}/.config/gnome-mpv 188blacklist ${HOME}/.config/gnome-mpv
188blacklist ${HOME}/.config/gnome-pie 189blacklist ${HOME}/.config/gnome-pie
@@ -502,6 +503,7 @@ blacklist ${HOME}/.local/share/gitg
502blacklist ${HOME}/.local/share/gnome-2048 503blacklist ${HOME}/.local/share/gnome-2048
503blacklist ${HOME}/.local/share/gnome-chess 504blacklist ${HOME}/.local/share/gnome-chess
504blacklist ${HOME}/.local/share/gnome-builder 505blacklist ${HOME}/.local/share/gnome-builder
506blacklist ${HOME}/.local/share/gnome-latex
505blacklist ${HOME}/.local/share/gnome-music 507blacklist ${HOME}/.local/share/gnome-music
506blacklist ${HOME}/.local/share/gnome-photos 508blacklist ${HOME}/.local/share/gnome-photos
507blacklist ${HOME}/.local/share/gnome-recipes 509blacklist ${HOME}/.local/share/gnome-recipes
diff --git a/etc/gnome-latex.profile b/etc/gnome-latex.profile
new file mode 100644
index 000000000..9cef9072c
--- /dev/null
+++ b/etc/gnome-latex.profile
@@ -0,0 +1,46 @@
1# Firejail profile for gnome-latex
2# Description: LaTeX editor for the GNOME desktop
3# This file is overwritten after every install/update
4# Persistent local customizations
5include gnome-latex.local
6# Persistent global definitions
7include globals.local
8
9noblacklist ${HOME}/.config/gnome-latex
10noblacklist ${HOME}/.local/share/gnome-latex
11
12# Allow perl (blacklisted by disable-interpreters.inc)
13include allow-perl.inc
14
15include disable-common.inc
16include disable-devel.inc
17include disable-exec.inc
18include disable-interpreters.inc
19include disable-passwdmgr.inc
20include disable-programs.inc
21
22# May cause issues.
23#include whitelist-var-common.inc
24
25apparmor
26caps.drop all
27machine-id
28net none
29no3d
30nodvd
31nogroups
32nonewprivs
33noroot
34nosound
35notv
36nou2f
37novideo
38protocol unix
39seccomp
40shell none
41tracelog
42
43private-cache
44private-dev
45# passwd,login.defs,firejail are a temporary workaround for #2877 and can be removed once it is fixed
46private-etc alternatives,dconf,fonts,gtk-3.0,latexmk.conf,login.defs,passwd,texlive
diff --git a/etc/inkscape.profile b/etc/inkscape.profile
index a1b3bce23..a968609a9 100644
--- a/etc/inkscape.profile
+++ b/etc/inkscape.profile
@@ -11,6 +11,10 @@ noblacklist ${HOME}/.config/inkscape
11noblacklist ${HOME}/.inkscape 11noblacklist ${HOME}/.inkscape
12noblacklist ${DOCUMENTS} 12noblacklist ${DOCUMENTS}
13noblacklist ${PICTURES} 13noblacklist ${PICTURES}
14# Allow exporting .xcf files
15noblacklist ${HOME}/.config/GIMP
16noblacklist ${HOME}/.gimp*
17
14 18
15# Allow python (blacklisted by disable-interpreters.inc) 19# Allow python (blacklisted by disable-interpreters.inc)
16include allow-python2.inc 20include allow-python2.inc
diff --git a/etc/pngquant.profile b/etc/pngquant.profile
new file mode 100644
index 000000000..8c06cef1a
--- /dev/null
+++ b/etc/pngquant.profile
@@ -0,0 +1,47 @@
1# Firejail profile for pngquant
2# Description: PNG converter and lossy image compressor
3# This file is overwritten after every install/update
4quiet
5# Persistent local customizations
6include pngquant.local
7# Persistent global definitions
8include globals.local
9
10include disable-common.inc
11include disable-devel.inc
12include disable-exec.inc
13include disable-interpreters.inc
14include disable-passwdmgr.inc
15include disable-programs.inc
16
17include whitelist-var-common.inc
18
19apparmor
20caps.drop all
21ipc-namespace
22machine-id
23net none
24no3d
25nodbus
26nodvd
27nogroups
28nonewprivs
29noroot
30nosound
31notv
32nou2f
33novideo
34# protocol can be empty, but this is not yet supported see #639
35protocol inet
36seccomp
37shell none
38tracelog
39x11 none
40
41private-bin pngquant
42private-cache
43private-dev
44private-etc alternatives
45private-tmp
46
47memory-deny-write-execute
diff --git a/etc/steam.profile b/etc/steam.profile
index 654ea825e..762cbd1b3 100644
--- a/etc/steam.profile
+++ b/etc/steam.profile
@@ -38,6 +38,8 @@ include disable-programs.inc
38 38
39include whitelist-var-common.inc 39include whitelist-var-common.inc
40 40
41# allow-debuggers needed for running some games with proton
42allow-debuggers
41caps.drop all 43caps.drop all
42#ipc-namespace 44#ipc-namespace
43netfilter 45netfilter
diff --git a/etc/whitelist-common.inc b/etc/whitelist-common.inc
index 717c82379..9c1b7b92c 100644
--- a/etc/whitelist-common.inc
+++ b/etc/whitelist-common.inc
@@ -20,6 +20,10 @@ whitelist ${HOME}/.local/share/icons
20whitelist ${HOME}/.local/share/mime 20whitelist ${HOME}/.local/share/mime
21whitelist ${HOME}/.mime.types 21whitelist ${HOME}/.mime.types
22 22
23# dconf
24mkdir ${HOME}/.config/dconf
25whitelist ${HOME}/.config/dconf
26
23# fonts 27# fonts
24whitelist ${HOME}/.cache/fontconfig 28whitelist ${HOME}/.cache/fontconfig
25whitelist ${HOME}/.config/fontconfig 29whitelist ${HOME}/.config/fontconfig