Yabin Cui
e58918f73a
am 611fd2cc: Merge "Revert "Revert "add guard pages to the internal signal stacks"""
...
* commit '611fd2cc91f79be6759f6e630e1e81998326dfe8':
Revert "Revert "add guard pages to the internal signal stacks""
2015-03-31 04:36:45 +00:00
Yabin Cui
611fd2cc91
Merge "Revert "Revert "add guard pages to the internal signal stacks"""
2015-03-31 04:24:08 +00:00
Yabin Cui
ef11500301
Revert "Revert "add guard pages to the internal signal stacks""
...
This reverts commit a3125fd1396a09a7fc4872dc4653f342150a3deb.
And Fix the prctl() problem that cause system crash.
Change-Id: Icc8d12d848cfba881a7984ca2827fd81be41f9fd
2015-03-30 20:51:39 -07:00
Elliott Hughes
85f42bd31b
am 8225ad63: Merge "Revert "add guard pages to the internal signal stacks""
...
* commit '8225ad63fac7c5cc298884c101a344959b87dc39':
Revert "add guard pages to the internal signal stacks"
2015-03-31 02:54:14 +00:00
Elliott Hughes
0c2b7a72af
am 2746b928: Merge "Revert "Fix clang build breakage ("arithmetic on a pointer to void").""
...
* commit '2746b9289abc0fd5e38b94fc96d101e5e242d9f2':
Revert "Fix clang build breakage ("arithmetic on a pointer to void")."
2015-03-31 02:54:11 +00:00
Elliott Hughes
8225ad63fa
Merge "Revert "add guard pages to the internal signal stacks""
2015-03-31 02:42:51 +00:00
Elliott Hughes
a3125fd139
Revert "add guard pages to the internal signal stacks"
...
This reverts commit 595752f623ae88f7e4193a6e531a0805f1c6c4dc.
Change-Id: Iefa66e9049ca0424e53cd5fc320d161b93556dcb
2015-03-31 02:42:39 +00:00
Elliott Hughes
2746b9289a
Merge "Revert "Fix clang build breakage ("arithmetic on a pointer to void").""
2015-03-31 02:41:33 +00:00
Elliott Hughes
3925f32ffb
Revert "Fix clang build breakage ("arithmetic on a pointer to void")."
...
This reverts commit 16c77212792808b9e4d8229e64c5b42f4327b6dc.
Change-Id: I568dee5400599693b1585ce6d4be7a0b5f37dc74
2015-03-31 02:41:20 +00:00
Elliott Hughes
aa23e36cee
am 2d84d870: Merge "Fix clang build breakage ("arithmetic on a pointer to void")."
...
* commit '2d84d870db0e6db54cf09441434bf2f5b28c6492':
Fix clang build breakage ("arithmetic on a pointer to void").
2015-03-30 21:45:37 +00:00
Elliott Hughes
935967bde1
am 373748f4: Merge "add guard pages to the internal signal stacks"
...
* commit '373748f4c66bb37e564716590e7b4fc8a64e0884':
add guard pages to the internal signal stacks
2015-03-30 21:35:56 +00:00
Elliott Hughes
2d84d870db
Merge "Fix clang build breakage ("arithmetic on a pointer to void")."
2015-03-30 21:34:07 +00:00
Elliott Hughes
16c7721279
Fix clang build breakage ("arithmetic on a pointer to void").
...
Change-Id: Ia0953fc1cd0f8ea2d4423b3c6e34f6dc7a9f31e9
2015-03-30 14:33:02 -07:00
Elliott Hughes
373748f4c6
Merge "add guard pages to the internal signal stacks"
2015-03-30 21:24:36 +00:00
Daniel Micay
595752f623
add guard pages to the internal signal stacks
...
Signal handlers tend to be lean, but can still overflow the (tiny)
stack.
Change-Id: Ia21c6453d92a9f8d1536ad01ff26a1a84c05f8fb
2015-03-30 17:13:20 -04:00
Nick Kralevich
c9397b74a9
am 203082b8: Merge "linker_environ: clear MALLOC_CONF when AT_SECURE=1"
...
* commit '203082b8217cd853eee510ad371b382701960610':
linker_environ: clear MALLOC_CONF when AT_SECURE=1
2015-03-27 23:22:04 +00:00
Dmitriy Ivanov
267422ac85
am 5c136382: Merge "Fix libstdc++.so hash-style."
...
* commit '5c136382a6f1ad796a60463898d4c08fadead669':
Fix libstdc++.so hash-style.
2015-03-27 23:22:02 +00:00
Nick Kralevich
203082b821
Merge "linker_environ: clear MALLOC_CONF when AT_SECURE=1"
2015-03-27 22:55:20 +00:00
Nick Kralevich
e001ca3e18
linker_environ: clear MALLOC_CONF when AT_SECURE=1
...
Clear JE_MALLOC_CONF and MALLOC_CONF
Change-Id: Ia76e263783194ecaa362e8ccafbe13a28a4a1ba6
2015-03-27 15:49:33 -07:00
Dmitriy Ivanov
5c136382a6
Merge "Fix libstdc++.so hash-style."
2015-03-27 22:46:52 +00:00
Dmitriy Ivanov
402d199450
Fix libstdc++.so hash-style.
...
Bug: 19059885
Bug: 19958712
Change-Id: I167457a54cc688d64912a50f5fb75e4e2f3e3937
2015-03-27 15:27:07 -07:00
Dmitriy Ivanov
85ca90c72e
am cd79a59b: Merge "Add test for thread_local keyword."
...
* commit 'cd79a59b18f8e81b5f37258f376a726dc8acb81a':
Add test for thread_local keyword.
2015-03-27 21:41:56 +00:00
Dmitriy Ivanov
cd79a59b18
Merge "Add test for thread_local keyword."
2015-03-27 20:07:35 +00:00
Dmitriy Ivanov
947adedebc
Add test for thread_local keyword.
...
For gcc only for the time being.
Bug: 19800080
Bug: 16696563
Change-Id: Ifaa59a131ca2d9030554cee7ce631dcb1d081938
2015-03-27 12:05:36 -07:00
Dmitriy Ivanov
09ffd5b8d5
am cfd794a9: Merge "Explain why we need objcopy for the linker"
...
* commit 'cfd794a96d0c4f1d97e54b701b408dafdb514d17':
Explain why we need objcopy for the linker
2015-03-27 00:01:30 +00:00
Dmitriy Ivanov
cfd794a96d
Merge "Explain why we need objcopy for the linker"
2015-03-26 23:49:23 +00:00
Dmitriy Ivanov
797bffb760
Explain why we need objcopy for the linker
...
Change-Id: I646673abc6095b56f72add493b60925375b75b78
2015-03-26 16:47:18 -07:00
Yabin Cui
71fe7f4ad7
am 8f3eb5a4: Merge "Revert "Cause Fatal error when invalid pthread_id is detected.""
...
* commit '8f3eb5a4e5dbbac1fb431e40e25eec07ecc24ee8':
Revert "Cause Fatal error when invalid pthread_id is detected."
2015-03-26 18:27:10 +00:00
Simon Baldwin
59409c68eb
am 7c01e3a9: Merge "Fix comment drift in assorted relocation packer modules."
...
* commit '7c01e3a9ba80c85c7e7998d2347885e9a6e3bbf2':
Fix comment drift in assorted relocation packer modules.
2015-03-26 18:16:10 +00:00
Yabin Cui
8f3eb5a4e5
Merge "Revert "Cause Fatal error when invalid pthread_id is detected.""
2015-03-26 18:14:23 +00:00
Yabin Cui
220b99bdc1
Revert "Cause Fatal error when invalid pthread_id is detected."
...
Some code like in https://buganizer.corp.google.com/u/0/issues/19942911 need to change first.
This reverts commit 03324780aae9ff28c8acf52debf0ea39120e5ab8.
Change-Id: I13ff1e5b3d0672bae9cde234ffba32fbbf33d338
2015-03-26 18:13:07 +00:00
Dmitriy Ivanov
73f4a8b616
am f2d153f8: Merge "Initial implementation of __cxa_thread_atexit_impl"
...
* commit 'f2d153f836e529892854b91452fabd2c2fa79c05':
Initial implementation of __cxa_thread_atexit_impl
2015-03-26 18:08:37 +00:00
Simon Baldwin
7c01e3a9ba
Merge "Fix comment drift in assorted relocation packer modules."
2015-03-26 18:01:13 +00:00
Dmitriy Ivanov
f2d153f836
Merge "Initial implementation of __cxa_thread_atexit_impl"
2015-03-26 17:50:23 +00:00
Simon Baldwin
569a752689
Fix comment drift in assorted relocation packer modules.
...
Some of the commentary in relocation packer code is relevant
only to the packing strategy employed by chromium, and no
longer applies here. This change fixes or deletes it.
Code comment change only; no functional effect.
Change-Id: Id229ee1d802bba608be15b79bc75bf90df557dab
Signed-off-by: Simon Baldwin <simonb@google.com>
2015-03-26 17:13:19 +00:00
Simon Baldwin
20003502df
am 7f8d91ea: Merge "Remove unused/unusable relocation packer files."
...
* commit '7f8d91ea8e24e89db39ae868085913e763e04557':
Remove unused/unusable relocation packer files.
2015-03-26 16:55:09 +00:00
Simon Baldwin
7f8d91ea8e
Merge "Remove unused/unusable relocation packer files."
2015-03-26 16:41:02 +00:00
Yabin Cui
efe1aff09d
am b9232c94: Merge "Remove PTHREAD_RECURSIVE_MUTEX_INITIALIZER and PTHREAD_ERRORCHECK_MUTEX_INITIALIZER."
...
* commit 'b9232c94da831d485b3896580a3d1ac9abc46a4f':
Remove PTHREAD_RECURSIVE_MUTEX_INITIALIZER and PTHREAD_ERRORCHECK_MUTEX_INITIALIZER.
2015-03-26 04:36:16 +00:00
Yabin Cui
b9232c94da
Merge "Remove PTHREAD_RECURSIVE_MUTEX_INITIALIZER and PTHREAD_ERRORCHECK_MUTEX_INITIALIZER."
2015-03-26 04:21:15 +00:00
Yabin Cui
6f9a35222b
am 69847bc2: Merge "Hide internal of pthread_mutex_t."
...
* commit '69847bc298de62917663d22b6733ef75b57124fa':
Hide internal of pthread_mutex_t.
2015-03-26 04:19:40 +00:00
Yabin Cui
0682e44f7c
am fa3dcecc: Merge "Fix in error handling in pthread_create.cpp."
...
* commit 'fa3dcecc0fd7bbbf04234e41be690a5d33277870':
Fix in error handling in pthread_create.cpp.
2015-03-26 04:19:39 +00:00
Yabin Cui
377243b78c
Remove PTHREAD_RECURSIVE_MUTEX_INITIALIZER and PTHREAD_ERRORCHECK_MUTEX_INITIALIZER.
...
These macros are also not used in glibc. And we should use
PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP
and PTHREAD_ERRORCHECK_MUTEX_INITIALIZER_NP instead.
Change-Id: I35195e2f499712dcde9305bbb93622d0f7ca874b
2015-03-25 21:02:36 -07:00
Yabin Cui
69847bc298
Merge "Hide internal of pthread_mutex_t."
2015-03-26 02:10:07 +00:00
Dmitriy Ivanov
df79c330d8
Initial implementation of __cxa_thread_atexit_impl
...
This is initial implementations; does not yet handle
dlclose - undefined behavior, needs linker support to
handle it right.
Bug: 19800080
Bug: 16696563
Change-Id: I7a3e21ed7f7ec01e62ea1b7cb2ab253590ea0686
2015-03-25 18:07:59 -07:00
Yabin Cui
17393b06ba
Hide internal of pthread_mutex_t.
...
Bug: 19249079
Change-Id: Iffb79c8d861b698d474f212dc80c638fc2cf1620
2015-03-25 17:54:17 -07:00
Yabin Cui
fa3dcecc0f
Merge "Fix in error handling in pthread_create.cpp."
2015-03-26 00:26:59 +00:00
Yabin Cui
799cb35f45
Fix in error handling in pthread_create.cpp.
...
It is due to a previous change "Let g_thread_list_lock only protect g_thread_list".
We need to add the newly created thread to thread_list even if
__init_thread fails, so the thread can exit successfully.
Change-Id: I0332df11acfdd181350bcc092b12d90d679057a4
2015-03-25 16:18:21 -07:00
Yabin Cui
3ae2774aa0
am 36d5b6f4: Merge "Cause Fatal error when invalid pthread_id is detected."
...
* commit '36d5b6f47dd14fd9733d935174d2b8e0deb979c6':
Cause Fatal error when invalid pthread_id is detected.
2015-03-25 23:04:27 +00:00
Yabin Cui
36d5b6f47d
Merge "Cause Fatal error when invalid pthread_id is detected."
2015-03-25 22:53:50 +00:00
Yabin Cui
03324780aa
Cause Fatal error when invalid pthread_id is detected.
...
This is a patch testing whether we can use abort() instead of
returning ESRCH for invalid pthread ids. It is an intermediate
step to remove g_thread_list/g_thread_list_lock.
Bug: 19636317
Change-Id: Idd8e4a346c7ce91e1be0c2ebcb78ce51c0d0a31d
2015-03-25 15:30:39 -07:00