toolkit/crashreporter/breakpad-patches/16-sht-arm-exidx-define.patch

Tue, 06 Jan 2015 21:39:09 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Tue, 06 Jan 2015 21:39:09 +0100
branch
TOR_BUG_9701
changeset 8
97036ab72558
permissions
-rw-r--r--

Conditionally force memory storage according to privacy.thirdparty.isolate;
This solves Tor bug #9701, complying with disk avoidance documented in
https://www.torproject.org/projects/torbrowser/design/#disk-avoidance.

     1 # HG changeset patch
     2 # User Justin Wood <Callek@gmail.com>
     3 # Date 1372046309 14400
     4 # Node ID d6fc88d46b67cd522998ab6a9320b00b6091d5ce
     5 # Parent  aef71cf41cecf4c3d7bef313bff502c98d5883ce
     6 Bug 886209 - SHT_ARM_EXIDX not defined on older glibc versions. r=glandium
     7 (fixes SeaMonkey building on CentOS5.x)
     9 diff --git src/common/linux/dump_symbols.cc
    10 --- a/src/common/linux/dump_symbols.cc
    11 +++ b/src/common/linux/dump_symbols.cc
    12 @@ -71,7 +71,8 @@
    13  #include "common/using_std_string.h"
    14  #include "common/logging.h"
    16 -#if defined(__ANDROID__) && !defined(SHT_ARM_EXIDX)
    17 +#ifndef SHT_ARM_EXIDX
    18 +// bionic and older glibc don't define it
    19  # define SHT_ARM_EXIDX (SHT_LOPROC + 1)
    20  #endif

mercurial