aboutsummaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorLibravatar rusty-snake <41237666+rusty-snake@users.noreply.github.com>2020-06-10 21:56:36 +0200
committerLibravatar rusty-snake <41237666+rusty-snake@users.noreply.github.com>2020-06-11 22:11:35 +0200
commit91a2bedaf42abcb947ef9370919b9d5503e84e47 (patch)
tree32bba6492b249d8afe8ab4c0d812c010699b52b2 /etc
parentAdd strawberry profile (#3459) (diff)
downloadfirejail-91a2bedaf42abcb947ef9370919b9d5503e84e47.tar.gz
firejail-91a2bedaf42abcb947ef9370919b9d5503e84e47.tar.zst
firejail-91a2bedaf42abcb947ef9370919b9d5503e84e47.zip
New profiles: apostrophe & quadrapassel
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/disable-programs.inc1
-rw-r--r--etc/profile-a-l/apostrophe.profile69
-rw-r--r--etc/profile-a-l/emacs.profile7
-rw-r--r--etc/profile-a-l/file-roller.profile2
-rw-r--r--etc/profile-m-z/quadrapassel.profile20
-rw-r--r--etc/profile-m-z/yelp.profile2
6 files changed, 97 insertions, 4 deletions
diff --git a/etc/inc/disable-programs.inc b/etc/inc/disable-programs.inc
index 32228b8f2..43c8292e0 100644
--- a/etc/inc/disable-programs.inc
+++ b/etc/inc/disable-programs.inc
@@ -636,6 +636,7 @@ blacklist ${HOME}/.local/share/pix
636blacklist ${HOME}/.local/share/plasma_notes 636blacklist ${HOME}/.local/share/plasma_notes
637blacklist ${HOME}/.local/share/profanity 637blacklist ${HOME}/.local/share/profanity
638blacklist ${HOME}/.local/share/psi+ 638blacklist ${HOME}/.local/share/psi+
639blacklist ${HOME}/.local/share/quadrapassel
639blacklist ${HOME}/.local/share/qpdfview 640blacklist ${HOME}/.local/share/qpdfview
640blacklist ${HOME}/.local/share/qutebrowser 641blacklist ${HOME}/.local/share/qutebrowser
641blacklist ${HOME}/.local/share/remmina 642blacklist ${HOME}/.local/share/remmina
diff --git a/etc/profile-a-l/apostrophe.profile b/etc/profile-a-l/apostrophe.profile
new file mode 100644
index 000000000..5dfe034e0
--- /dev/null
+++ b/etc/profile-a-l/apostrophe.profile
@@ -0,0 +1,69 @@
1# Firejail profile for apostrophe
2# Description: Distraction free Markdown editor for GNU/Linux made with GTK+
3# This file is overwritten after every install/update
4# Persistent local customizations
5include apostrophe.local
6# Persistent global definitions
7include globals.local
8
9noblacklist ${DOCUMENTS}
10noblacklist ${PICTURES}
11
12# Allow python (blacklisted by disable-interpreters.inc)
13include allow-python3.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
21include disable-shell.inc
22include disable-xdg.inc
23
24whitelist /usr/share/apostrophe
25include whitelist-runuser-common.inc
26include whitelist-usr-share-common.inc
27include whitelist-var-common.inc
28
29apparmor
30caps.drop all
31machine-id
32net none
33no3d
34nodvd
35nogroups
36nonewprivs
37noroot
38nosound
39notv
40nou2f
41novideo
42protocol unix
43seccomp
44shell none
45tracelog
46
47disable-mnt
48private-bin apostrophe,python3*
49private-cache
50private-dev
51private-etc alternatives,dconf,fonts,gtk-3.0,ld.so.cache,ld.so.conf,ld.so.conf.d,ld.so.preload,pango,X11
52# private-etc templates (see also #1734, #2093)
53# Common: alternatives,ld.so.cache,ld.so.conf,ld.so.conf.d,ld.so.preload,locale,locale.alias,locale.conf,localtime,mime.types,xdg
54# Extra: magic,magic.mgc,passwd,group
55# Networking: ca-certificates,ssl,pki,crypto-policies,nsswitch.conf,resolv.conf,hosts,host.conf,hostname,protocols,services,rpc
56# Extra: proxychains.conf,gai.conf
57# Sound: alsa,asound.conf,pulse,machine-id
58# GUI: fonts,pango,X11
59# GTK: dconf,gconf,gtk-2.0,gtk-3.0
60# Qt: Trolltech.conf
61# KDE: kde4rc,kde5rc
62# 3D: drirc,glvnd,bumblebee,nvidia
63# D-Bus: dbus-1,machine-id
64private-tmp
65
66dbus-user filter
67dbus-user.own org.gnome.gitlab.somas.Apostrophe
68dbus-user.talk ca.desrt.dconf
69dbus-system none
diff --git a/etc/profile-a-l/emacs.profile b/etc/profile-a-l/emacs.profile
index de4ea97a4..226237b5b 100644
--- a/etc/profile-a-l/emacs.profile
+++ b/etc/profile-a-l/emacs.profile
@@ -19,10 +19,6 @@ include disable-common.inc
19include disable-passwdmgr.inc 19include disable-passwdmgr.inc
20include disable-programs.inc 20include disable-programs.inc
21 21
22# Comment out if you want an immutable configuration
23read-write ${HOME}/.emacs
24read-write ${HOME}/.emacs.d
25
26caps.drop all 22caps.drop all
27netfilter 23netfilter
28nodvd 24nodvd
@@ -33,3 +29,6 @@ notv
33novideo 29novideo
34protocol unix,inet,inet6 30protocol unix,inet,inet6
35seccomp 31seccomp
32
33read-write ${HOME}/.emacs
34read-write ${HOME}/.emacs.d
diff --git a/etc/profile-a-l/file-roller.profile b/etc/profile-a-l/file-roller.profile
index 70dd030ee..745b8b8e9 100644
--- a/etc/profile-a-l/file-roller.profile
+++ b/etc/profile-a-l/file-roller.profile
@@ -42,3 +42,5 @@ private-cache
42private-dev 42private-dev
43private-etc dconf,fonts,gtk-3.0,xdg 43private-etc dconf,fonts,gtk-3.0,xdg
44# private-tmp 44# private-tmp
45
46dbus-system none
diff --git a/etc/profile-m-z/quadrapassel.profile b/etc/profile-m-z/quadrapassel.profile
new file mode 100644
index 000000000..91e0d9d0d
--- /dev/null
+++ b/etc/profile-m-z/quadrapassel.profile
@@ -0,0 +1,20 @@
1# Firejail profile for quadrapassel
2# Description: Tetris-like game for GNOME
3# This file is overwritten after every install/update
4# Persistent local customizations
5include quadrapassel.local
6# Persistent global definitions
7include globals.local
8
9noblacklist ${HOME}/.local/share/quadrapassel
10
11mkdir ${HOME}/.local/share/quadrapassel
12whitelist ${HOME}/.local/share/quadrapassel
13whitelist /usr/share/quadrapassel
14
15private-bin quadrapassel
16
17dbus-user.own org.gnome.Quadrapassel
18
19# Redirect
20include gnome_games-common.profile
diff --git a/etc/profile-m-z/yelp.profile b/etc/profile-m-z/yelp.profile
index f643cf252..fd95ceb04 100644
--- a/etc/profile-m-z/yelp.profile
+++ b/etc/profile-m-z/yelp.profile
@@ -51,6 +51,8 @@ private-dev
51private-etc alsa,alternatives,asound.conf,crypto-policies,cups,dconf,drirc,fonts,gcrypt,gtk-3.0,machine-id,openal,os-release,pulse,sgml,xml 51private-etc alsa,alternatives,asound.conf,crypto-policies,cups,dconf,drirc,fonts,gcrypt,gtk-3.0,machine-id,openal,os-release,pulse,sgml,xml
52private-tmp 52private-tmp
53 53
54dbus-system none
55
54# read-only ${HOME} breaks some not necesarry featrues, comment it if 56# read-only ${HOME} breaks some not necesarry featrues, comment it if
55# you need them or put 'ignore read-only ${HOME}' into your yelp.local. 57# you need them or put 'ignore read-only ${HOME}' into your yelp.local.
56# broken features: 58# broken features: