]> git.ipfire.org Git - thirdparty/openssh-portable.git/commitdiff
Revert "detect Linux/X32 systems"
authorDamien Miller <djm@mindrot.org>
Fri, 13 Nov 2020 03:20:43 +0000 (14:20 +1100)
committerDamien Miller <djm@mindrot.org>
Fri, 13 Nov 2020 03:20:43 +0000 (14:20 +1100)
This reverts commit 5b56bd0affea7b02b540bdbc4d1d271b0e4fc885.

The approach used was incorrect; discussion in bz#3085

configure.ac

index d3f4f57073cf7b290662086d7b5f79c4d1b05f33..842c255edb55e80851edf1cbe411717dfb6a3095 100644 (file)
@@ -532,8 +532,6 @@ SPP_MSG="no"
 # the --with-solaris-privs option and --with-sandbox=solaris).
 SOLARIS_PRIVS="no"
 
-AC_CHECK_SIZEOF([size_t])
-
 # Check for some target-specific stuff
 case "$host" in
 *-*-aix*)
@@ -878,10 +876,6 @@ main() { if (NSVersionOfRunTimeLibrary("System") >= (60 << 16))
        case "$host" in
        x86_64-*)
                seccomp_audit_arch=AUDIT_ARCH_X86_64
-               # X32: AMD64 instructions in 32bit address space.
-               if test "x$ac_cv_sizeof_size_t" = "x4" ; then
-                       seccomp_audit_arch=AUDIT_ARCH_I386
-               fi
                ;;
        i*86-*)
                seccomp_audit_arch=AUDIT_ARCH_I386