aboutsummaryrefslogtreecommitdiffstats
path: root/etc/profile-a-l
diff options
context:
space:
mode:
authorLibravatar rusty-snake <41237666+rusty-snake@users.noreply.github.com>2020-07-09 10:49:17 +0000
committerLibravatar GitHub <noreply@github.com>2020-07-09 10:49:17 +0000
commitdeb6c12454191b7aeff3d259612a00427d1aa6a1 (patch)
treebdf4351c170112ded7b076298b2b4bddd7664f2b /etc/profile-a-l
parentUpdate disable-common.inc (#3499) (diff)
downloadfirejail-deb6c12454191b7aeff3d259612a00427d1aa6a1.tar.gz
firejail-deb6c12454191b7aeff3d259612a00427d1aa6a1.tar.zst
firejail-deb6c12454191b7aeff3d259612a00427d1aa6a1.zip
hardening some profiles (#3505)
* hardening some profiles - harden and fix flameshot - wruc: frogatto, ghostwriter - harden gnome-latex - add whitelist opt-in note to keepassxc - add comment to minetest - harden openarena, tremulous, xonotic - add profile for xonotic-sdl-wrapper * followup
Diffstat (limited to 'etc/profile-a-l')
-rw-r--r--etc/profile-a-l/flameshot.profile15
-rw-r--r--etc/profile-a-l/frogatto.profile1
-rw-r--r--etc/profile-a-l/ghostwriter.profile1
-rw-r--r--etc/profile-a-l/gnome-latex.profile2
-rw-r--r--etc/profile-a-l/keepassxc.profile11
5 files changed, 27 insertions, 3 deletions
diff --git a/etc/profile-a-l/flameshot.profile b/etc/profile-a-l/flameshot.profile
index 207f87074..7c41417ec 100644
--- a/etc/profile-a-l/flameshot.profile
+++ b/etc/profile-a-l/flameshot.profile
@@ -8,6 +8,7 @@ include flameshot.local
8include globals.local 8include globals.local
9 9
10noblacklist ${PICTURES} 10noblacklist ${PICTURES}
11noblacklist ${HOME}/.config/Dharkael
11 12
12include disable-common.inc 13include disable-common.inc
13include disable-devel.inc 14include disable-devel.inc
@@ -18,7 +19,13 @@ include disable-programs.inc
18include disable-shell.inc 19include disable-shell.inc
19include disable-xdg.inc 20include disable-xdg.inc
20 21
22#whitelist ${PICTURES}
23#whitelist ${HOME}/.config/Dharkael
24whitelist /usr/share/flameshot
25#include whitelist-common.inc
21include whitelist-runuser-common.inc 26include whitelist-runuser-common.inc
27include whitelist-usr-share-common.inc
28include whitelist-var-common.inc
22 29
23caps.drop all 30caps.drop all
24ipc-namespace 31ipc-namespace
@@ -35,13 +42,15 @@ novideo
35protocol unix,inet,inet6 42protocol unix,inet,inet6
36seccomp 43seccomp
37shell none 44shell none
45tracelog
38 46
39disable-mnt 47disable-mnt
40private-bin flameshot 48private-bin flameshot
41private-cache 49private-cache
42private-etc alternatives,ca-certificates,crypto-policies,fonts,ld.so.conf,pki,resolv.conf,ssl 50private-etc alternatives,ca-certificates,crypto-policies,fonts,ld.so.conf,machine-id,pki,resolv.conf,ssl
43private-dev 51private-dev
44private-tmp 52private-tmp
45 53
46# dbus-user none 54dbus-user filter
47# dbus-system none 55dbus-user.own org.dharkael.Flameshot
56dbus-system none
diff --git a/etc/profile-a-l/frogatto.profile b/etc/profile-a-l/frogatto.profile
index 06f13e8c6..653272499 100644
--- a/etc/profile-a-l/frogatto.profile
+++ b/etc/profile-a-l/frogatto.profile
@@ -20,6 +20,7 @@ mkdir ${HOME}/.frogatto
20whitelist ${HOME}/.frogatto 20whitelist ${HOME}/.frogatto
21whitelist /usr/share/frogatto 21whitelist /usr/share/frogatto
22include whitelist-common.inc 22include whitelist-common.inc
23include whitelist-runuser-common.inc
23include whitelist-usr-share-common.inc 24include whitelist-usr-share-common.inc
24include whitelist-var-common.inc 25include whitelist-var-common.inc
25 26
diff --git a/etc/profile-a-l/ghostwriter.profile b/etc/profile-a-l/ghostwriter.profile
index d7b46263d..5bb410278 100644
--- a/etc/profile-a-l/ghostwriter.profile
+++ b/etc/profile-a-l/ghostwriter.profile
@@ -24,6 +24,7 @@ whitelist /usr/share/ghostwriter
24whitelist /usr/share/mozilla-dicts 24whitelist /usr/share/mozilla-dicts
25whitelist /usr/share/texlive 25whitelist /usr/share/texlive
26whitelist /usr/share/pandoc* 26whitelist /usr/share/pandoc*
27include whitelist-runuser-common.inc
27include whitelist-usr-share-common.inc 28include whitelist-usr-share-common.inc
28 29
29apparmor 30apparmor
diff --git a/etc/profile-a-l/gnome-latex.profile b/etc/profile-a-l/gnome-latex.profile
index ea4151137..eb5e9ec40 100644
--- a/etc/profile-a-l/gnome-latex.profile
+++ b/etc/profile-a-l/gnome-latex.profile
@@ -49,3 +49,5 @@ private-cache
49private-dev 49private-dev
50# passwd,login.defs,firejail are a temporary workaround for #2877 and can be removed once it is fixed 50# passwd,login.defs,firejail are a temporary workaround for #2877 and can be removed once it is fixed
51private-etc alternatives,dconf,fonts,gtk-3.0,latexmk.conf,login.defs,passwd,texlive 51private-etc alternatives,dconf,fonts,gtk-3.0,latexmk.conf,login.defs,passwd,texlive
52
53dbus-system none
diff --git a/etc/profile-a-l/keepassxc.profile b/etc/profile-a-l/keepassxc.profile
index d1893e412..6e35299be 100644
--- a/etc/profile-a-l/keepassxc.profile
+++ b/etc/profile-a-l/keepassxc.profile
@@ -23,6 +23,17 @@ include disable-programs.inc
23include disable-shell.inc 23include disable-shell.inc
24include disable-xdg.inc 24include disable-xdg.inc
25 25
26# You can enable whitelisting for keepassxc by uncommenting (or adding to you keepassxc.local) the following lines.
27# If you do so, you MUST store your database under ${HOME}/Documents/KeePassXC/foo.kdbx
28#mkdir ${HOME}/Documents/KeePassXC
29#whitelist ${HOME}/Documents/KeePassXC
30# Needed for KeePassXC-Browser
31#mkfile ${HOME}/.mozilla/native-messaging-hosts/org.keepassxc.keepassxc_browser.json
32#whitelist ${HOME}/.mozilla/native-messaging-hosts/org.keepassxc.keepassxc_browser.json
33#mkdir ${HOME}/.config/keepassxc
34#whitelist ${HOME}/.config/keepassxc
35#include whitelist-common.inc
36
26whitelist /usr/share/keepassxc 37whitelist /usr/share/keepassxc
27include whitelist-usr-share-common.inc 38include whitelist-usr-share-common.inc
28include whitelist-var-common.inc 39include whitelist-var-common.inc