]> git.pld-linux.org Git - packages/openssh.git/blob - x32.patch
- rel 5; fix x32 (seccomp was killing it)
[packages/openssh.git] / x32.patch
1 commit e3f27006f15abacb7e89fda3f5e9a0bd420b7e38
2 Author: Damien Miller <djm@mindrot.org>
3 Date:   Fri Nov 13 14:20:43 2020 +1100
4
5     Revert "detect Linux/X32 systems"
6     
7     This reverts commit 5b56bd0affea7b02b540bdbc4d1d271b0e4fc885.
8     
9     The approach used was incorrect; discussion in bz#3085
10
11 diff --git a/configure.ac b/configure.ac
12 index d3f4f570..842c255e 100644
13 --- a/configure.ac
14 +++ b/configure.ac
15 @@ -532,8 +532,6 @@ SPP_MSG="no"
16  # the --with-solaris-privs option and --with-sandbox=solaris).
17  SOLARIS_PRIVS="no"
18  
19 -AC_CHECK_SIZEOF([size_t])
20 -
21  # Check for some target-specific stuff
22  case "$host" in
23  *-*-aix*)
24 @@ -878,10 +876,6 @@ main() { if (NSVersionOfRunTimeLibrary("System") >= (60 << 16))
25         case "$host" in
26         x86_64-*)
27                 seccomp_audit_arch=AUDIT_ARCH_X86_64
28 -               # X32: AMD64 instructions in 32bit address space.
29 -               if test "x$ac_cv_sizeof_size_t" = "x4" ; then
30 -                       seccomp_audit_arch=AUDIT_ARCH_I386
31 -               fi
32                 ;;
33         i*86-*)
34                 seccomp_audit_arch=AUDIT_ARCH_I386
This page took 0.029707 seconds and 3 git commands to generate.