summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorLibravatar glitsj16 <glitsj16@users.noreply.github.com>2019-11-25 17:05:58 +0000
committerLibravatar GitHub <noreply@github.com>2019-11-25 17:05:58 +0000
commitf46f2a89d2b4c9aea974c26cee2c1a36edd235b1 (patch)
tree493751cc52612b6ed4e4be137ec5c31b77bb1e61 /etc
parentblacklist gksu, gksudo, kdesudo (diff)
downloadfirejail-f46f2a89d2b4c9aea974c26cee2c1a36edd235b1.tar.gz
firejail-f46f2a89d2b4c9aea974c26cee2c1a36edd235b1.tar.zst
firejail-f46f2a89d2b4c9aea974c26cee2c1a36edd235b1.zip
Add new profile: gist (#3061)
* Create gist.profile * Add gist config to disable-programs.inc * Add gist to firecfg.config * Update RELNOTES * Update README.md
Diffstat (limited to 'etc')
-rw-r--r--etc/disable-programs.inc1
-rw-r--r--etc/gist.profile56
2 files changed, 57 insertions, 0 deletions
diff --git a/etc/disable-programs.inc b/etc/disable-programs.inc
index c7638ec17..cb5da5c8d 100644
--- a/etc/disable-programs.inc
+++ b/etc/disable-programs.inc
@@ -364,6 +364,7 @@ blacklist ${HOME}/.freecol
364blacklist ${HOME}/.freemind 364blacklist ${HOME}/.freemind
365blacklist ${HOME}/.frozen-bubble 365blacklist ${HOME}/.frozen-bubble
366blacklist ${HOME}/.gimp* 366blacklist ${HOME}/.gimp*
367blacklist ${HOME}/.gist
367blacklist ${HOME}/.gitconfig 368blacklist ${HOME}/.gitconfig
368blacklist ${HOME}/.gnome/gnome-schedule 369blacklist ${HOME}/.gnome/gnome-schedule
369blacklist ${HOME}/.googleearth/Cache 370blacklist ${HOME}/.googleearth/Cache
diff --git a/etc/gist.profile b/etc/gist.profile
new file mode 100644
index 000000000..9544ad499
--- /dev/null
+++ b/etc/gist.profile
@@ -0,0 +1,56 @@
1# Firejail profile for gist
2# Description: Potentially the best command line gister
3# This file is overwritten after every install/update
4quiet
5# Persistent local customizations
6include gist.local
7# Persistent global definitions
8include globals.local
9
10noblacklist ${HOME}/.gist
11
12# Allow ruby (blacklisted by disable-interpreters.inc)
13include allow-ruby.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-xdg.inc
22
23mkdir ${HOME}/.gist
24whitelist ${HOME}/.gist
25whitelist ${DOWNLOADS}
26include whitelist-common.inc
27include whitelist-usr-share-common.inc
28include whitelist-var-common.inc
29
30apparmor
31caps.drop all
32ipc-namespace
33machine-id
34netfilter
35no3d
36nodbus
37nodvd
38nogroups
39nonewprivs
40noroot
41nosound
42notv
43nou2f
44novideo
45protocol unix,inet,inet6
46seccomp
47shell none
48tracelog
49
50disable-mnt
51private-cache
52private-dev
53private-etc alternatives
54private-tmp
55
56memory-deny-write-execute