Граф коммитов

432 Коммитов

Автор SHA1 Сообщение Дата
Mike Hommey 4aaef7b18a Bug 1395032 - Remove remainder of the VS CRT allocator mismatch hack. r=gps
Bug 1186064 removed most of it when we started requiring VS 2015u2, but
the "frex" function exported through mozglue.def.in was only used
through the MSVCRT being patched by fixcrt.py, which is not done anymore.
So the "frex" export is not used anymore, and so the "dumb_free_thunk"
function is not used anymore as well.

--HG--
extra : rebase_source : 879c469c317c8b6749410a4a476d6c951c9a1d0f
2017-08-30 14:06:13 +09:00
Nicholas Nethercote 76360b4793 Bug 1382099 - Remove MOZ_WIDGET_GONK from mozglue/. r=glandium.
--HG--
extra : rebase_source : be872a2272b731523fdad5ee52ffcd40d87729c5
2017-07-19 18:38:54 +10:00
Tom Ritter 0591f401da Bug 1380103 Cast a DWORD (__attribute__((__stdcall__)) *)(void*) to a bare void* to fix a compiler error r=ccorcoran,dmajor
MozReview-Commit-ID: 88e6e2w5Gd1

--HG--
extra : rebase_source : 4011d6d4261c83517d54ea5c4bf08ba54a77fd0c
2017-07-11 14:26:35 -05:00
Mike Hommey ed863255b4 Bug 1378592 - Remove MOZ_REPLACE_MALLOC_LINKAGE. r=froydnj
MOZ_REPLACE_MALLOC_LINKAGE was added back when there were problems with
getting weak references working properly for replace-malloc.

Versions of OSX < 10.6 needed flat namespace, but aren't supported
anymore.

Versions of Xcode < 4.5 required flat namespace + a dummy library in
order to produce proper weak references. There is virtually nobody still
building with such an ancient toolchain.

Keeping those around doesn't /really/ hurt, except recent versions of
Xcode don't expose dyldinfo in /usr/bin, used for the configure test.
Consequently, MOZ_REPLACE_MALLOC_LINKAGE ended up being set to use the
dummy library setup, which, by using flat namespace, now causes harm in
bug 1356701, causing bug 1378332.

--HG--
extra : rebase_source : e3edc1f2cf905943c33fafeb631f2f88fc87167e
2017-07-06 10:26:04 +09:00
David Major 8f2fab9547 Bug 1378442 - Move Win64 profiler hooks to profiler_start. r=mstange 2017-07-05 18:45:31 -04:00
Nicholas Nethercote 4b364cf3f3 Bug 1375299 (part 1) - Reduce usage of MOZ_GECKO_PROFILER. r=mstange.
This patch reduces the differences between builds where the profiler is enabled
and those where the profiler is disabled. It does this by removing numerous
MOZ_GECKO_PROFILER checks.

These changes have the following consequences.

- Various functions and classes are now defined in all builds, and so can be
  used unconditionally: profiler_add_marker(), profiler_set_js_context(),
  profiler_clear_js_context(), profiler_get_pseudo_stack(), AutoProfilerLabel.
  (They are effectively no-ops in non-profiler builds, of course.)

- The no-op versions of PROFILER_* are now gone. The remaining versions are
  almost no-ops when the profiler isn't built.

--HG--
extra : rebase_source : 8fb5e8757600210c2f77865694d25162f0b7698a
2017-06-22 06:26:16 +10:00
David Major af0b39fef9 Bug 1372375: Avoid locks in EnsureWalkThreadReady during the profiler's critical section. r=mstange
EnsureWalkThreadReady takes two locks, one in _beginthreadex and another in the DLL hook setup.

We can avoid the first by not calling EnsureWalkThreadReady if we're walking a suspended thread, since we won't be using a separate WalkThread anyway.

To avoid the hook locks, I gave in and decided to go back to setting up the hooks in DllBlocklist_Initialize as originally planned.
2017-06-13 18:30:48 -04:00
Ehsan Akhgari 0b42833bd8 Bug 1370329 (part 3) - Add a Gecko Profiler label to patched_LdrLoadDll(). r=mstange.
This lets us easily identify the name of the DLL being loaded in a profile.

--HG--
extra : rebase_source : 9910910e573e5ddbad81fe1f9792a07807b074cb
2017-06-07 12:37:18 +10:00
Tom Ritter 8407066758 Bug 1365047 Turn on the Windows DLL Blocklist in MinGW r=aklotz
MozReview-Commit-ID: 3hF7iOdH89P

--HG--
extra : rebase_source : 95614960544ae55b983dbbd40e1036ff236204b3
2017-05-15 15:49:20 -05:00
Carl Corcoran d984e671a7 Bug 1322554: Interpose kernel32!BaseThreadInitThunk to add verification of thread start addresses; r=aklotz,dmajor
MozReview-Commit-ID: 8Jm1PXyRrEr

--HG--
extra : rebase_source : 1145dfccaca72b58145f0100a4e313d1c9d685be
2017-05-24 11:56:40 +02:00
David Major 89f6d51919 Bug 1180561 - Intercept msmpeg2vdec's JIT unwind callback on Win7 x64. r=aklotz
So we can avoid stack-walking their JIT code. They don't have unwind information so their callback just kills the process.
2017-05-18 16:15:29 -04:00
David Major 44b9e8090f Bug 1180561 - Cleanup - Remove the DLL blocklist's anonymous namespace. r=aklotz
It makes it really annoying to set breakpoints on patched_LdrLoadDll.
2017-05-18 16:05:32 -04:00
Mike Hommey 0400284f88 Bug 1365194 - Make `extern "C"` part of MOZ_MEMORY_API and MOZ_JEMALLOC_API. r=njn
This avoids many additions of `extern "C"` in C++ code and will avoid
having to do the same to mozjemalloc once built as C++.

--HG--
extra : rebase_source : af55696262f40a9dd16a19c29edcb9bb307d4957
2017-05-16 18:46:02 +09:00
Carsten "Tomcat" Book 9c3f61e278 Backed out changeset b56224bf370d (bug 1365194) 2017-05-17 11:43:26 +02:00
Mike Hommey 2bd75405bc Bug 1365194 - Make `extern "C"` part of MOZ_MEMORY_API and MOZ_JEMALLOC_API. r=njn
This avoids many additions of `extern "C"` in C++ code and will avoid
having to do the same to mozjemalloc once built as C++.

--HG--
extra : rebase_source : af55696262f40a9dd16a19c29edcb9bb307d4957
2017-05-16 18:46:02 +09:00
Mike Hommey 1a9d4c6f33 Bug 1363992 - Remove support for system jemalloc. r=njn
--HG--
extra : rebase_source : 9141402b6f9e84c67afc14303633d328eb5b652c
2017-05-11 13:03:20 +09:00
Makoto Kato 529993e5f8 Bug 1360429 - Part 2. Detect __ARM_NEON macro for aarch64. r=glandium
aarch64's gcc and arm's gcc with -mfpu=neon defines __ARM_NEON for NEON, so we should detect it to support NEON code.

MozReview-Commit-ID: LRMTQLctuLV

