aboutsummaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
Diffstat (limited to 'etc')
-rw-r--r--etc/disable-programs.inc4
-rw-r--r--etc/engrampa.profile1
-rw-r--r--etc/firefox.profile4
-rw-r--r--etc/firejail.config11
-rw-r--r--etc/geeqie.profile27
-rw-r--r--etc/vlc.profile2
6 files changed, 45 insertions, 4 deletions
diff --git a/etc/disable-programs.inc b/etc/disable-programs.inc
index 00473de95..a5c7502db 100644
--- a/etc/disable-programs.inc
+++ b/etc/disable-programs.inc
@@ -30,6 +30,7 @@ blacklist ${HOME}/.cache/darktable
30blacklist ${HOME}/.cache/epiphany 30blacklist ${HOME}/.cache/epiphany
31blacklist ${HOME}/.cache/evolution 31blacklist ${HOME}/.cache/evolution
32blacklist ${HOME}/.cache/gajim 32blacklist ${HOME}/.cache/gajim
33blacklist ${HOME}/.cache/geeqie
33blacklist ${HOME}/.cache/google-chrome 34blacklist ${HOME}/.cache/google-chrome
34blacklist ${HOME}/.cache/google-chrome-beta 35blacklist ${HOME}/.cache/google-chrome-beta
35blacklist ${HOME}/.cache/google-chrome-unstable 36blacklist ${HOME}/.cache/google-chrome-unstable
@@ -103,6 +104,7 @@ blacklist ${HOME}/.config/evolution
103blacklist ${HOME}/.config/filezilla 104blacklist ${HOME}/.config/filezilla
104blacklist ${HOME}/.config/flowblade 105blacklist ${HOME}/.config/flowblade
105blacklist ${HOME}/.config/gajim 106blacklist ${HOME}/.config/gajim
107blacklist ${HOME}/.config/geeqie
106blacklist ${HOME}/.config/gedit 108blacklist ${HOME}/.config/gedit
107blacklist ${HOME}/.config/google-chrome 109blacklist ${HOME}/.config/google-chrome
108blacklist ${HOME}/.config/google-chrome-beta 110blacklist ${HOME}/.config/google-chrome-beta
@@ -221,6 +223,7 @@ blacklist ${HOME}/.local/share/epiphany
221blacklist ${HOME}/.local/share/evolution 223blacklist ${HOME}/.local/share/evolution
222blacklist ${HOME}/.local/share/feral-interactive 224blacklist ${HOME}/.local/share/feral-interactive
223blacklist ${HOME}/.local/share/gajim 225blacklist ${HOME}/.local/share/gajim
226blacklist ${HOME}/.local/share/geeqie
224blacklist ${HOME}/.local/share/gnome-2048 227blacklist ${HOME}/.local/share/gnome-2048
225blacklist ${HOME}/.local/share/gnome-chess 228blacklist ${HOME}/.local/share/gnome-chess
226blacklist ${HOME}/.local/share/gnome-music 229blacklist ${HOME}/.local/share/gnome-music
@@ -284,6 +287,7 @@ blacklist ${HOME}/.weechat
284blacklist ${HOME}/.wine 287blacklist ${HOME}/.wine
285blacklist ${HOME}/.wine64 288blacklist ${HOME}/.wine64
286blacklist ${HOME}/.xiphos 289blacklist ${HOME}/.xiphos
290blacklist ${HOME}/.xmms
287blacklist ${HOME}/.xonotic 291blacklist ${HOME}/.xonotic
288blacklist ${HOME}/.xpdfrc 292blacklist ${HOME}/.xpdfrc
289blacklist ${HOME}/.zoom 293blacklist ${HOME}/.zoom
diff --git a/etc/engrampa.profile b/etc/engrampa.profile
index b30b53085..da4872ca0 100644
--- a/etc/engrampa.profile
+++ b/etc/engrampa.profile
@@ -13,7 +13,6 @@ nogroups
13nonewprivs 13nonewprivs
14noroot 14noroot
15nosound 15nosound
16no3d
17protocol unix 16protocol unix
18seccomp 17seccomp
19netfilter 18netfilter
diff --git a/etc/firefox.profile b/etc/firefox.profile
index e323cac91..e2cfb9138 100644
--- a/etc/firefox.profile
+++ b/etc/firefox.profile
@@ -54,5 +54,5 @@ include /etc/firejail/whitelist-common.inc
54# experimental features 54# experimental features
55#private-bin firefox,which,sh,dbus-launch,dbus-send,env 55#private-bin firefox,which,sh,dbus-launch,dbus-send,env
56#private-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 56#private-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
57private-dev 57private-dev
58private-tmp 58#private-tmp
diff --git a/etc/firejail.config b/etc/firejail.config
index 766802a7d..0887e05b5 100644
--- a/etc/firejail.config
+++ b/etc/firejail.config
@@ -6,6 +6,9 @@
6# Enable or disable bind support, default enabled. 6# Enable or disable bind support, default enabled.
7# bind yes 7# bind yes
8 8
9# Enable mounting a tmpfs on top of ~/.cache directory, default enabled.
10# cache-tmpfs yes
11
9# Enable or disable chroot support, default enabled. 12# Enable or disable chroot support, default enabled.
10# chroot yes 13# chroot yes
11 14
@@ -14,6 +17,10 @@
14# and it will harden the rest of the chroot tree. 17# and it will harden the rest of the chroot tree.
15# chroot-desktop yes 18# chroot-desktop yes
16 19
20# Disable /mnt, /media, /run/mount and /run/media access. By default access
21# to these directories is enabled.
22# disable-mnt no
23
17# Enable or disable file transfer support, default enabled. 24# Enable or disable file transfer support, default enabled.
18# file-transfer yes 25# file-transfer yes
19 26
@@ -26,6 +33,10 @@
26# Enabled by default 33# Enabled by default
27# follow-symlink-as-user yes 34# follow-symlink-as-user yes
28 35
36# Follow symlink for private-bin command.
37# Disabled by default
38# follow-symlink-private-bin no
39
29# Force use of nonewprivs. This mitigates the possibility of 40# Force use of nonewprivs. This mitigates the possibility of
30# a user abusing firejail's features to trick a privileged (suid 41# a user abusing firejail's features to trick a privileged (suid
31# or file capabilities) process into loading code or configuration 42# or file capabilities) process into loading code or configuration
diff --git a/etc/geeqie.profile b/etc/geeqie.profile
new file mode 100644
index 000000000..57f942a50
--- /dev/null
+++ b/etc/geeqie.profile
@@ -0,0 +1,27 @@
1# This file is overwritten during software install.
2# Persistent customizations should go in a .local file.
3include /etc/firejail/geeqie.local
4
5# Firejail profile for Geeqie
6noblacklist ~/.cache/geeqie
7noblacklist ~/.config/geeqie
8noblacklist ~/.local/share/geeqie
9include /etc/firejail/disable-common.inc
10include /etc/firejail/disable-programs.inc
11include /etc/firejail/disable-devel.inc
12include /etc/firejail/disable-passwdmgr.inc
13
14caps.drop all
15nogroups
16nonewprivs
17noroot
18protocol unix
19seccomp
20nosound
21
22private-dev
23
24#Experimental:
25shell none
26#private-bin geeqie
27#private-etc X11
diff --git a/etc/vlc.profile b/etc/vlc.profile
index 9d1cdb4c8..0c96f0108 100644
--- a/etc/vlc.profile
+++ b/etc/vlc.profile
@@ -20,5 +20,5 @@ seccomp
20shell none 20shell none
21 21
22private-bin vlc,cvlc,nvlc,rvlc,qvlc,svlc 22private-bin vlc,cvlc,nvlc,rvlc,qvlc,svlc
23private-dev 23# private-dev
24private-tmp 24private-tmp