aboutsummaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
Diffstat (limited to 'etc')
-rw-r--r--etc/dconf-editor.profile47
-rw-r--r--etc/disable-programs.inc2
-rw-r--r--etc/exfalso.profile52
-rw-r--r--etc/gconf-editor.profile49
4 files changed, 150 insertions, 0 deletions
diff --git a/etc/dconf-editor.profile b/etc/dconf-editor.profile
new file mode 100644
index 000000000..72b4f7a77
--- /dev/null
+++ b/etc/dconf-editor.profile
@@ -0,0 +1,47 @@
1# Firejail profile for dconf-editor
2# Description: dconf configuration editor
3# This file is overwritten after every install/update
4# Persistent local customizations
5include dconf-editor.local
6# Persistent global definitions
7include globals.local
8
9include disable-common.inc
10include disable-devel.inc
11include disable-interpreters.inc
12include disable-passwdmgr.inc
13include disable-programs.inc
14include disable-xdg.inc
15
16include whitelist-common.inc
17
18apparmor
19caps.drop all
20machine-id
21net none
22no3d
23# nodbus - DBUS is needed to commit changes to dconf
24nodvd
25nogroups
26nonewprivs
27noroot
28nosound
29notv
30nou2f
31novideo
32protocol unix
33seccomp
34shell none
35tracelog
36
37disable-mnt
38private-bin dconf-editor
39private-cache
40private-dev
41private-etc alternatives,fonts
42private-lib
43private-tmp
44
45memory-deny-write-execute
46noexec ${HOME}
47noexec /tmp
diff --git a/etc/disable-programs.inc b/etc/disable-programs.inc
index ec22c1cec..6bcb5e46c 100644
--- a/etc/disable-programs.inc
+++ b/etc/disable-programs.inc
@@ -147,6 +147,7 @@ blacklist ${HOME}/.config/flowblade
147blacklist ${HOME}/.config/font-manager 147blacklist ${HOME}/.config/font-manager
148blacklist ${HOME}/.config/gajim 148blacklist ${HOME}/.config/gajim
149blacklist ${HOME}/.config/galculator 149blacklist ${HOME}/.config/galculator
150blacklist ${HOME}/.config/gconf
150blacklist ${HOME}/.config/geany 151blacklist ${HOME}/.config/geany
151blacklist ${HOME}/.config/gedit 152blacklist ${HOME}/.config/gedit
152blacklist ${HOME}/.config/geeqie 153blacklist ${HOME}/.config/geeqie
@@ -513,6 +514,7 @@ blacklist ${HOME}/.pingus
513blacklist ${HOME}/.purple 514blacklist ${HOME}/.purple
514blacklist ${HOME}/.qemu-launcher 515blacklist ${HOME}/.qemu-launcher
515blacklist ${HOME}/.qmmp 516blacklist ${HOME}/.qmmp
517blacklist ${HOME}/.quodlibet
516blacklist ${HOME}/.redeclipse 518blacklist ${HOME}/.redeclipse
517blacklist ${HOME}/.remmina 519blacklist ${HOME}/.remmina
518blacklist ${HOME}/.repo_.gitconfig.json 520blacklist ${HOME}/.repo_.gitconfig.json
diff --git a/etc/exfalso.profile b/etc/exfalso.profile
new file mode 100644
index 000000000..58fd1b3b2
--- /dev/null
+++ b/etc/exfalso.profile
@@ -0,0 +1,52 @@
1# Firejail profile for exfalso
2# Description: GTK audio tag editor
3# This file is overwritten after every install/update
4# Persistent local customizations
5include exfalso.local
6# Persistent global definitions
7include globals.local
8
9noblacklist ${HOME}/.quodlibet
10noblacklist ${MUSIC}
11
12# Allow python (blacklisted by disable-interpreters.inc)
13noblacklist ${PATH}/python2*
14noblacklist ${PATH}/python3*
15noblacklist /usr/lib/python2*
16noblacklist /usr/lib/python3*
17
18include disable-common.inc
19include disable-devel.inc
20include disable-interpreters.inc
21include disable-passwdmgr.inc
22include disable-programs.inc
23include disable-xdg.inc
24
25caps.drop all
26# machine-id breaks audio; it should work fine in setups where sound is not required
27machine-id
28netfilter
29no3d
30nodbus
31nodvd
32nogroups
33nonewprivs
34noroot
35nosound
36notv
37nou2f
38novideo
39protocol unix,inet,inet6
40seccomp
41shell none
42
43private-bin exfalso,python*
44private-cache
45private-dev
46private-etc alternatives,fonts,group,passwd
47private-lib libatk-1.0.so.*,libgdk-3.so.*,libgdk_pixbuf-2.0.so.*,libgirepository-1.0.so.*,libgstreamer-1.0.so.*,libgtk-3.so.*,libgtksourceview-3.0.so.*,libpango-1.0.so.*,libpython*,libreadline.so.*,libsoup-2.4.so.*,libssl.so.1.*,python2*,python3*
48private-tmp
49
50# memory-deny-write-execute - Breaks on Arch
51noexec ${HOME}
52noexec /tmp
diff --git a/etc/gconf-editor.profile b/etc/gconf-editor.profile
new file mode 100644
index 000000000..a5132e937
--- /dev/null
+++ b/etc/gconf-editor.profile
@@ -0,0 +1,49 @@
1# Firejail profile for gconf-editor
2# Description: Graphical gconf registry editor
3# This file is overwritten after every install/update
4# Persistent local customizations
5include gconf-editor.local
6# Persistent global definitions
7include globals.local
8
9noblacklist ${HOME}/.config/gconf
10
11include disable-common.inc
12include disable-devel.inc
13include disable-interpreters.inc
14include disable-passwdmgr.inc
15include disable-programs.inc
16include disable-xdg.inc
17
18include whitelist-common.inc
19
20apparmor
21caps.drop all
22machine-id
23net none
24no3d
25# nodbus - DBUS is needed to commit changes to gconf
26nodvd
27nogroups
28nonewprivs
29noroot
30nosound
31notv
32nou2f
33novideo
34protocol unix
35seccomp
36shell none
37tracelog
38
39disable-mnt
40private-bin gconf-editor
41private-cache
42private-dev
43private-etc alternatives,fonts
44private-lib
45private-tmp
46
47memory-deny-write-execute
48noexec ${HOME}
49noexec /tmp