--HG--
extra : rebase_source : 9e09eb9b67824c81dc45198acd6582584a5e1652
2017-04-28 13:27:10 +09:00
Julian Seward 83969e88eb Bug 1361258 - Add a jemalloc_thread_local_arena API with a binding for rust. r=glandium
The intent of the API is to allow threads to opt-in to use a separate
mozjemalloc arena.

This indroduces a dummy shell with no actual implementation.
2017-05-12 18:08:08 +09:00
Aaron Klotz 831876bb4f Bug 1363844: Add CHILD_PROCESSES_ONLY flag to Windows DLL blocklist; r=dmajor
MozReview-Commit-ID: f9ej2Hp0DF
2017-05-11 15:50:10 -06:00
Franziskus Kiefer 9fda03a207 Bug 1359333 - detect aes-ni support, r=froydnj
MozReview-Commit-ID: 4cCVIntG9bD

--HG--
extra : rebase_source : 4e6d7450fa06417c3ab29e6c104f433e43c72df6
2017-03-31 18:59:56 +02:00
Sebastian Hengst 283a55550c Backed out changeset bd40f51b033f (bug 1362814) 2017-05-08 00:03:12 +02:00
Ehsan Akhgari 6ef7e1f3ef Bug 1362814 - Part 1: Add a Gecko Profiler label to patched_LdrLoadDll(); r=mstange
This allows us to easily identify the name of the DLL being loaded
in a profile.
2017-05-07 17:17:36 -04:00
Sebastian Hengst 39e3f84759 Backed out changeset 1fec6894255e (bug 1362814) for breaking Windows builds. r=backout 2017-05-07 17:41:38 +02:00
Ehsan Akhgari 5939be3efc Bug 1362814 - Add a Gecko Profiler label to patched_LdrLoadDll(); r=mstange
This allows us to easily identify the name of the DLL being loaded
in a profile.
2017-05-07 11:03:51 -04:00
Marco Castelluccio 295cdafff7 Bug 1233556 - Block injection of nahimicmsiosd.dll, as it can cause crashes. r=bsmedberg
--HG--
extra : rebase_source : 8adb22c6ddc15e1f2a45b8e470774ef91efee753
2017-05-04 11:15:26 +02:00
David Major eeaa91fc5c Bug 1359507: Replace the stack walk workaround lock with an atomic counter of suppressions. r=mstange,froydnj
This fixes a deadlock by removing one of the two sides of a mutual-wait.
2017-05-03 12:10:48 -04:00
philipp f939196196 Bug 1333486 - Add idmcchandler5.dll/idmcchandler5_64.dll to the blocklist. r=marco 2017-04-28 08:44:00 -04:00
Matt Howell bf294679d0 Bug 1356637 - Blocklist a Nahimic DLL which is causing app update problems. r=bsmedberg
MozReview-Commit-ID: D9iEcuTMNRx

--HG--
extra : rebase_source : 9eb1fafa297b6cc4e1fff20344fcb1c3c1092e3d
2017-04-21 08:40:13 -07:00
David Major 3b7255411e Bug 1354611: Acquire the stack walk lock in Win64's LdrLoadDll. r=aklotz
This will prevent the profiler from suspending a target thread while that thread holds the RtlLookupFunctionEntry lock, which the profiler itself also wants to use.
2017-04-20 15:09:11 -04:00
Mike Hommey 33a7e408ce Bug 1357323 - Remove the gonk code that was referenced by the build system. r=gps
--HG--
extra : rebase_source : 1d30ebcbdbcf596c944e1eec981f85db341485e5
2017-04-18 17:46:39 +09:00
Mike Hommey 34e619d1c1 Bug 1357323 - Remove support for gonk in the build system. r=gps
Everything depending on the widget being gonk can go away, as well as
everything depending on MOZ_AUDIO_CHANNEL_MANAGER, which was only
defined on gonk builds under b2g/ (which goes away in bug 1357326).

--HG--
extra : rebase_source : 9f0aeeb7eea8417fa4e06d662d566d67ecaf2a24
2017-04-18 16:56:09 +09:00
Phil Ringnalda 607ccd57d2 Backed out changeset a50a4f9e972b (bug 1322554) for near-permaorange in Win8 debug updater xpcshell tests 2017-04-06 21:00:26 -07:00
Carl Corcoran 08fc406af4 Bug 1322554: Interpose kernel32!BaseThreadInitThunk to add verification of thread start addresses; r=dmajor
MozReview-Commit-ID: CvqZ3gXJyvo
2017-03-29 17:07:37 +02:00
philipp 18cfe68b0f Bug 1333486 - Blocklist Internet Download Manager .dll crashing on Firefox 53+. r=bsmedberg
--HG--
extra : rebase_source : 74dab10773221de563e6d8ae87b22014e747ba09
2017-03-30 12:21:00 -04:00
Sebastian Hengst f7bdfd47a4 Backed out changeset 23de710cae6f (bug 1322554) for breaking at least Windows 8 x64 builds (likely all Windows builds). r=backout on a CLOSED TREE 2017-03-30 18:47:15 +02:00
Carl Corcoran d2c868be48 Bug 1322554: Interpose kernel32!BaseThreadInitThunk to add verification of thread start addresses; r=dmajor
MozReview-Commit-ID: I1P2I2um76i

--HG--
extra : rebase_source : 338201fd00986c228f4dd21a4f56fd500fa80984
2017-03-29 17:07:37 +02:00
Tom Ritter 57460e3e5e Bug 1344921 relocate initialization (and declaration) of variable to not allow a jump to bypass it r=froydnj
MozReview-Commit-ID: LouiRkuCAqb

--HG--
extra : rebase_source : 4a0006743e894d151c3f67439c57818a460d942c
2017-03-23 14:56:54 -05:00
Jim Mathies 3eba9a35c8 Bug 1339908 - Blocklist goobzo associated dlls. r=bsmedberg
MozReview-Commit-ID: GFfdAGL1LeG

--HG--
extra : rebase_source : 380f5482ab9c485688b452fede292ed72cfb8d79
2017-03-28 09:02:04 -05:00
Wes Kocher 6d2e245da8 Backed out changeset 5bbf6972b904 (bug 1235982) for landing prematurely a=backout
MozReview-Commit-ID: Fy7NwUoMipw
2017-03-15 14:00:47 -07:00
Tom Ritter db3ff2c559 Bug 1235982 Add CFG to firefox.exe and mozglue, and a mochitest to ensure a crash r=glandium,mconley
MozReview-Commit-ID: 1XnHH3NeGnJ

--HG--
extra : rebase_source : 3bbf02779cb4ee0a04dcea851fe81a96faec2494
2017-03-15 11:14:22 -05:00
Marco Castelluccio 170093d6d9 Bug 1339083 - Blocklist old K7TotalSecurity versions. r=aklotz
--HG--
extra : rebase_source : bba08ee37b47bd8893732e8617bfde77d9d40753
2017-02-14 08:01:00 -05:00
Christian Holler 9a15050921 Bug 1335446 - Add allocator_may_return_null=1 to default ASan options. r=glandium
MozReview-Commit-ID: AM9EdKngmMB

--HG--
extra : rebase_source : b3430bf8f8e7495ca5d6955d97922fe5f383d4ad
2017-02-06 14:23:55 +01:00
Jan Beich 9358862c72 Bug 1334777 - Hide unused has_avx() if CXXFLAGS have -mavx. r=glandium
MozReview-Commit-ID: 1IWEU8HrmtW

--HG--
extra : rebase_source : b7f6e088a0b500ee77dd344a16aacc3f0dcaac29
2017-01-28 10:51:06 +00:00
David Major 850b25389e Bug 1335163 - Remove the now-unused XPCOM ASLR checks in the DLL blocklist. r=bsmedberg
MozReview-Commit-ID: 2iY5g72d4xg

--HG--
extra : rebase_source : 309eb59fe0a98f0a4dfd384b3028a0ec107220c5
2017-02-01 10:52:13 +13:00
Benjamin Smedberg ca77995f5d Bug 1333826 - Remove SDK_FILES, SDK_LIBRARY, and related is_sdk support in the build goop, r=mshal
MozReview-Commit-ID: 52vPyDXdFte

--HG--
extra : rebase_source : c3217730bb70eb7319152dd07536b12f49d6a597
2017-01-30 11:24:10 -05:00
Mike Hommey 9d2b3754b7 Bug 1332523 - Move message indicating when the blocklist is initialized after user32.dll was loaded to the blocklist itself. r=dmajor
--HG--
extra : rebase_source : 4aea579104d2bad56a91f67e66d0af8c4ada9c3d
2017-01-12 11:13:40 +09:00
Chris Peterson ae18f9a8b4 Bug 1329563 - Remove DLL blocklist checks for Windows XP. r=aklotz
MozReview-Commit-ID: 3zZDsjQii3o

--HG--
extra : rebase_source : 8880c393ee1a205c6221deeee416429a5272b48c
2017-01-08 20:55:05 -08:00
Ehsan Akhgari 1c687043f1 Bug 1251936 - Mark AutoSetXPCOMLoadOnMainThread's constructor as explicit 2016-12-23 21:03:21 -05:00
Ting-Yu Chou 19a9104684 Bug 1322463 - Replace snprintf/vsnprintf by SprintfLiteral/VsprintfLiteral for what clang plugin reports on Windows. r=Ehsan
MozReview-Commit-ID: 2bFcM53uEPb

--HG--
extra : rebase_source : 4e69d3f3f95c18bcbf731a17cb98fa456ddaa118
2016-12-09 09:47:19 +08:00
Emanuel Hoogeveen e0a81d7503 Bug 1309573 - Part 2: Define MOZ_HAS_MOZGLUE in various places so that the crash reason gets used. r=glandium
--HG--
extra : rebase_source : d55e8dd75469759f333366bdf9662178ff0a2474
2016-11-08 03:53:00 -05:00
Aaron Klotz 4e2ad82fdd Bug 1311969: Add nzbrcom.dll to blocklist; r=bsmedberg
MozReview-Commit-ID: BFVajNJNUdw

--HG--
extra : rebase_source : c5edc09b343b03bf722acd75995ce86388170071
2016-11-03 14:22:20 -06:00
Nathan Froyd 014c62a607 Bug 1314762 - move #includes of system-y headers out of anonymous namespace in SSE.cpp; r=erahm
#include'ing system headers inside anonymous namespaces seems to work
OK with GCC and MSVC, but it does not work well with clang-cl in some
compilation modes.  Moving them out of the anonymous namespace makes
everybody happy.

MozReview-Commit-ID: K8AkYZEznzm

--HG--
extra : rebase_source : fe0dc2498253dab96c0f1b03a051d7e347fb13af
2016-11-02 16:19:35 -04:00
Chris Pearce f5797cb124 Bug 1239690 - Add vorbis.acm version 0.0.3.6 to the DLL blocklist. r=aklotz
Vorbis.acm seems to be somehow injecting itself into our process, and also the
Flash process, and intercepting the system audio APIs. Version 0.0.3.6 seems to
be crashing, and it's an obsolete version, so we should block it to stop it
crashing us.


MozReview-Commit-ID: Hk93kG0Ly4Q

--HG--
extra : rebase_source : b16dd8decdc8a767bd84f28a009667b4d79677d8
2016-09-23 14:18:04 +12:00
Jim Mathies 954d619dbb Bug 1286306 - Remove temporary assertion now that we have a test. r=aklotz
MozReview-Commit-ID: Cg2MjRGIjCO
2016-08-11 09:11:16 -05:00
Emanuel Hoogeveen 8210833803 Bug 1294732 - Back out all of bug 1271165 as it has served its purpose. r=glandium 2016-08-23 08:45:00 -04:00
Sylvestre Ledru 51b6dcc500 Bug 1297534 - Revert the blocklist introduced to fix the startup crash in nsPrefBranch::GetIntPref (Websense Endpoint) r=aklotz
MozReview-Commit-ID: EMkHwgvwLyt

--HG--
extra : rebase_source : 381ee90bc8be7f9db6166b8434fdc740110dded5
2016-08-24 00:03:00 +02:00
Wes Kocher 48b8d407c8 Merge inbound to central, a=merge
a=release to get around the webidl hook for a comment-only change

--HG--
extra : amend_source : f7e57101e1a25d3cf3536a256898ec2a21c54b38
2016-08-16 17:05:30 -07:00
Sylvestre Ledru 4d1e5235dd Bug 1294650 - Block the version of websense crashing 48 & 49. Followup, we already had this dll r=aklotz
MozReview-Commit-ID: re4nqi94vk

--HG--
extra : rebase_source : b7df4f51335da611b29c0bf94801e748d0b38ecb
2016-08-12 10:45:37 +02:00
Emanuel Hoogeveen 57b1d1e8f2 Bug 1271165 - Part 2: Hook the new functions up and provide dummy implementations where needed. r=ehoogeveen 2016-08-12 07:37:00 -04:00
Jim Mathies 118ac04293 Bug 1286306 - Add an app info property exposing the state of the Windows dll blocklist, and test the value during browser test runs. r=bsmedberg
MozReview-Commit-ID: H7206wTh8YM
2016-07-27 15:20:58 -05:00
Sylvestre Ledru f3c3f575ef Bug 1291738 - Block the version of websense crashing 48 & 49 r=bsmedberg
MozReview-Commit-ID: F1cbCFYYVcU

--HG--
extra : rebase_source : 8b7cdf19fd938f24968c34e6b3b25a99f881f576
2016-08-05 18:19:44 +02:00
Alexandre Lissy 0af5b943b6 Bug 1284674 - Remove NUWA r=cyu
MozReview-Commit-ID: GyMRNzOBKw6

--HG--
extra : rebase_source : 293af1cd55f2035ce6a99f4ebf144059c32a2b8f
2016-08-02 14:54:00 +02:00
Tom Tromey 5538d692d3 Bug 1286877 - do not set c-basic-offset for python-mode; r=gps
This removes the unnecessary setting of c-basic-offset from all
python-mode files.

This was automatically generated using

    perl -pi -e 's/; *c-basic-offset: *[0-9]+//'

... on the affected files.

The bulk of these files are moz.build files but there a few others as
well.

MozReview-Commit-ID: 2pPf3DEiZqx

--HG--
extra : rebase_source : 0a7dcac80b924174a2c429b093791148ea6ac204
2016-07-14 10:16:42 -06:00
Aaron Klotz cca20d7ddd Bug 1285356: Fix blocklist initialization regressions; r=bsmedberg
MozReview-Commit-ID: AlWyzVhtPLL

