Commit Graph

122 Commits

Author SHA1 Message Date
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
David Major
e08a801cd5 Bug 951827 - Part 4: Support absolute jumps in hooks. r=ehsan 2014-02-14 14:58:12 -08:00
Ehsan Akhgari
e4f4a283cc Bug 970727 - Move DEFFILE to moz.build; r=mshal 2014-02-11 11:28:54 -05:00
Ehsan Akhgari
d91d200572 Bug 969757 - Remove the dead code in our tree which pretends to support OS/2; r=roc,mcmanus,gps,jorendorf,bsmedberg sr=bsmedberg 2014-02-10 17:57:01 -05:00
David Major
1e5de10330 Bug 944542 - Blocklist spvc32.dll. r=bsmedberg 2014-02-10 15:52:34 -05:00
Cervantes Yu
18af4cf1b7 Bug 966802 - Fix and protect from stack overflow of the threads cloned in the Nuwa process. r=khuey 2014-02-10 08:46:05 -05:00
Cervantes Yu
9556ddc7f7 Bug 961959: fix profiler breakage for the Nuwa process. r=khuey,benwa 2014-01-22 18:56:45 +08:00
Mike Hommey
9fe01db5ab Bug 958404 - Recurse mfbt from top-level when building js standalone. r=gps 2014-01-20 09:11:45 +09:00
David Major
248db83ccd Bug 957258 - Block sprotector.dll on all versions of Windows. r=bsmedberg 2014-01-10 08:41:22 -05:00
Jacek Caban
fabc4c9101 Bug 945216 - Fixed mozglue/ compilation on mingw. r=glandium 2013-12-17 12:01:39 +01:00
Benjamin Smedberg
62e28bd724 Bug 946799 part B - fix the blocklist annotation to use the correct size, r=dmajor 2013-12-06 09:00:06 -05:00