Bugzilla – Attachment 3427 Details for
Bug 3085
seccomp issue after upgrading openssl
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Detect X32 when setting seccomp audit_arch
bz3005.diff (text/plain), 686 bytes, created by
Damien Miller
on 2020-07-14 08:59:23 AEST
(
hide
)
Description:
Detect X32 when setting seccomp audit_arch
Filename:
MIME Type:
Creator:
Damien Miller
Created:
2020-07-14 08:59:23 AEST
Size:
686 bytes
patch
obsolete
>diff --git a/configure.ac b/configure.ac >index c03db2732..57a027d4d 100644 >--- a/configure.ac >+++ b/configure.ac >@@ -522,6 +522,8 @@ 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*) >@@ -864,6 +866,10 @@ 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" = "x32" ; then >+ seccomp_audit_arch=AUDIT_ARCH_I386 >+ fi > ;; > i*86-*) > seccomp_audit_arch=AUDIT_ARCH_I386
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 3085
:
3382
| 3427