--HG--
extra : rebase_source : 865aff712f83a567c16b81f4512e072a04f7c6df
2016-07-07 17:00:23 -06:00
Chris Peterson c434bad38c Bug 1279769 - Remove VS2013 workaround for crash on non-AVX2 processors. r=froydnj 2016-06-26 16:07:44 -07:00
Gregory Szorc 5030a743a1 Bug 1186064 - Require Visual Studio 2015 Update 2; r=glandium
Per froydnj in bug 1186064 comment #23, "it makes sense to proceed with removing
MSVC 2013 support." This commit does that.

We also go a step further and require VS2015 Update 2 instead of just
update 1. This temporarily brings us down to just 1 officially supported
Visual Studio version. However, VS2015u3 was just released and is
unofficially supported.

Since MOZ_CRT is no longer set, references to it have been removed.

MozReview-Commit-ID: 8MUR6qLzQA5

--HG--
extra : rebase_source : 8f5061080a3d56dd484f9be03649fb65f0145f67
2016-07-06 09:01:38 -07:00
Wes Kocher a425a052c1 Backed out changeset d7f98208809f (bug 1186064) for breaking SM(pkg) jobs a=backout 2016-07-06 10:11:04 -07:00
Gregory Szorc 6e4d0edfbc Bug 1186064 - Require Visual Studio 2015 Update 2; r=glandium
Per froydnj in bug 1186064 comment #23, "it makes sense to proceed with removing
MSVC 2013 support." This commit does that.

We also go a step further and require VS2015 Update 2 instead of just
update 1. This temporarily brings us down to just 1 officially supported
Visual Studio version. However, VS2015u3 was just released and is
unofficially supported.

Since MOZ_CRT is no longer set, references to it have been removed.

MozReview-Commit-ID: 8MUR6qLzQA5

--HG--
extra : rebase_source : 22ab4f47661ead4995d0c5261104abfb02b82aa2
2016-07-06 09:01:38 -07:00
Carsten "Tomcat" Book 169daf64c7 Backed out changeset 96b590321c21 (bug 1186064) for bustage 2016-07-01 08:41:24 +02:00
Gregory Szorc ecce5714c1 Bug 1186064 - Require Visual Studio 2015 Update 2; r=glandium
Per froydnj in bug 1186064 comment #23, "it makes sense to proceed with removing
MSVC 2013 support." This commit does that.

We also go a step further and require VS2015 Update 2 instead of just
update 1. This temporarily brings us down to just 1 officially supported
Visual Studio version. However, VS2015u3 was just released and is
unofficially supported.

Since MOZ_CRT is no longer set, references to it have been removed.

MozReview-Commit-ID: 8MUR6qLzQA5

--HG--
extra : rebase_source : 94527a0be3f107991998185903f1c6cf6e190f9f
2016-05-31 09:19:00 -07:00
philipp 1b662a50f7 Bug 1277846 - Add various .dlls related to PremierOpinion/RelevantKnowledge to the Windows blocklist. r=aklotz
--HG--
extra : rebase_source : 316c0681562a0c41b00cffccd2e3e8cc1923bd88
2016-06-03 08:14:00 +02:00
Jeff Muizelaar f2757bc5b8 Bug 1275283. Use MFBT_API for importing/exporting in DLL blocklist. r=glandium 2016-05-24 17:57:57 -04:00
Jeff Muizelaar 1c19302c86 Bug 1274253. Properly test the cpuid bits.
I fixed the other platforms to do this but failed to do so
on GCC/clang
2016-05-19 15:01:45 -04:00
Jeff Muizelaar b14d764565 Bug 1270591. Add support for checking for AVX & AVX2. r=glandium
Detecting AVX2 requires the use of a sub-leaf.

To make things easier we remove our use of the cpuid.h
implementation on GCC and just use our existing inline asm
implementation.
2016-05-16 13:28:08 -04:00
Chris Peterson 8a9e2d2bd4 Bug 1272513 - Part 2: Remove redundant -Wshadow CXXFLAGS from moz.build files. r=glandium 2016-05-14 00:54:55 -07:00
Makoto Kato 5d418de2b6 Bug 1257441 - Remove arm detection for WinCE using MSVS. r=glandium
arm.h still have CPU feature detection for Microsoft Compiler that is used by WinCE.   Since we don't have the target for WinCE, we should remove it.

Also, even if you need it for Win32/arm that is Windows Mobile and Windows IOT in feature, this is unnecessary.  Win32/arm ABI requires thumb2+NEON at least.


MozReview-Commit-ID: 6dYjIRY0Suo

--HG--
extra : rebase_source : 34db8ed7d3d60bafdfc735b036e891554a0e56c5
2016-05-09 10:40:06 +09:00
Milan Sreckovic b2c801fe1b Bug 1269244 - Block nhasusstrixosd.dll and nhasusstrixdevprops.dll. r=jrmuizel
--HG--
extra : rebase_source : c3a9e9f7732ac0dd733ce292c37b4de173231613
2016-05-02 09:36:00 -04:00
Jeff Muizelaar 0905089f9b Bug 1262348. Block ss2osd.dll r=bsmedberg
ss2osd.dll is causing crashes during D3D11 initialization.
2016-04-13 10:08:40 -04:00
Heiher 110e0801b8 Bug 1260351 - MozGlue: Build: Add mips support. r=glandium
---
 mozglue/build/mips.cpp  | 47 +++++++++++++++++++++++++++++++++++++++++++++++
 mozglue/build/mips.h    | 29 +++++++++++++++++++++++++++++
 mozglue/build/moz.build |  6 ++++++
 3 files changed, 82 insertions(+)
 create mode 100644 mozglue/build/mips.cpp
 create mode 100644 mozglue/build/mips.h
2016-04-13 21:40:28 +08:00
Jacek Caban 2902ab6ff3 Bug 1263657 - Fixed WindowsDllBlocklist.cpp if MOZ_MEMORY is not defined. r=glandium 2016-04-12 12:37:37 +02:00
Benjamin Smedberg e575b4b8f0 Bug 1229252 followup - normalize to lowercase, r=aklotz
MozReview-Commit-ID: 90Sz1b8V6L6

--HG--
extra : rebase_source : 9da0e042b15767c62ad2acd388e168b3cdf18401
2016-04-01 10:42:50 -04:00
Aaron Klotz ad7ac0ae21 Bug 1249849: Ensure that we can always reach malloc_decl.h even when MOZ_REPLACE_ALLOC is not defined; r=glandium
MozReview-Commit-ID: 5ok6K0cLJrt
2016-03-29 13:59:14 -06:00
Aaron Klotz e02ec1d888 Bug 1229252: Add eOppMonitor.dll (all versions) to the dll blocklist; r=bsmedberg
MozReview-Commit-ID: 4bengYjxepN

--HG--
extra : rebase_source : bca9462005b72f8e8fc1891ff5ef23d0fa82fc2f
2016-03-22 14:08:33 -06:00
Aaron Klotz 2dda5ebe20 Bug 1249849: Make sure the correct implementations of malloc and free are used in DLL blocklist; r=glandium
MozReview-Commit-ID: 7piMI6MwOZh

