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
Jed Davis
b9e7a73a98
Bug 943170 - Fix Android mozglue for raise() to avoid pthread bug. r=glandium
2013-12-02 17:08:27 -05:00
Mike Hommey
a1486ce449
Bug 942043 - Straighten up zlib linkage wrt shared js and system zlib. r=gps,r=ted
2013-11-22 23:03:21 +09:00
Mike Hommey
8fd06cf41b
Bug 874266 - Move all DEFINES that can be moved to moz.build. r=mshal
2013-11-27 22:55:07 +09:00
Mike Hommey
b32a4ed166
Backout changeset 3fd4b546eed4 (bug 874266) and changeset a35d2e3a872f (bug 942043) for ASAN build bustage and Windows test bustage
...
--HG--
extra : amend_source : f20d09aeff1c8b5cbd0f1d24c7ce04e86f3aed1d
2013-11-28 14:24:05 +09:00
Mike Hommey
682364d535
Bug 874266 - Move all DEFINES that can be moved to moz.build. r=mshal
2013-11-28 13:08:16 +09:00
Mike Hommey
0a1fb8d11c
Bug 942043 - Straighten up zlib linkage wrt shared js and system zlib. r=gps,r=ted
2013-11-28 12:49:43 +09:00
Mike Hommey
b2e90f6233
Bug 914245 - Move FORCE_SHARED_LIB to moz.build. r=mshal
2013-11-19 11:47:45 +09:00
Mike Hommey
e80e877ab7
Bug 939044 - Remove most definitions of MODULE. r=mshal
2013-11-19 11:47:39 +09:00
Mike Hommey
ffe0380912
Bug 935881 - Use FINAL_LIBRARY for all (fake) libraries that end up linked in a single other library. r=gps
2013-11-19 11:47:14 +09:00
David Major
1a2255d5e0
Bug 925459 - Block all versions of bitguard.dll. r=bsmedberg
2013-11-15 21:46:38 -05:00
David Major
4a637bff20
Bug 932100 - Part 2: Move DLL blocklist code to mozglue. r=bsmedberg, r=glandium
...
--HG--
rename : toolkit/xre/nsWindowsDllBlocklist.cpp => mozglue/build/WindowsDllBlocklist.cpp
2013-11-12 08:31:32 -05:00
Birunthan Mohanathas
a159fb8617
Bug 784739 - Switch from NULL to nullptr in mozglue/; r=ehsan
2013-11-11 14:14:45 -05:00
Birunthan Mohanathas
1bde8d50d8
Bug 784739 - Switch from NULL to nullptr in build/; r=ehsan
2013-11-11 14:13:38 -05:00
Mike Hommey
a470038314
Bug 935305 - Move preprocessor to mozbuild.action. r=gps
...
--HG--
rename : config/Preprocessor.py => python/mozbuild/mozbuild/preprocessor.py
rename : config/tests/unit-Expression.py => python/mozbuild/mozbuild/test/test_expression.py
rename : config/tests/unit-LineEndings.py => python/mozbuild/mozbuild/test/test_line_endings.py
rename : config/tests/unit-Preprocessor.py => python/mozbuild/mozbuild/test/test_preprocessor.py
2013-11-09 10:35:44 +09:00
Mike Hommey
4a02ac1e8a
Bug 864774 part 3 - Move some more CPPSRCS to moz.build. r=mshal
2013-10-30 07:51:03 +09:00
Ted Mielczarek
673fd74516
Bug 930674 - convert VISIBILITY_FLAGS in Makefile.in to NO_VISIBILITY_FLAGS in moz.build. r=mshal
2013-10-24 15:06:19 -04:00
Cykesiopka
d733533b8f
Bug 914270 - Part 2: Manual moves. r=joey
2013-10-24 18:52:00 +01:00
Mike Hommey
b000a846c2
Bug 929905 - Consolidate sources in moz.build. r=gps
2013-10-25 08:23:05 +09:00
Cervantes Yu
2f25875737
Bug 928186: fix nuwa process crash due to LibcAllocator not allocating enough memory. r=khuey
2013-10-17 17:00:00 +01:00
Mike Hommey
59a17d0f20
Bug 921492 - Make StrictOrderingOnAppendList use actual alphabetical sorting. r=mshal,r=gps
2013-10-24 08:05:43 +09:00
Thinker Lee ext:(%2C%20Cervantes%20Yu%20%3Ccyu%40mozilla.com%3E)
52df1fd957
Bug 771765 - Support template content process, part 1: the Nuwa API and low-level wrappers. r=khuey
...
Support of zygote-like process forking is done as:
* The b2g chrome process forks a child process that will be the template for forking other content processes.
* The template process starts running to some point and freeze.
* When ready, the chrome process starts requesting the template to fork content proceses.
* The content processes forked from the template process recovers its states including the threads, file descriptors for epoll, signaling and IPC.
Recovery of the process states are done by wrapping some system and pthread calls to record the states in the template process and recover in the forked content process.
2013-05-07 14:25:13 +08:00
Joey Armstrong
4913c4a933
bug 870406: move CSRCS to mozbuild (file batch #3 ). r=mshal
2013-09-20 17:37:36 -04:00