Elliott Hughes
f2dc7d1719
Merge "Pass si_code through to debuggerd."
2014-04-26 03:23:22 +00:00
Elliott Hughes
b7e289ed02
Pass si_code through to debuggerd.
...
Because we re-raise various signals, we corrupt the si_code that debuggerd
sees when it ptraces our siginfo. One possible solution (shown here) is to
pass the original si_code value in the message we send to debuggerd.
Change-Id: I76f9aa2c0442e5cab611d132532409e700383907
2014-04-25 20:00:45 -07:00
Elliott Hughes
d3dc0c1831
am 4a40dea6
: am 213e46f7
: Merge "Fix brk/sbrk error checking."
...
* commit '4a40dea62949b7ed562bac7173962800ed89b01d':
Fix brk/sbrk error checking.
2014-04-26 02:46:37 +00:00
Elliott Hughes
4a40dea629
am 213e46f7
: Merge "Fix brk/sbrk error checking."
...
* commit '213e46f7ae41f7d769087d854e061659bd0581d6':
Fix brk/sbrk error checking.
2014-04-26 02:44:29 +00:00
Elliott Hughes
213e46f7ae
Merge "Fix brk/sbrk error checking."
2014-04-26 02:39:09 +00:00
Elliott Hughes
533dde4dbf
Fix brk/sbrk error checking.
...
Note that the kernel returns the current break on error or if the requested
break is smaller than the minimum break, or the new break. I don't know where
we got the idea that the kernel could return -1.
Also optimizes the query case.
Also hides an accidentally-exported symbol for LP64.
Change-Id: I0fd6b8b14ddf1ae82935c0c3fc610da5cc74932e
2014-04-25 19:38:33 -07:00
Colin Cross
cc97b7d9cd
am e1e3430b
: am eff450ff
: Merge "Reserve space in pthread structures for future extensibility."
...
* commit 'e1e3430b9a4725c9506f10ab1b9b3be719e99c0c':
Reserve space in pthread structures for future extensibility.
2014-04-24 22:49:50 +00:00
Colin Cross
e1e3430b9a
am eff450ff
: Merge "Reserve space in pthread structures for future extensibility."
...
* commit 'eff450ff45170ff17f17b7ceb26f54b858c39238':
Reserve space in pthread structures for future extensibility.
2014-04-24 22:47:09 +00:00
Colin Cross
eff450ff45
Merge "Reserve space in pthread structures for future extensibility."
2014-04-24 22:40:50 +00:00
Calin Juravle
b1cacd4245
Reserve space in pthread structures for future extensibility.
...
Make our structures equal in size with glibc structures. This should
give us plenty of space to implement any missing feature.
Bug: 13278744
Bug: 12875898
(cherry picked from commit cf83fd77ca
)
Change-Id: I76968d31024eb51bc73887687e5ac492eb02a27f
2014-04-24 22:07:52 +00:00
Elliott Hughes
2c03e8ff06
am cf57e2c6
: am 08bfcff0
: Merge "Allow liblog to pass failure reasons to debuggerd."
...
* commit 'cf57e2c645116eefd64801be035512621df0ba5c':
Allow liblog to pass failure reasons to debuggerd.
2014-04-24 20:47:46 +00:00
Elliott Hughes
cf57e2c645
am 08bfcff0
: Merge "Allow liblog to pass failure reasons to debuggerd."
...
* commit '08bfcff0d4a931a4ed5e2a46541dc8d223482f34':
Allow liblog to pass failure reasons to debuggerd.
2014-04-24 20:42:48 +00:00
Elliott Hughes
08bfcff0d4
Merge "Allow liblog to pass failure reasons to debuggerd."
2014-04-24 20:29:43 +00:00
Greg Hackmann
da4aad855e
am 0f77d775
: am ab290718
: Merge "Revert "Reserve space in pthread structures for future extensibility.""
...
* commit '0f77d7758ac85a000f2ce5606051b8a7d121f6dd':
Revert "Reserve space in pthread structures for future extensibility."
2014-04-24 18:26:02 +00:00
Greg Hackmann
0f77d7758a
am ab290718
: Merge "Revert "Reserve space in pthread structures for future extensibility.""
...
* commit 'ab290718e376795a51e1a09c7eb20e79b39efee8':
Revert "Reserve space in pthread structures for future extensibility."
2014-04-24 18:20:54 +00:00
Greg Hackmann
ab290718e3
Merge "Revert "Reserve space in pthread structures for future extensibility.""
2014-04-24 18:12:28 +00:00
Greg Hackmann
6b64000ef0
Revert "Reserve space in pthread structures for future extensibility."
...
This reverts commit cf83fd77ca
.
Change-Id: I4f69e86ffe1c267a9018eb489d909237534c6cf9
2014-04-24 18:11:23 +00:00
Calin Juravle
18955d6909
am 9b720750
: am f2aeca50
: Merge "Remove an unsed include dir"
...
* commit '9b720750c1486627d774973c51fc210a1ad9def5':
Remove an unsed include dir
2014-04-24 17:40:43 +00:00
Calin Juravle
9b720750c1
am f2aeca50
: Merge "Remove an unsed include dir"
...
* commit 'f2aeca505cb5b85528981c46e0285ff3a7a70836':
Remove an unsed include dir
2014-04-24 17:32:12 +00:00
Calin Juravle
e9df9c52dc
am 123253b8
: am 690401db
: Merge "Removed non-existing include dir"
...
* commit '123253b86893d50f13d82f489e47924a4b69c228':
Removed non-existing include dir
2014-04-24 17:31:17 +00:00
Calin Juravle
f2aeca505c
Merge "Remove an unsed include dir"
2014-04-24 16:40:50 +00:00
Calin Juravle
fbb46a0c9a
Remove an unsed include dir
...
Change-Id: I05aa1e7e0639a5ec5576bf7646f35d2e5b157c09
2014-04-24 17:40:06 +01:00
Calin Juravle
123253b868
am 690401db
: Merge "Removed non-existing include dir"
...
* commit '690401db7a57cc6794129d9a2430279d55149251':
Removed non-existing include dir
2014-04-24 16:39:06 +00:00
Calin Juravle
690401db7a
Merge "Removed non-existing include dir"
2014-04-24 16:29:50 +00:00
Calin Juravle
4b7c4f886f
Removed non-existing include dir
...
Change-Id: I3e00a8471e6d94f596a34bdfdb26a0caba23dd82
2014-04-24 17:17:02 +01:00
Calin Juravle
3b5bca823d
am 131d8e38
: am 477d14b0
: Merge "Reserve space in pthread structures for future extensibility."
...
* commit '131d8e38e45902a1d33ed257b62972bfcd26dd92':
Reserve space in pthread structures for future extensibility.
2014-04-24 15:43:51 +00:00
Calin Juravle
60a7622d48
am 334da4c9
: am ae77f74b
: Merge "Clean-up _fpmath and fake_long_doubles"
...
* commit '334da4c9a52f544bea0014da139766f2c0f7cf21':
Clean-up _fpmath and fake_long_doubles
2014-04-24 15:43:39 +00:00
Elliott Hughes
81972ddba3
am b4428762
: am 563ea4e1
: Merge "Fix fallout from host GCC upgrade."
...
* commit 'b442876276d1c5d701806cd02d7f0cce516caf03':
Fix fallout from host GCC upgrade.
2014-04-24 15:43:18 +00:00
Calin Juravle
131d8e38e4
am 477d14b0
: Merge "Reserve space in pthread structures for future extensibility."
...
* commit '477d14b09202db5c009005b622fdcdefd780b955':
Reserve space in pthread structures for future extensibility.
2014-04-24 11:43:03 +00:00
Calin Juravle
477d14b092
Merge "Reserve space in pthread structures for future extensibility."
2014-04-24 11:35:37 +00:00
Calin Juravle
334da4c9a5
am ae77f74b
: Merge "Clean-up _fpmath and fake_long_doubles"
...
* commit 'ae77f74bcf51cb4199c9f7e87ec9c751fdd1842b':
Clean-up _fpmath and fake_long_doubles
2014-04-24 10:21:06 +00:00
Calin Juravle
ae77f74bcf
Merge "Clean-up _fpmath and fake_long_doubles"
2014-04-24 10:12:58 +00:00
Elliott Hughes
b442876276
am 563ea4e1
: Merge "Fix fallout from host GCC upgrade."
...
* commit '563ea4e15189403da83fdeb74da09b8225f56216':
Fix fallout from host GCC upgrade.
2014-04-24 09:03:33 +00:00
Elliott Hughes
563ea4e151
Merge "Fix fallout from host GCC upgrade."
2014-04-24 06:06:19 +00:00
Elliott Hughes
409588cdae
Fix fallout from host GCC upgrade.
...
I'll raise a bug for the FD_ISSET fortification; we should do better too.
Change-Id: Id2bf277890ad06b010dc952e270d746714c2bea7
2014-04-23 23:02:43 -07:00
Elliott Hughes
2e3b7108b5
Allow liblog to pass failure reasons to debuggerd.
...
assert(3) already does this, but LOG_ALWAYS_FATAL and LOG_ALWAYS_FATAL_IF
have been missing out.
Change-Id: I1d6214c4f792fa0d4ba3c14eded3fc9c332bd3c5
2014-04-23 14:52:49 -07:00
Elliott Hughes
4cec364af4
am bdce3e63
: am 3b0433f3
: Merge "Remove two dead files."
...
* commit 'bdce3e63fc4cfc2b1b2db05007326e1608f3228a':
Remove two dead files.
2014-04-23 20:07:41 +00:00
Elliott Hughes
bdce3e63fc
am 3b0433f3
: Merge "Remove two dead files."
...
* commit '3b0433f34fed755c28a92d46eab88729694b8055':
Remove two dead files.
2014-04-23 20:04:04 +00:00
Elliott Hughes
3b0433f34f
Merge "Remove two dead files."
2014-04-23 19:54:43 +00:00
Elliott Hughes
a64d76895d
Remove two dead files.
...
I forgot to remove these in the change that stopped building them
(eae5902e73
).
Change-Id: I4665fa9f6b9b80c51778d5e82b49406fe56db9a6
2014-04-23 12:51:37 -07:00
Ruchi Kandoi
eba6501c20
am 88920300
: am aa3d46a4
: Merge "prctl: Adds the PR_SET_TIMERSLACK_PID option"
...
* commit '889203005b62f0c2124a7fcae12f9824cbc78868':
prctl: Adds the PR_SET_TIMERSLACK_PID option
2014-04-23 19:29:32 +00:00
Ruchi Kandoi
889203005b
am aa3d46a4
: Merge "prctl: Adds the PR_SET_TIMERSLACK_PID option"
...
* commit 'aa3d46a45dd279f3fe0317f9ddd23b57200201e4':
prctl: Adds the PR_SET_TIMERSLACK_PID option
2014-04-23 19:26:44 +00:00
Ruchi Kandoi
aa3d46a45d
Merge "prctl: Adds the PR_SET_TIMERSLACK_PID option"
2014-04-23 19:13:28 +00:00
Ruchi Kandoi
b84926b95c
prctl: Adds the PR_SET_TIMERSLACK_PID option
...
Allows software to set timer clack for other thread.
Change-Id: Ifa9d2cc7844ec581356bce15434609242fd898a8
Signed-off-by: Ruchi Kandoi <kandoiruchi@google.com>
2014-04-23 19:13:15 +00:00
Calin Juravle
1abc9ff6a5
Clean-up _fpmath and fake_long_doubles
...
- promoted IEEEld2bits to fpmath since most of the where the same for
diffrent archs
- removed _fpmath
- reinstated weak_references
- moved isfinite and isnormal to libc
- clean up fake_long_doubles
- clean up some useless ifdefs
- added missing nexttoward* tests
Bug: 14134235
Change-Id: I95639c4885653fe47fd7dc0570ee5bb3389bbc6b
2014-04-23 19:03:06 +01:00
Calin Juravle
cf83fd77ca
Reserve space in pthread structures for future extensibility.
...
Make our structures equal in size with glibc structures. This should
give us plenty of space to implement any missing feature.
Bug: 13278744
Bug: 12875898
Change-Id: I980017fd5942411ebc5ac32b2673a10a20db68c8
2014-04-23 18:46:50 +01:00
Elliott Hughes
6292ad5796
am c6463dc1
: am f602bf8e
: Merge "Fix the glibc tests again."
...
* commit 'c6463dc1248607a16ef807d17809dcaaaf6fac6d':
Fix the glibc tests again.
2014-04-23 02:35:01 +00:00
Elliott Hughes
c6463dc124
am f602bf8e
: Merge "Fix the glibc tests again."
...
* commit 'f602bf8e943d76a03d0739d79d831e640ed07df7':
Fix the glibc tests again.
2014-04-23 02:32:43 +00:00
Elliott Hughes
0036306445
am fc183f65
: am 16ea297f
: Merge "Tests for environment variables utility functions"
...
* commit 'fc183f65c9dd5d97c744ea60c99c8ae7fdc7f986':
Tests for environment variables utility functions
2014-04-23 02:25:46 +00:00
Elliott Hughes
f602bf8e94
Merge "Fix the glibc tests again."
2014-04-23 02:24:41 +00:00