--HG--
extra : rebase_source : 35318273fc00d8aa539133823c276ff7bef42172
2016-03-07 14:12:31 -08:00
Ted Mielczarek 68bd5e8c4d bug 1244743 - Replace MOZ_NATIVE_X with MOZ_SYSTEM_X. r=gps
MozReview-Commit-ID: 9ip3qeAXFEe

--HG--
extra : commitid : H6aEkHprVyX
extra : rebase_source : e20d5f4b297caf66711c72cd55dd76f7f9ef9d9c
extra : histedit_source : 47545e0ea61eb66f16545f70e6d3792a389bedb1
2016-02-01 10:49:34 -05:00
Gian-Carlo Pascutto 6f34c40f5c Bug 1247741 - Additional checks for pointer validity in LdrLoadDLL detour. r=aklotz 2016-02-18 00:56:00 +01:00
Cervantes Yu 27e4eadbce Bug 1248896 - don't conditional compile on config ENABLE_TESTS in Nuwa. r=khuey 2016-02-18 15:33:59 +08:00
Jed Davis f45414c2f0 Bug 1133073 - Use PR_DuplicateEnvironment to avoid post-fork malloc on all Linux platforms. r=dhylands 2016-01-11 14:17:01 -08:00
Jed Davis 64f3bc56b6 Back out 7f6bb9f7e60d (bug 1133073) for bustage. Sorry about that. 2016-01-11 13:29:53 -08:00
Jed Davis a73c98c3e5 Bug 1133073 - Use PR_DuplicateEnvironment to avoid post-fork malloc on all Linux platforms. r=dhylands 2016-01-11 12:46:50 -08:00
Nathan Froyd ab5d9124c6 Bug 1232458 - use UniquePtr<T[]> instead of nsAutoArrayPtr<T> in WindowsDllBlocklist.cpp; r=aklotz 2015-12-24 21:38:44 -05:00
Nathan Froyd cdf653febd Backout 6a9d0f869621 (bug 1232458) for adding inappropriate colors to our CLOSED TREE 2015-12-24 21:45:30 -05:00
Nathan Froyd 2fa2ef800d Bug 1232458 - use UniquePtr<T[]> instead of nsAutoArrayPtr<T> in WindowsDllBlocklist.cpp; r=aklotz 2015-12-06 07:54:29 -05:00
Aaron Klotz f3dd15b3d3 Bug 1233237: Backout a882a8c92a28 for causing winsock connectivity problems; r=backout 2015-12-23 14:35:42 -07:00
philipp f796c430ab Bug 1233237 - Add Nvidia Network Access Manager .dlls to Windows blocklist. r=aklotz
--HG--
extra : rebase_source : 9c6fdc666ce1d02cb21b7b2352586524947dd5d5
2015-12-19 09:10:00 +01:00
Carsten "Tomcat" Book 6e77ecb62f Backed out changeset 8b4bffb2ce7c (bug 1133073) for bustage on Android 2015-12-21 11:07:48 +01:00
Jed Davis d93d9fdb20 Bug 1133073 - Use PR_DuplicateEnvironment to avoid post-fork malloc on all Linux platforms. r=dhylands
This removes the Android-only in-Gecko version of PR_DuplicateEnvironment from bug 773414.
2015-12-17 10:10:00 +01:00
Nathan Froyd 92878f1e77 Backout 62dab36901e2 and 9b4445c0f202 (bug 1232458) for Windows bustage; r=me 2015-12-18 11:15:10 -05:00
Nathan Froyd 08a3c62a6f Bug 1232458 - fix Windows build bustage on a CLOSED TREE; r=me 2015-12-18 10:57:17 -05:00
Nathan Froyd 591c11db90 Bug 1232458 - use UniquePtr<T[]> instead of nsAutoArrayPtr<T> in WindowsDllBlocklist.cpp; r=aklotz 2015-12-06 07:54:29 -05:00
philipp cb0bc43305 Bug 1222819 - Add Orbit Downloader .dlls to Windows blocklist. r=aklotz
--HG--
extra : rebase_source : af54cd732bc19f4b5b2a4a0a7b9fb05c9984c584
2015-12-01 12:40:25 -07:00
Aaron Klotz 13179602dc Bug 1222933: Backout previous DLL blocklist change as it had no effect on crash; r=backout 2015-12-01 11:53:14 -07:00
Aaron Klotz 6c9c36485e Bug 1222933 - Add am32-34121.dll to blocklist; r=bsmedberg 2015-11-10 15:25:06 -07:00
Andrew McCreight 41ea309bd5 Bug 1216354 - Disable LSan leak checking by default in mozglue. r=glandium 2015-10-22 09:33:43 -07:00
Wes Kocher f5286df813 Backed out changeset a67ea3f24678 (bug 1205987) for not working as well as originally thought
CLOSED TREE
2015-10-14 09:51:35 -07:00
philipp 4ea84cc590 Bug 1205987 - Add freecorder dll to Windows blocklist. r=dmajor
CLOSED TREE
2015-10-13 13:03:12 -07:00
Chris Peterson 71920a9550 Bug 1207030 - Enable -Wshadow flag in more directories that have no -Wshadow warnings. r=glandium 2015-09-22 21:39:03 -07:00
Michael Layzell 0097c41e01 Bug 1201190 - Part 3: Mark every consumer of GUARD_OBJECT as MOZ_RAII, r=ehsan 2015-09-12 16:53:33 -04:00
Nicholas Nethercote c2f5ed5ccd Bug 1203553 - Fix an MSVC warning in mozglue. r=glandium.
This lets us remove the ALLOW_COMPILER_WARNINGS=True flag.
2015-09-10 16:52:30 -07:00
Aaron Klotz bb8087dd4c Bug 1194890 - Ensure that any user32 imports to mozglue are delay loaded; r=glandium
--HG--
extra : rebase_source : d7ca03797406cf836c7eee59328e21847d3d927b
2015-08-14 16:27:03 -06:00
Nicholas Nethercote f44287005f Bug 1198334 (part 1) - Replace the opt-in FAIL_ON_WARNINGS with the opt-out ALLOW_COMPILER_WARNINGS. r=glandium.
The patch removes 455 occurrences of FAIL_ON_WARNINGS from moz.build files, and
adds 78 instances of ALLOW_COMPILER_WARNINGS. About half of those 78 are in
code we control and which should be removable with a little effort.

