diff options
author | 2018-10-11 08:36:06 -0500 | |
---|---|---|
committer | 2018-10-11 08:36:06 -0500 | |
commit | 418e61fc142205347dbfb84e519ba0b656a51903 (patch) | |
tree | 786b0a358c83c75290fe01b077312ffc69a1a7ba | |
parent | Merge pull request #2170 from glitsj16/easystroke (diff) | |
parent | Update for desktop (a.k.a. github-desktop) (diff) | |
download | firejail-418e61fc142205347dbfb84e519ba0b656a51903.tar.gz firejail-418e61fc142205347dbfb84e519ba0b656a51903.tar.zst firejail-418e61fc142205347dbfb84e519ba0b656a51903.zip |
Merge pull request #2171 from glitsj16/desktop
New profile desktop (a.k.a. github-desktop)
-rw-r--r-- | etc/desktop.profile | 44 | ||||
-rw-r--r-- | etc/disable-programs.inc | 1 | ||||
-rw-r--r-- | src/firecfg/firecfg.config | 1 |
3 files changed, 46 insertions, 0 deletions
diff --git a/etc/desktop.profile b/etc/desktop.profile new file mode 100644 index 000000000..8bfa885a3 --- /dev/null +++ b/etc/desktop.profile | |||
@@ -0,0 +1,44 @@ | |||
1 | # Firejail profile for desktop | ||
2 | # Description: Extend your GitHub workflow beyond your browser with GitHub Desktop | ||
3 | # This file is overwritten after every install/update | ||
4 | # Persistent local customizations | ||
5 | include /etc/firejail/github-desktop.local | ||
6 | # Persistent global definitions | ||
7 | include /etc/firejail/globals.local | ||
8 | |||
9 | whitelist ${HOME}/.gitconfig | ||
10 | whitelist ${HOME}/.config/GitHub Desktop | ||
11 | |||
12 | include /etc/firejail/disable-common.inc | ||
13 | include /etc/firejail/disable-passwdmgr.inc | ||
14 | include /etc/firejail/disable-programs.inc | ||
15 | include /etc/firejail/disable-devel.inc | ||
16 | include /etc/firejail/disable-interpreters.inc | ||
17 | |||
18 | include /etc/firejail/whitelist-common.inc | ||
19 | |||
20 | caps.drop all | ||
21 | netfilter | ||
22 | # no3d | ||
23 | nodvd | ||
24 | nogroups | ||
25 | nonewprivs | ||
26 | noroot | ||
27 | nosound | ||
28 | notv | ||
29 | nou2f | ||
30 | novideo | ||
31 | protocol unix,inet,inet6,netlink | ||
32 | seccomp | ||
33 | |||
34 | disable-mnt | ||
35 | # private-bin Atom,desktop | ||
36 | # private-cache | ||
37 | # private-dev | ||
38 | # private-etc none | ||
39 | # private-lib | ||
40 | # private-tmp | ||
41 | |||
42 | # memory-deny-write-execute | ||
43 | # noexec ${HOME} | ||
44 | # noexec /tmp | ||
diff --git a/etc/disable-programs.inc b/etc/disable-programs.inc index 0b445301d..fe6b04ed0 100644 --- a/etc/disable-programs.inc +++ b/etc/disable-programs.inc | |||
@@ -57,6 +57,7 @@ blacklist ${HOME}/.config/Franz | |||
57 | blacklist ${HOME}/.config/FreeCAD | 57 | blacklist ${HOME}/.config/FreeCAD |
58 | blacklist ${HOME}/.config/Fritzing | 58 | blacklist ${HOME}/.config/Fritzing |
59 | blacklist ${HOME}/.config/GIMP | 59 | blacklist ${HOME}/.config/GIMP |
60 | blacklist ${HOME}/.config/GitHub Desktop | ||
60 | blacklist ${HOME}/.config/Gitter | 61 | blacklist ${HOME}/.config/Gitter |
61 | blacklist ${HOME}/.config/Google | 62 | blacklist ${HOME}/.config/Google |
62 | blacklist ${HOME}/.config/Google Play Music Desktop Player | 63 | blacklist ${HOME}/.config/Google Play Music Desktop Player |
diff --git a/src/firecfg/firecfg.config b/src/firecfg/firecfg.config index cf8140c3a..542812624 100644 --- a/src/firecfg/firecfg.config +++ b/src/firecfg/firecfg.config | |||
@@ -10,6 +10,7 @@ Discord | |||
10 | DiscordCanary | 10 | DiscordCanary |
11 | FossaMail | 11 | FossaMail |
12 | Fritzing | 12 | Fritzing |
13 | GitHub Desktop | ||
13 | JDownloader | 14 | JDownloader |
14 | Mathematica | 15 | Mathematica |
15 | Natron | 16 | Natron |