[openssh-commits] [openssh] 01/01: seccomp: Allow clock_nanosleep() in sandbox.
git+noreply at mindrot.org
git+noreply at mindrot.org
Wed Nov 13 23:23:34 AEDT 2019
This is an automated email from the git hooks/post-receive script.
dtucker pushed a commit to branch V_8_1
in repository openssh.
commit beee0ef61866cb567b9abc23bd850f922e59e3f0
Author: Darren Tucker <dtucker at dtucker.net>
Date: Wed Nov 13 23:19:35 2019 +1100
seccomp: Allow clock_nanosleep() in sandbox.
seccomp: Allow clock_nanosleep() to make OpenSSH working with latest
glibc. Patch from Jakub Jelen <jjelen at redhat.com> via bz #3093.
---
sandbox-seccomp-filter.c | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/sandbox-seccomp-filter.c b/sandbox-seccomp-filter.c
index b5cda70b..96ab141f 100644
--- a/sandbox-seccomp-filter.c
+++ b/sandbox-seccomp-filter.c
@@ -242,6 +242,12 @@ static const struct sock_filter preauth_insns[] = {
#ifdef __NR_nanosleep
SC_ALLOW(__NR_nanosleep),
#endif
+#ifdef __NR_clock_nanosleep
+ SC_ALLOW(__NR_clock_nanosleep),
+#endif
+#ifdef __NR_clock_nanosleep
+ SC_ALLOW(__NR_clock_nanosleep),
+#endif
#ifdef __NR__newselect
SC_ALLOW(__NR__newselect),
#endif
--
To stop receiving notification emails like this one, please contact
djm at mindrot.org.
More information about the openssh-commits
mailing list