aboutsummaryrefslogtreecommitdiffstats
path: root/etc/profile-a-l/git.profile
diff options
context:
space:
mode:
Diffstat (limited to 'etc/profile-a-l/git.profile')
-rw-r--r--etc/profile-a-l/git.profile59
1 files changed, 59 insertions, 0 deletions
diff --git a/etc/profile-a-l/git.profile b/etc/profile-a-l/git.profile
new file mode 100644
index 000000000..e5a2f3985
--- /dev/null
+++ b/etc/profile-a-l/git.profile
@@ -0,0 +1,59 @@
1# Firejail profile for git
2# Description: Fast, scalable, distributed revision control system
3# This file is overwritten after every install/update
4quiet
5# Persistent local customizations
6include git.local
7# Persistent global definitions
8include globals.local
9
10noblacklist ${HOME}/.config/git
11noblacklist ${HOME}/.config/nano
12noblacklist ${HOME}/.emacs
13noblacklist ${HOME}/.emacs.d
14noblacklist ${HOME}/.gitconfig
15noblacklist ${HOME}/.git-credentials
16noblacklist ${HOME}/.gnupg
17noblacklist ${HOME}/.nanorc
18noblacklist ${HOME}/.ssh
19noblacklist ${HOME}/.vim
20noblacklist ${HOME}/.viminfo
21
22blacklist /tmp/.X11-unix
23blacklist ${RUNUSER}/wayland-*
24
25include disable-common.inc
26include disable-exec.inc
27include disable-passwdmgr.inc
28include disable-programs.inc
29
30whitelist /usr/share/git
31whitelist /usr/share/git-core
32whitelist /usr/share/gitgui
33whitelist /usr/share/gitweb
34whitelist /usr/share/nano
35include whitelist-usr-share-common.inc
36include whitelist-var-common.inc
37
38apparmor
39caps.drop all
40ipc-namespace
41machine-id
42netfilter
43no3d
44nodvd
45nogroups
46nonewprivs
47noroot
48nosound
49notv
50nou2f
51novideo
52protocol unix,inet,inet6
53seccomp
54shell none
55
56private-cache
57private-dev
58
59memory-deny-write-execute