--HG--
extra : rebase_source : 82e3387abfbd5f1471e953961d301d3d97ed2973
2015-08-27 20:44:53 -07:00
Cervantes Yu 3c09a9761d Bug 1166207 - Load preload.js in the Nuwa process. r=khuey
--HG--
extra : rebase_source : 292c5e5dbee5fa49a78fd1997d97094ef2190143
2015-08-28 17:57:44 +08:00
Ryan VanderMeulen 3e3e1cbd1d Merge m-c to fx-team. a=merge 2015-08-26 14:34:15 -04:00
Gijs Kruitbosch e9327aa06b Bug 1198186 - increase limit used to detect int values passed as first argument to LdrLoadDll, r=dmajor
--HG--
extra : commitid : IzZuAsCM2Ig
extra : rebase_source : 97d9b32401035eee618a6c3e06a8890b6b96860f
extra : amend_source : 1fb3e721469dc68e287fd5e1c8a74c7b3f184a78
2015-08-25 12:07:39 +01:00
Mike Hommey 08629a86a5 Bug 1168291 - Install mozcrt.lib instead of mozglue.lib in the SDK. r=mshal
When building with MOZ_CRT (which is more or less the default when
building on Windows with MSVC2013), building e.g. XPCOM components
requires linking against mozcrt.lib, so it needs to be shipped in
the SDK. On the other hand, mozglue.lib, which is currently shipped,
is not useful because it lacks the necessary hacks from mozcrt.lib
avoiding crashes for memory allocator mismatch.
2015-08-11 07:20:20 +09:00
David Major 464e664e73 Bug 1196859 - Block Roboform binaries written against old SDK. r=bsmedberg 2015-08-20 12:27:00 -04:00
David Major 94b062677a Bug 1170141 - Block RealNetworks Browser Record Plugin due to startup crashes. r=ehan 2015-07-22 13:27:00 +02:00
Birunthan Mohanathas a8939590de Bug 1182996 - Fix and add missing namespace comments. rs=ehsan
The bulk of this commit was generated by running:

  run-clang-tidy.py \
    -checks='-*,llvm-namespace-comment' \
    -header-filter=^/.../mozilla-central/.* \
    -fix
2015-07-13 08:25:42 -07:00
Mike Hommey 68221d7d35 Bug 1172668 - Unbreak DMD on OS X after bug 1168719. r=gps
Bug 1168719 added a generic replace malloc library which name happened to be
the same as the existing dummy library used to link replace malloc on OSX.
Change the name of that dummy library.
2015-06-10 10:49:22 +09:00
David Major 34c895a6c7 Bug 763395 - Add nlsp.dll to blocklist. r=bsmedberg 2015-06-05 11:49:00 -04:00
Julian Seward f9dcb50ea7 Bug 1125091 - Make Nuwa be Valgrind-friendly. r=njn. 2015-06-01 12:18:00 +02:00
Mike Hommey c917606f95 Bug 1043692 - Move DIST_INSTALL to moz.build. r=gps 2015-05-12 07:55:22 +09:00
David Major feedc37548 Bug 1160148: Also block AVX2 in Win7RTM, and move the code to mozglue. r=froydnj
--HG--
extra : rebase_source : b956777750a2fea7dc6f436e8540bec782ce4d2a
2015-05-11 16:12:45 -04:00
David Major 461f7a8a01 Bug 1130061: Block version 1.5 of vwcsource.ax. r=bsmedberg 2015-04-24 11:29:40 -04:00
David Major e3f316eace Bug 1151506: Block long hex name DLLs due to startup crashes. r=bsmedberg
--HG--
extra : rebase_source : 7ac74ce636289ea855b1f6cd420859587bcace38
2015-04-10 15:23:32 -04:00
Mike Hommey 49e6069fdf Bug 1138824 - Remove NO_INSTALL_IMPORT_LIBRARY. r=gps
NO_INSTALL_IMPORT_LIBRARY is only used in one place, and since we don't even
use $(DIST)/lib for gecko, it actually doesn't make a difference presently.
2015-03-27 09:42:00 +09:00
Cervantes Yu a4fc08450a Bug 1144535: Respect caller-specifed thread attributes in creating threads in the Nuwa process. r=asuth 2015-03-20 18:55:11 +08:00
Jim Blandy 664a32d9e7 Bug 1134039: Make SpiderMonkey standalone (JS_STANDALONE) builds use jemalloc and mozglue by default. r=glandium
JS_STANDALONE builds don't need everything in mozglue; have mozglue omit the
unneeded code for such builds.

Since the SpiderMonkey binaries are now more like the other Gecko binaries, we
can remove some special cases for JS_STANDALONE in GeckoSharedLibrary,
GeckoProgram, etc. All Gecko binaries now use mozglue, which contains mfbt, so
we no longer need mention mfbt explicitly.

Add a property to the getBuildConfiguration testing function's result that
indicates whether we're using jemalloc or not.

Include the newly necessary source directories in the SpiderMonkey source
package.
2015-03-19 02:12:53 -07:00
David Major 27667adc9f Bug 1136968 - Add YCWebCameraSource.ax to DLL blocklist. r=benjamin 2015-03-17 18:32:00 +01:00
Cervantes Yu f6a1d53736 Bug 1119157: Fix false over-recursion in web worker threads by cleaning up thread info in the processes forked from Nuwa. a=asuth
--HG--
extra : rebase_source : b207e5374f3c80cf78f89aaf33fd26c577a163b0
2015-02-17 16:25:24 +08:00
Mike Hommey 59c586c336 Bug 1139036 - Bind all symbols from libmozglue.dylib when it is loaded. r=ted 2015-03-04 21:15:08 +09:00
David Major a3c2dc90a9 Bug 1132663 - Part 2: Block rndlnpshimswf.dll and rndlmainbrowserrecordplugin.dll. r=bsmedberg 2015-02-18 14:12:41 +13:00
Mike Hommey 15332868d1 Fixup bug 1121269 for b2g bustage on a CLOSED TREE. r=me 2015-02-11 11:30:58 +09:00
Mike Hommey dcd952059c Bug 1129244 - [Nuwa] wrap pthread_mutex_trylock. r=thinker 2015-02-11 10:21:04 +09:00
Mike Hommey 2790dec186 Bug 1121269 - Remove TLS keys from bookkeeping in non-Nuwa processes too. r=thinker 2015-02-11 10:21:04 +09:00
Mike Hommey 49deb404a9 Bug 1121269 - Use a LinkedList to store TLS keys for Nuwa, and allocate the first element in a static buffer. r=thinker 2015-02-11 10:21:03 +09:00
David Major 4283c03b52 Bug 1123778 - Block Lenovo Onekey Theater DLLs. r=bsmedberg 2015-01-21 18:52:00 -05:00
Mike Hommey 03b3291d3f Bug 1120272 - Expose _aligned_alloc and _aligned_free from mozglue. r=njn 2015-01-20 13:10:00 +09:00
Masatoshi Kimura bf312ad056 Bug 1120062 - Part 1: Remove most Nullptr.h includes. r=waldo 2015-01-11 11:34:52 +09:00
James Willcox 352dabf6d6 bug 1118552 - fix gcc4.9 warnings on Android r=glandium 2015-01-06 22:20:46 -05:00
Botond Ballo fda172c7fb Bug 1073003 - Remove an unused function in Nuwa.cpp. r=glandium
--HG--
extra : rebase_source : 96fa8ccbeab6c2046c9ca522307a82fe93b04327
2014-12-23 03:21:39 -05:00
Botond Ballo 7a5b4ebc78 Bug 1073003 - Fix -Wunused-variable in Nuwa.cpp. r=glandium
--HG--
extra : rebase_source : 6d902895f5e2d08be939213c414e763968d64547
2014-12-23 03:21:24 -05:00
Chris Peterson c6bc5e0ec5 Bug 1110031 - Part 2: Mark some directories as FAIL_ON_WARNINGS for some compilers. r=gps 2014-12-10 22:46:01 -08:00
Kai-Zhen Li 79d41284ef Bug 1103827 - Remove __pthread_cond_timedwait. r=cyu 2014-12-12 16:12:21 +08:00
Kai-Zhen Li 9401481dd6 Bug 1104649 - Always cast the string for putenv. r=glandium 2014-11-26 20:26:56 +08:00
Mike Hommey d286e091a0 Bug 1101070 - Add missing OSX build flag for the new replace-malloc symbol. r=njn,r=khuey
Bug 818922 added a new replace-malloc symbol that the OSX linker tricks need
to know about.
2014-11-19 09:46:47 +09:00
Cervantes Yu 86d8d5884b Bug 1091533, Part 2: Implement NuwaAddThreadConstructor() to allow a thread to perform a custom action after being recreated in the content process. r=khuey,tlee 2014-11-06 19:34:03 +08:00
Cervantes Yu 160428a1e3 Bug 1091533, Part 1: Don't wrap tgkill() on the Nuwa process. r=BenWa 2014-11-06 19:10:52 +08:00
Mike Hommey 47c853314f Bug 1077148 part 4 - Add and use new moz.build templates for Gecko programs and libraries. r=gps
There are, sadly, many combinations of linkage in use throughout the tree.
The main differentiator, though, is between program/libraries related to
Gecko or not. Kind of. Some need mozglue, some don't. Some need dependent
linkage, some standalone.

