aboutsummaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorLibravatar glitsj16 <glitsj16@users.noreply.github.com>2019-01-22 05:56:28 +0000
committerLibravatar GitHub <noreply@github.com>2019-01-22 05:56:28 +0000
commit55a6decde008e428c182138873772cd4c2014c99 (patch)
treece1a32557678da243889ddefd50b1dcc96dd552a /etc
parentfix typo (diff)
parentFix github-desktop for appimage usage (diff)
downloadfirejail-55a6decde008e428c182138873772cd4c2014c99.tar.gz
firejail-55a6decde008e428c182138873772cd4c2014c99.tar.zst
firejail-55a6decde008e428c182138873772cd4c2014c99.zip
Merge pull request #2362 from glitsj16/github-desktop
Refactoring github-desktop profile and firecfg
Diffstat (limited to 'etc')
-rw-r--r--etc/github-desktop.profile (renamed from etc/desktop.profile)26
1 files changed, 15 insertions, 11 deletions
diff --git a/etc/desktop.profile b/etc/github-desktop.profile
index bfb1618b2..9ac212fe8 100644
--- a/etc/desktop.profile
+++ b/etc/github-desktop.profile
@@ -1,4 +1,4 @@
1# Firejail profile for desktop 1# Firejail profile for github-desktop
2# Description: Extend your GitHub workflow beyond your browser with GitHub Desktop 2# Description: Extend your GitHub workflow beyond your browser with GitHub Desktop
3# This file is overwritten after every install/update 3# This file is overwritten after every install/update
4# Persistent local customizations 4# Persistent local customizations
@@ -6,8 +6,8 @@ include github-desktop.local
6# Persistent global definitions 6# Persistent global definitions
7include globals.local 7include globals.local
8 8
9whitelist ${HOME}/.gitconfig 9noblacklist ${HOME}/.gitconfig
10whitelist ${HOME}/.config/GitHub Desktop 10noblacklist ${HOME}/.config/GitHub Desktop
11 11
12include disable-common.inc 12include disable-common.inc
13include disable-passwdmgr.inc 13include disable-passwdmgr.inc
@@ -15,8 +15,6 @@ include disable-programs.inc
15include disable-devel.inc 15include disable-devel.inc
16include disable-interpreters.inc 16include disable-interpreters.inc
17 17
18include whitelist-common.inc
19
20caps.drop all 18caps.drop all
21netfilter 19netfilter
22# no3d 20# no3d
@@ -31,14 +29,20 @@ novideo
31protocol unix,inet,inet6,netlink 29protocol unix,inet,inet6,netlink
32seccomp 30seccomp
33 31
32# Note: On debian-based distributions the binary might be located in
33# /opt/GitHub Desktop/github-desktop, and therefore not be in PATH.
34# If that's the case you can start GitHub Desktop with firejail via
35# `firejail "/opt/GitHub Desktop/github-desktop"`.
36
34disable-mnt 37disable-mnt
35# private-bin Atom,desktop 38# private-bin github-desktop
36# private-cache 39private-cache
37# private-dev 40?HAS_APPIMAGE: ignore private-dev
41private-dev
38# private-etc none 42# private-etc none
39# private-lib 43# private-lib
40# private-tmp 44private-tmp
41 45
42# memory-deny-write-execute 46# memory-deny-write-execute
43# noexec ${HOME} 47noexec ${HOME}
44# noexec /tmp 48noexec /tmp