aboutsummaryrefslogtreecommitdiffstats
path: root/etc/profile-a-l/git.profile
diff options
context:
space:
mode:
authorLibravatar Kelvin M. Klann <kmk3.code@protonmail.com>2021-01-09 21:41:43 -0300
committerLibravatar Kelvin M. Klann <kmk3.code@protonmail.com>2021-01-27 18:18:38 -0300
commit83ac0239722f85ffed15e3b6b6088bfff547ac1b (patch)
treebab7befdd0200dac19366bdb3fcf290487e1c761 /etc/profile-a-l/git.profile
parentgit-cola.profile: add missing python template comment (diff)
downloadfirejail-83ac0239722f85ffed15e3b6b6088bfff547ac1b.tar.gz
firejail-83ac0239722f85ffed15e3b6b6088bfff547ac1b.tar.zst
firejail-83ac0239722f85ffed15e3b6b6088bfff547ac1b.zip
etc: add allow-ssh.inc
And move the scattered `noblacklist ${HOME}/.ssh` entries into it. Command used to find the relevant files: $ grep -Fnr 'noblacklist ${HOME}/.ssh' etc Also, add it to profile.template, as reminded by @rusty-snake at https://github.com/netblue30/firejail/pull/3885#pullrequestreview-567527031
Diffstat (limited to 'etc/profile-a-l/git.profile')
-rw-r--r--etc/profile-a-l/git.profile4
1 files changed, 3 insertions, 1 deletions
diff --git a/etc/profile-a-l/git.profile b/etc/profile-a-l/git.profile
index e5a2f3985..aefb2917d 100644
--- a/etc/profile-a-l/git.profile
+++ b/etc/profile-a-l/git.profile
@@ -15,10 +15,12 @@ noblacklist ${HOME}/.gitconfig
15noblacklist ${HOME}/.git-credentials 15noblacklist ${HOME}/.git-credentials
16noblacklist ${HOME}/.gnupg 16noblacklist ${HOME}/.gnupg
17noblacklist ${HOME}/.nanorc 17noblacklist ${HOME}/.nanorc
18noblacklist ${HOME}/.ssh
19noblacklist ${HOME}/.vim 18noblacklist ${HOME}/.vim
20noblacklist ${HOME}/.viminfo 19noblacklist ${HOME}/.viminfo
21 20
21# Allow ssh (blacklisted by disable-common.inc)
22include allow-ssh.inc
23
22blacklist /tmp/.X11-unix 24blacklist /tmp/.X11-unix
23blacklist ${RUNUSER}/wayland-* 25blacklist ${RUNUSER}/wayland-*
24 26