[openssh-commits] [openssh] 01/01: Allow (but return EACCES) fstatat64 in sandbox.

git+noreply at mindrot.org git+noreply at mindrot.org
Fri Mar 12 16:04:08 AEDT 2021

This is an automated email from the git hooks/post-receive script.

dtucker pushed a commit to branch master
in repository openssh.

commit 82fef71e20ffef425b932bec26f5bc46aa1ed41c
Author: Darren Tucker <dtucker at dtucker.net>
Date:   Fri Mar 12 15:58:57 2021 +1100

    Allow (but return EACCES) fstatat64 in sandbox.
    This is apparently used in some configurations of OpenSSL when glibc
    has getrandom().  bz#3276, patch from Kris Karas, ok djm@
 sandbox-seccomp-filter.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/sandbox-seccomp-filter.c b/sandbox-seccomp-filter.c
index d8dc7120..7981c84a 100644
--- a/sandbox-seccomp-filter.c
+++ b/sandbox-seccomp-filter.c
@@ -154,6 +154,9 @@ static const struct sock_filter preauth_insns[] = {
 #ifdef __NR_fstat64
 	SC_DENY(__NR_fstat64, EACCES),
+#ifdef __NR_fstatat64
+	SC_DENY(__NR_fstatat64, EACCES),
 #ifdef __NR_open
 	SC_DENY(__NR_open, EACCES),

To stop receiving notification emails like this one, please contact
djm at mindrot.org.

More information about the openssh-commits mailing list