aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatar netblue30 <netblue30@protonmail.com>2023-08-22 18:23:50 -0400
committerLibravatar netblue30 <netblue30@protonmail.com>2023-08-22 18:23:50 -0400
commite60964bc5420748f3aa0314fdf4c5a180b0451c3 (patch)
treee70aca95121b336be4b66cd797e26af84fe27e18
parentmore appimage fixes (diff)
parentprofiles: restore entries for ssh-related paths (diff)
downloadfirejail-e60964bc5420748f3aa0314fdf4c5a180b0451c3.tar.gz
firejail-e60964bc5420748f3aa0314fdf4c5a180b0451c3.tar.zst
firejail-e60964bc5420748f3aa0314fdf4c5a180b0451c3.zip
Merge branch 'master' of ssh://github.com/netblue30/firejail
-rw-r--r--etc/inc/disable-common.inc8
-rwxr-xr-xtest/fs/kmsg.exp1
2 files changed, 8 insertions, 1 deletions
diff --git a/etc/inc/disable-common.inc b/etc/inc/disable-common.inc
index faed10008..010cb05b6 100644
--- a/etc/inc/disable-common.inc
+++ b/etc/inc/disable-common.inc
@@ -319,9 +319,13 @@ read-only ${HOME}/.zshenv
319read-only ${HOME}/.zshrc 319read-only ${HOME}/.zshrc
320read-only ${HOME}/.zshrc.local 320read-only ${HOME}/.zshrc.local
321 321
322# Remote access - ${HOME}/.ssh directory blacklisted in top secret section below 322# Remote access (used only by sshd; should always be blacklisted)
323blacklist ${HOME}/.rhosts 323blacklist ${HOME}/.rhosts
324blacklist ${HOME}/.shosts 324blacklist ${HOME}/.shosts
325blacklist ${HOME}/.ssh/authorized_keys
326blacklist ${HOME}/.ssh/authorized_keys2
327blacklist ${HOME}/.ssh/environment
328blacklist ${HOME}/.ssh/rc
325blacklist /etc/hosts.equiv 329blacklist /etc/hosts.equiv
326 330
327# Initialization files that allow arbitrary command execution 331# Initialization files that allow arbitrary command execution
@@ -354,6 +358,8 @@ read-only ${HOME}/.nanorc
354read-only ${HOME}/.npmrc 358read-only ${HOME}/.npmrc
355read-only ${HOME}/.pythonrc.py 359read-only ${HOME}/.pythonrc.py
356read-only ${HOME}/.reportbugrc 360read-only ${HOME}/.reportbugrc
361read-only ${HOME}/.ssh/config
362read-only ${HOME}/.ssh/config.d
357read-only ${HOME}/.tmux.conf 363read-only ${HOME}/.tmux.conf
358read-only ${HOME}/.vim 364read-only ${HOME}/.vim
359read-only ${HOME}/.viminfo 365read-only ${HOME}/.viminfo
diff --git a/test/fs/kmsg.exp b/test/fs/kmsg.exp
index 3f952a4d4..1e647ab8d 100755
--- a/test/fs/kmsg.exp
+++ b/test/fs/kmsg.exp
@@ -17,6 +17,7 @@ sleep 1
17send -- "cat /dev/kmsg\r" 17send -- "cat /dev/kmsg\r"
18expect { 18expect {
19 timeout {puts "TESTING ERROR 2\n";exit} 19 timeout {puts "TESTING ERROR 2\n";exit}
20 "No such file or directory" # FIXME: Needed in CI
20 "Permission denied" 21 "Permission denied"
21} 22}
22after 100 23after 100