This is a frankenstein monster of AMD64 instructions/calling conventions
but with a 4GB address space. Allegedly deprecated but people still run
into it causing weird sandbox failures, e.g. bz#3085
# 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*)
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