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 490234 dfd04e76e5a6617227c9da8c6961564446cf0f9d
parent 490233 0b502a7a768ff6b44e2c26e3e4787d80f3ea8099
child 490235 c667f8f40c65b0810e3b23fe2d635f273acc6a3f
push id1815
push userffxbld-merge
push dateMon, 15 Oct 2018 10:40:45 +0000
treeherdermozilla-release@18d4c09e9378 [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 ========================================================