openssh-7.5_p1-x32-typo.patch 772 B

1234567891011121314151617181920212223242526
  1. From 596c432181e1c4a9da354388394f640afd29f44b Mon Sep 17 00:00:00 2001
  2. From: Mike Frysinger <vapier@gentoo.org>
  3. Date: Mon, 20 Mar 2017 14:57:40 -0400
  4. Subject: [PATCH] seccomp sandbox: fix typo w/x32 check
  5. ---
  6. sandbox-seccomp-filter.c | 2 +-
  7. 1 file changed, 1 insertion(+), 1 deletion(-)
  8. diff --git a/sandbox-seccomp-filter.c b/sandbox-seccomp-filter.c
  9. index 3a1aedce72c2..a8d472a63ccb 100644
  10. --- a/sandbox-seccomp-filter.c
  11. +++ b/sandbox-seccomp-filter.c
  12. @@ -235,7 +235,7 @@ static const struct sock_filter preauth_insns[] = {
  13. * x86-64 syscall under some circumstances, e.g.
  14. * https://bugs.debian.org/849923
  15. */
  16. - SC_ALLOW(__NR_clock_gettime & ~__X32_SYSCALL_BIT);
  17. + SC_ALLOW(__NR_clock_gettime & ~__X32_SYSCALL_BIT),
  18. #endif
  19. /* Default deny */
  20. --
  21. 2.12.0