[openssh-commits] [openssh] branch master updated: allow restart_syscall(2) in seccomp sandbox

git+noreply at mindrot.org git+noreply at mindrot.org
Sun Oct 18 22:24:36 AEDT 2026


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

djm pushed a commit to branch master
in repository openssh.

The following commit(s) were added to refs/heads/master by this push:
     new 26b1363c7 allow restart_syscall(2) in seccomp sandbox
26b1363c7 is described below

commit 26b1363c7cbf5d01c730f45fc0b4abc5686beaf7
Author: Damien Miller <djm at mindrot.org>
AuthorDate: Sun Oct 18 19:23:55 2026 +0800

    allow restart_syscall(2) in seccomp sandbox
    
    bz4036, from Chester Weber
    ok dtucker@
---
 sandbox-seccomp-filter.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/sandbox-seccomp-filter.c b/sandbox-seccomp-filter.c
index f696d5008..b3bce6802 100644
--- a/sandbox-seccomp-filter.c
+++ b/sandbox-seccomp-filter.c
@@ -441,6 +441,9 @@ static const struct sock_filter preauth_insns[] = {
 #ifdef __NR_uname
 	SC_ALLOW(__NR_uname),
 #endif
+#ifdef __NR_restart_syscall
+	SC_ALLOW(__NR_restart_syscall),
+#endif
 #ifdef __NR_setsockopt
 	SC_ALLOW_SETSOCKOPT(IPPROTO_IPV6, IPV6_TCLASS),
 	SC_ALLOW_SETSOCKOPT(IPPROTO_IP, IP_TOS),

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


More information about the openssh-commits mailing list