Anyways, these new templates remove the need to manually define the
right dependencies against xpcomglue, nspr, mozalloc and mozglue
in most cases.

Places that build programs and were resetting MOZ_GLUE_PROGRAM_LDFLAGS
or that build libraries and were resetting MOZ_GLUE_LDFLAGS can now
just not use those Gecko-specific templates.
2014-10-30 13:06:12 +09:00
Mike Hommey 44b304224a Bug 1077148 part 1 - Define mozcrt in moz.build. r=gps
--HG--
rename : mozglue/build/Makefile.in => mozglue/crt/Makefile.in
rename : mozglue/build/fixcrt.py => mozglue/crt/fixcrt.py
2014-10-30 13:05:50 +09:00
Mike Hommey e25908f6c5 Bug 1083686 - Tool to capture and reproduce Firefox's memory allocations. r=njn,r=mshal
--HG--
rename : mozglue/build/Makefile.in => mozglue/build/replace_malloc.mk
2014-10-24 13:08:01 +09:00
Mike Hommey b79a0595df bug 1081034 part 4 - Remove wrapping for weak libc symbols. r=nfroyd
This effectively backs out bug 791419, a part of bug 850332, and bug 1001703.
2014-10-16 09:20:16 +09:00
Mike Hommey 35f933f139 Bug 1080342 - Change how the symbols the flash plugin uses are hooked on Android. r=snorp
With bug 1077366, the linker makes the library containing it a fake
LD_PRELOAD. As a consequence, instead of, in the linker itself,
explicitely special-casing the symbols that disappeared in Android 4.4
that the flash plugin uses, it is now possible to use normal symbol
resolution to stubs defined separately in libmozglue.
2014-10-14 07:18:01 +09:00
Mike Hommey b77d0f1d19 Bug 1077366 - Remove most symbol wrapping from Android builds. r=nfroyd
Since essentially everything is linked to libmozglue and libmozglue takes
precedence in symbol resolution in our dynamic linker, there is no need
to wrap most symbols. PR_GetEnv/PR_SetEnv still needs wrapping because
there's no other way to actually wrap the calls from NSPR itself and NSS,
as well as the symbols wrapped because our dynamic linker can't find them
in system libraries on some devices because they're weak.
2014-10-14 07:17:13 +09:00
David Major a18d039d8a Bug 1046382 - Blocklist dtwxsvc.dll. r=bsmedberg
--HG--
extra : rebase_source : 007867f3df7090bf67dcadeeac6f4ec422e16ac5
2014-09-18 14:27:11 +12:00
Mike Hommey 4b99580194 Bug 1059113 - Use templates for shared libraries and frameworks. r=gps
Also force to use the existing template for XPCOM components.
2014-09-04 09:04:45 +09:00
Mike Hommey ed70c5f377 Bug 1041941 - Use templates for programs, simple programs, libraries and C++ unit tests. r=gps 2014-09-03 14:10:54 +09:00
Mike Hommey 89777800f9 Bug 1047267 - Move remaining OS_LIBS and EXTRA_LIBS to moz.build. r=gps
* * *
Bug 1047267 - To fold with "Move remaining OS_LIBS and EXTRA_LIBS to moz.build"
2014-08-07 14:21:03 +09:00
Mike Hommey d9443ec932 Bug 1045783 - Move most OS_LIBS to moz.build and do some related cleanup. r=mshal 2014-08-06 07:25:33 +09:00
Ting-Yu Chou 1e305aa73a Bug 1038854 - Synchronize mutexes in pthread_cond_wait after recreating threads to avoid race conditions. Parts by Ting-Yu, r=khuey. Parts by Kyle Huey, r=thinker 2014-07-31 10:47:30 +08:00
Ed Morley f50c0faa02 Merge latest green inbound changeset and mozilla-central; a=merge 2014-08-01 16:11:12 +01:00
Wes Kocher c60b44a7b1 Backed out changeset f73cd738c1fe (bug 1038854) a=backout 2014-07-31 15:04:49 -07:00
Ehsan Akhgari e71edf0cc1 Bug 1042414 - Make mozglue.def depend on GLOBAL_DEPS; r=glandium
--HG--
extra : rebase_source : 6dbd6aa6ea9e697c037fa33e0638abbaa92ca08a
2014-07-31 20:30:30 -04:00
Ting-Yu Chou cce7014830 Bug 1038854 - Avoid making unlocked mutex to locked uncontended after recreating threads from pthread condition wait wrappers. r=khuey 2014-07-31 10:47:30 +08:00
Mike Hommey a62cdc4fa7 Bug 1043344 - Move libraries and programs build to the compile tier. r=gps 2014-07-25 07:14:40 +09:00
Mike Hommey 95063176fa Bug 1036894 part 9 - Replace all EXTRA_DSO_LDOPTS, SHARED_LIBRARY_LIBS and LIBS with EXTRA_LIBS, OS_LIBS or OS_LDFLAGS, appropriately. r=gps
OS_LIBS for libraries that are not part of the gecko tree, EXTRA_LIBS for
libraries, such as NSPR, that are in the tree, but are not handled by
moz.build just yet. Those EXTRA_LIBS may also come from a system library.
However, in cases where the expanded variables are always empty for the
in-tree case, OS_LIBS is used (as for, e.g. MOZ_ZLIB_LIBS). OS_LDFLAGS is
used exclusively for non-library linker flags.

Always pass EXTRA_LIBS before OS_LIBS on linker command lines.

