Bug 1481864 - disable the sandbox on aarch64 windows by default; r=gps
authorNathan Froyd <froydnj@mozilla.com>
Mon, 20 Aug 2018 17:22:44 -0400
changeset 432494 dfd04e76e5a6617227c9da8c6961564446cf0f9d
parent 432493 0b502a7a768ff6b44e2c26e3e4787d80f3ea8099
child 432495 c667f8f40c65b0810e3b23fe2d635f273acc6a3f
push id34478
push userdluca@mozilla.com
push dateTue, 21 Aug 2018 09:54:49 +0000
treeherdermozilla-central@a955df76e2b6 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersgps
bugs1481864
milestone63.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1481864 - disable the sandbox on aarch64 windows by default; r=gps The Chromium sandbox doesn't have the necessary arch-specific support.
old-configure.in
--- a/old-configure.in
+++ b/old-configure.in
@@ -3094,16 +3094,23 @@ if test -n "$MOZ_TSAN" -o -n "$MOZ_ASAN"
     # Bug 1287971: LSan also conflicts with sandboxing on Linux.
     case $OS_TARGET in
     Linux|Android)
         MOZ_SANDBOX=
         ;;
     esac
 fi
 
+case "$OS_TARGET:$CPU_ARCH" in
+WINNT:aarch64)
+    # No sandbox support on AArch64 Windows.
+    MOZ_SANDBOX=
+    ;;
+esac
+
 MOZ_ARG_DISABLE_BOOL(sandbox,
 [  --disable-sandbox        Disable sandboxing support],
     MOZ_SANDBOX=,
     MOZ_SANDBOX=1)
 
 dnl ========================================================
 dnl = Content process sandboxing
 dnl ========================================================