[openssh-commits] [openssh] 01/02: Allow clock_nanosleep_time64 in seccomp sandbox.

git+noreply at mindrot.org git+noreply at mindrot.org
Wed Jan 8 12:21:22 AEDT 2020


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 030b4c2b8029563bc8a9fd764288fde08fa2347c
Author: Darren Tucker <dtucker at dtucker.net>
Date:   Mon Dec 16 13:55:56 2019 +1100

    Allow clock_nanosleep_time64 in seccomp sandbox.
    
    Needed on Linux ARM.  bz#3100, patch from jjelen at redhat.com.
---
 sandbox-seccomp-filter.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/sandbox-seccomp-filter.c b/sandbox-seccomp-filter.c
index be239767..3ef30c9d 100644
--- a/sandbox-seccomp-filter.c
+++ b/sandbox-seccomp-filter.c
@@ -245,6 +245,9 @@ static const struct sock_filter preauth_insns[] = {
 #ifdef __NR_clock_nanosleep
 	SC_ALLOW(__NR_clock_nanosleep),
 #endif
+#ifdef __NR_clock_nanosleep_time64
+	SC_ALLOW(__NR_clock_nanosleep_time64),
+#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