[openssh-commits] [openssh] branch V_10_5 updated: allow restart_syscall(2) in seccomp sandbox
git+noreply at mindrot.org
git+noreply at mindrot.org
Fri Oct 23 08:08:08 AEDT 2026
This is an automated email from the git hooks/post-receive script.
dtucker pushed a commit to branch V_10_5
in repository openssh.
The following commit(s) were added to refs/heads/V_10_5 by this push:
new 62717d399 allow restart_syscall(2) in seccomp sandbox
62717d399 is described below
commit 62717d3992ec98c7f50ad469d23710c72cb3809d
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 b49d0286e..55d6261de 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