Forbid EXTRA_DSO_LDOPTS, SHARED_LIBRARY_LIBS and LIBS in Makefiles.
2014-07-23 13:31:02 +09:00
Mike Hommey 5fab42fcaf Bug 1036894 part 8 - Move most in-tree library linkage information to moz.build, as USE_LIBS. r=gps 2014-07-23 13:30:52 +09:00
Mike Hommey a33d7d67e6 Bug 1036894 part 1 - Move MAKE_FRAMEWORK, SDK_LIBRARY, SHARED_LIBRARY_NAME and STATIC_LIBRARY_NAME to moz.build. r=gps
At the same time, make the Library data more useful in the build frontend.
2014-07-23 13:29:09 +09:00
Ehsan Akhgari 22b05d25b2 Bug 1036235 - Do not use __asan_default_options with clang-cl because it is not supported yet; r=decoder 2014-07-09 15:16:55 -04:00
Benoit Jacob 875ebd67ca Bug 1008254 - Allow Nuwa's global sAllThreads list to be non-empty on exit, to green a near-permanent orange on B2G mochitest-9 - r=khuey 2014-07-02 16:40:29 -04:00
David Major 1ebe57b5fe Bug 1023239 - Block crashy builds of V-Bates. r=bsmedberg
--HG--
extra : rebase_source : 5b0d32f84ddcea375736777270f99af4e63a0513
2014-07-01 09:33:43 +12:00
Patrick Wang (Chih-Kai Wang) 01cc0c8352 Bug 1026864: prevent malloc from calling wrapped pthread_mutex_lock and get rid of LibcAllocator. r=cyu,r=glandium,r=khuey 2014-06-25 10:44:58 +08:00
Jed Davis 995ff094cd Bug 1024805 - Use TaggedAnonymousMemory for Nuwa thread stacks. r=khuey
Bonus fixes: make the guard page PROT_NONE instead of PROT_READ,
and correct the stack bounds passed to pthread_attr_setstack.
2014-06-18 17:41:00 +02:00
Birunthan Mohanathas 51ba75d135 Bug 1016240 - Exterminate CR+LF line endings. r=briansmith,cpearce,ehsan,gavin 2014-06-18 17:56:02 -07:00
Patrick Wang (Chih-Kai Wang) 58e49a079d Bug 999323: use an extra thread to free stack of a exit thread in Nuwa. r=cyu,r=khuey 2014-06-10 16:02:45 +08:00
Jacek Caban feaa797775 Bug 973138 - Fixed goto crossing variable declaration (fixes GCC compilation).
--HG--
extra : rebase_source : 8b488731cb06cab3fc1e74e66f88046583e95fc2
2014-05-12 11:01:53 +02:00
David Major c9a196626d Bug 988311: Blocklist rf-firefox-22.dll. r=bsmedberg
--HG--
extra : rebase_source : 2729d41ff87bb92220e667ec43ad8f4a0273e1b7
2014-05-08 10:18:17 +12:00
Robert O'Callahan 7043c985ba Bug 1006248. Part 1: Add MOZ_EXPORT in various places. r=glandium
--HG--
extra : rebase_source : cfe209a412cae28d405eae413415cebb6959072a
2014-05-06 17:26:46 +12:00
David Major 4d025daa76 Bug 1002748: Blocklist libinject.dll. r=bsmedberg
--HG--
extra : rebase_source : 09e8355ea54c81d8e82b7a01a6ccabf212fa814f
2014-05-07 09:59:20 +12:00
David Major d11a936043 Bug 973138: Block DLLs that match the MovieMode pattern. r=bsmedberg 2014-04-15 11:40:42 +12:00
Wes Kocher 048b39c570 Merge m-c to b2g-inbound 2014-04-28 16:26:34 -07:00
Mike Hommey 95601eca19 Bug 1001703 - Remove memswap wrapping. r=snorp 2014-04-29 04:12:27 +09:00
James Willcox 4379c05e4a Bug 966154 - Don't use __fork, it's gone in newer bionic r=glandium
--HG--
extra : rebase_source : d9658b67bae73031b2a8212764a33bff8f0e3bb7
2014-04-28 10:21:22 -05:00
Gabriele Svelto 0f7f7f7cff Bug 982569 - Don't hard-code the page size. r=khuey 2014-04-21 19:32:48 +02:00
David Major 951594b3b3 Bug 970362 - Block F-Secure on Windows XP. r=bsmedberg 2014-04-13 14:18:03 -04:00
Nathan Froyd b87a188e24 Bug 988499 - terminate #warning string in Nuwa.cpp; r=khuey; f=tzimmerman DONTBUILD because #warnings don't need build and tests 2014-03-24 13:35:43 -04:00
Thomas Zimmermann 2fac99cc52 Bug 979913: Remove unused variables, r=khuey 2014-03-14 11:23:51 +01:00
Thomas Zimmermann fd33abc3bd Bug 979913: Conditionally define PAGE_SIZE, r=khuey
With this patch the PAGE_SIZE value from the system is used if
possible. If page size is not defined by the system, it is set
to 4096 bytes and a warning is emitted. PAGE_ALIGN_MASK is now
derived from PAGE_SIZE. With these changes, the code should be
more robust on systems with non-4KiB page size.
2014-03-14 11:23:51 +01:00
Thomas Zimmermann c95349d6cd Bug 979913: Fix GCC warning about undeclared function |snprintf|, r=khuey 2014-03-14 11:23:50 +01:00
Carsten "Tomcat" Book fe03b8518d Backed out changeset b2e50a5b5eb3 (bug 979913) on request for pushing wrong version of the patch on a CLOSED TREE 2014-03-14 09:40:38 +01:00
Carsten "Tomcat" Book 4442714511 Backed out changeset 3e9182f7e25d (bug 979913) 2014-03-14 09:39:35 +01:00
Carsten "Tomcat" Book 013dd86d57 Backed out changeset 79ee6fda8e65 (bug 979913) 2014-03-14 09:39:26 +01:00
Thomas Zimmermann ad35a39b55 Bug 979913: Remove unused variables, r=khuey 2014-03-14 09:24:05 +01:00
Thomas Zimmermann 69fdcaadac Bug 979913: Conditionally define PAGE_SIZE, r=khuey
With this patch the PAGE_SIZE value from the system is used if
possible. The code still assumes that the PAGE_SIZE is 4096, but
emits a warning if the actual value differs. If page size is not
defined by the system, it is set to 4096 bytes and a warning is
emitted as well.
2014-03-14 09:24:04 +01:00
Thomas Zimmermann aea66889b6 Bug 979913: Fix GCC warning about undeclared function |snprintf|, r=khuey 2014-03-14 09:24:04 +01:00
Jed Davis 154d9c5e2a Bug 977859 - Drop uid 0 in all content processes immediately after fork. r=bent r=kang
Now all regular child processes, including preallocated, are deprivileged.
Only Nuwa needs uid 0, because each of its children has a different uid/gid.
2014-03-12 15:48:15 -07:00
Cervantes Yu 3b8647cc68 Bug 979741 - Use MOZ_DEBUG_CHILD_PROCESS environment variable for processes forked from Nuwa. r=khuey 2014-03-05 20:43:06 +08:00
Ehsan Akhgari 17f4a32d8b Bug 976896 - Port STL_FLAGS to moz.build; r=mshal 2014-03-04 19:39:06 -05:00
David Major dacf888628 Bug 951827 - Force a detour-style hook for LdrLoadDll. r=ehsan 2014-03-03 10:27:21 -05:00
Ryan VanderMeulen 12d0416fc6 Backed out 5 changesets (bug 951827) for causing bug 975820.
Backed out changeset 16b840c2de31 (bug 951827)
Backed out changeset 8fb155711dfe (bug 951827)
Backed out changeset 1109dba48e6b (bug 951827)
Backed out changeset 236ed76eea8b (bug 951827)
Backed out changeset 96cf7c13a8cb (bug 951827)
2014-02-24 14:52:14 -05:00