Commit Graph

7966 Commits

Author SHA1 Message Date
Ben Cheng
d979838321 am 77338a29: Merge "Address additional warnings found by GCC 4.9."
* commit '77338a2969c4b5d6de5200c326ef67d6a82e95b2':
  Address additional warnings found by GCC 4.9.
2014-05-19 22:30:09 +00:00
Ben Cheng
77338a2969 Merge "Address additional warnings found by GCC 4.9." 2014-05-19 22:28:10 +00:00
Sreeram Ramachandran
1c99b23cc1 am 172ab0f6: Merge "Query libnetd_client for the appropriate netId for host resolution."
* commit '172ab0f65035013565ec57f52ece663082683698':
  Query libnetd_client for the appropriate netId for host resolution.
2014-05-19 22:21:23 +00:00
Sreeram Ramachandran
903b78873a Mark sockets on creation (socket()) and accept4().
Remove the separate syscall for accept() and implement it as accept4(..., 0).

Change-Id: Ib0b8f5d7c5013b91eae6bbc3847852eb355c7714
2014-05-19 15:19:16 -07:00
Sreeram Ramachandran
172ab0f650 Merge "Query libnetd_client for the appropriate netId for host resolution." 2014-05-19 22:16:47 +00:00
Ben Cheng
caff5f2e1a Address additional warnings found by GCC 4.9.
Change-Id: If668a6eb98a6ce7b2872f528b8e3527638814f68
2014-05-19 14:27:31 -07:00
Paul Jensen
5240b562e7 Query libnetd_client for the appropriate netId for host resolution.
If libnetd_client can't be found, operate as before and use the default netId
potentially overriden by a more specific netId passed in to
android_get*fornet().

(cherry picked from commit 559c7842cc)

Change-Id: I42ef3293172651870fb46d2de22464c4f03e8e0b
2014-05-19 12:49:52 -07:00
Dan Albert
4d35da1df8 Removes bionic's dependence on stlport
Only affects tests/benchmarks. Confirmed passing on arm.

Change-Id: If158e23e8cd06e7597ef6f3c9376f6799b467e62
2014-05-19 11:33:14 -07:00
Calin Juravle
0e85fb6121 Add uc_regspace to arm's ucontext_t
Bug: 12828904
Bug: 12875898
Change-Id: Ic5d532bd0ef58cad9e36a99fc2995c4b069121b2
2014-05-19 19:14:03 +01:00
Dan Albert
48ee47ce25 Removes RTTI support from libc
Our type_info stub implementation is incompatible with the libc++ headers. Since
we don't need this support internally and anyone that wants RTTI support will
have to use libc++ anyway, this can be safely removed.

Change-Id: Ied8b67a0d86a4eb0e31191a50cceba0e39a16a6d
2014-05-19 10:32:42 -07:00
Sreeram Ramachandran
0617c73f91 am 308c30af: Merge "Cosmetic changes to netd client files."
* commit '308c30af72da7b13938934ba5037dd347b1ef139':
  Cosmetic changes to netd client files.
2014-05-19 16:48:50 +00:00
Sreeram Ramachandran
308c30af72 Merge "Cosmetic changes to netd client files." 2014-05-19 16:45:53 +00:00
Christopher Ferris
8fccb27f95 am 3a757f40: Merge "Accuracy tests for libm"
* commit '3a757f403ba98ab2132ceb8d290dfafea6c4c7a5':
  Accuracy tests for libm
2014-05-19 02:23:16 +00:00
Christopher Ferris
3a757f403b Merge "Accuracy tests for libm" 2014-05-19 02:19:58 +00:00
Sreeram Ramachandran
72c53933f8 Cosmetic changes to netd client files.
+ Name the dispatch header correctly (NetdClientDispatch.h).
+ Hide the global dispatch variable (__netdClientDispatch).
+ Explain why it's okay to read the variable without locking.
+ Use quotes instead of angle-brackets for non-system includes.
+ Add necessary declarations for C compiles (and not just C++).

Change-Id: Id0932165e71d81da5fce77a684f40c2263f58e61
2014-05-18 15:18:36 -07:00
Elliott Hughes
6e37ebfe5c am 6c83305c: Merge "Rethrow SIGTRAP too."
* commit '6c83305c9a0c43eff407f3b4a2ff10ad0be26f01':
  Rethrow SIGTRAP too.
2014-05-17 00:38:01 +00:00
Elliott Hughes
6c83305c9a Merge "Rethrow SIGTRAP too." 2014-05-17 00:35:34 +00:00
Elliott Hughes
00c855eb3d Rethrow SIGTRAP too.
Bug: 15024256
Change-Id: I0347da9698a6ccd317ce6e6f7916d710d66e0f8a
2014-05-16 17:34:13 -07:00
Elliott Hughes
81e4ab453a am 8b9a22f3: Merge "Fix the newly-introduced warning and turn on -Werror."
* commit '8b9a22f30a6cfc58f35ad5964d90319d5f3c9cd5':
  Fix the newly-introduced warning and turn on -Werror.
2014-05-17 00:17:06 +00:00
Elliott Hughes
dc9ac8449c am 2071b983: Merge "debugger.cpp should know the names of the signals it catches."
* commit '2071b98341915dbf63d222539c455f1d60e1a233':
  debugger.cpp should know the names of the signals it catches.
2014-05-17 00:17:05 +00:00
Elliott Hughes
8b9a22f30a Merge "Fix the newly-introduced warning and turn on -Werror." 2014-05-17 00:16:05 +00:00
Elliott Hughes
2071b98341 Merge "debugger.cpp should know the names of the signals it catches." 2014-05-17 00:14:46 +00:00
Elliott Hughes
62e35755eb debugger.cpp should know the names of the signals it catches.
Change-Id: I37908b07739ad465652f143848c52bc1ef19e421
2014-05-16 16:59:54 -07:00
Elliott Hughes
4c2da039ba Fix the newly-introduced warning and turn on -Werror.
I cleaned up most of our warnings last week but forgot to turn on -Werror,
so of course we're getting new warnings already. I've left -Werror commented
out in those places where we still have warnings to deal with before we can
turn on -Werror.

Change-Id: Ia58ff8b8c1ada4bf81eec6f19ec1d34e133cf4b1
2014-05-16 16:50:34 -07:00
Elliott Hughes
88a8e09bcf am 5e6e3edb: Merge "Export get_malloc_leak_info and free_malloc_leak_info, used by ddms."
* commit '5e6e3edbba20bf5a166ea9d06a8f2f38a40e122f':
  Export get_malloc_leak_info and free_malloc_leak_info, used by ddms.
2014-05-16 23:33:54 +00:00
Elliott Hughes
5e6e3edbba Merge "Export get_malloc_leak_info and free_malloc_leak_info, used by ddms." 2014-05-16 23:30:53 +00:00
Elliott Hughes
7c9923d05f Export get_malloc_leak_info and free_malloc_leak_info, used by ddms.
Bug: 11156955
Change-Id: I84043f7b2c0ea0e336f6e2af3b7adb2f8488bd53
2014-05-16 16:29:55 -07:00
Elliott Hughes
838c5c2570 am a23ee2cf: Merge "Hide _exit_with_stack_teardown."
* commit 'a23ee2cf8e8665efe4e0929467782fad7ad31661':
  Hide _exit_with_stack_teardown.
2014-05-16 23:26:30 +00:00
Elliott Hughes
a23ee2cf8e Merge "Hide _exit_with_stack_teardown." 2014-05-16 23:23:36 +00:00
Elliott Hughes
31d0398de6 Hide _exit_with_stack_teardown.
Bug: 11156955
Change-Id: Ida3020343c9975177dc324918cd1f10c455eb173
2014-05-16 16:17:44 -07:00
Elliott Hughes
30f89b6f32 am aafa3d0e: Merge "Hide various debug malloc implementation details."
* commit 'aafa3d0e4623f3c57c7abe66f6afa726b9cde348':
  Hide various debug malloc implementation details.
2014-05-16 23:07:43 +00:00
Elliott Hughes
aafa3d0e46 Merge "Hide various debug malloc implementation details." 2014-05-16 23:04:02 +00:00
Elliott Hughes
48ecb3a64c am 58b52fb1: Merge "Remove dead code."
* commit '58b52fb133ee4f8a82d3da5c439ca7b9d2caa2bf':
  Remove dead code.
2014-05-16 22:54:31 +00:00
Elliott Hughes
67e34f3074 am e2d5746a: Merge "Hide __signalfd4, used to implement signalfd(3)."
* commit 'e2d5746a8ae9c7dd957b46286af42e7ff412a68b':
  Hide __signalfd4, used to implement signalfd(3).
2014-05-16 22:54:30 +00:00
Elliott Hughes
58b52fb133 Merge "Remove dead code." 2014-05-16 22:52:41 +00:00
Elliott Hughes
e2d5746a8a Merge "Hide __signalfd4, used to implement signalfd(3)." 2014-05-16 22:51:29 +00:00
Elliott Hughes
7222b1b594 Hide __signalfd4, used to implement signalfd(3).
Bug: 11156955
Change-Id: I50842279cb5b32ec8bd45193435574e415cd806e
2014-05-16 15:47:29 -07:00
Jingwei Zhang
568d64dc62 Accuracy tests for libm
This patch adds tests for 14 math functions to address coverage
issue of math functions discussed in:
https://android-review.googlesource.com/#/c/49653/

Change-Id: Ia7200b93d4f5c7928a3fb827ca6932226384a116
Signed-off-by: Jingwei Zhang <jingwei.zhang@intel.com>
Signed-off-by: Yong Yao <yong.yao@intel.com>
2014-05-16 15:31:55 -07:00
Elliott Hughes
6b7987cca3 Hide various debug malloc implementation details.
Bug: 11156955
Change-Id: Ib9d69d49ecec8eff4f12392bde94d843ae53d442
2014-05-16 15:23:54 -07:00
Elliott Hughes
bd27a8b4af Remove dead code.
This doesn't exist upstream.

Really we should upgrade to the current arc4random, but that's a bigger
job for another day.

Bug: 11156955
Change-Id: If6cd41b79139c64c17e81999e246cf4f00882ce8
2014-05-16 14:43:00 -07:00
Elliott Hughes
7177d1d6bb am d9b06298: Merge "Hide __futex_wake_ex and __futex_wait_ex."
* commit 'd9b0629868fe4a2ce2e144b826dd869b6d808834':
  Hide __futex_wake_ex and __futex_wait_ex.
2014-05-16 19:59:57 +00:00
Elliott Hughes
d9b0629868 Merge "Hide __futex_wake_ex and __futex_wait_ex." 2014-05-16 19:56:52 +00:00
Elliott Hughes
3973de9616 Hide __futex_wake_ex and __futex_wait_ex.
Also remove some cruft that isn't needed now we're using uapi headers.

Bug: 11156955
Change-Id: I936b9c5b01d8bd6bfb2e5bc0e3f86cd86739cc04
2014-05-16 12:53:31 -07:00
Elliott Hughes
9700b6ca97 am 22ade3c3: Merge "With libstdc++ in libc, __futex_wait and __futex_wake can be hidden."
* commit '22ade3c30d83407d19cd3a2b49ead66e6c5e3cf0':
  With libstdc++ in libc, __futex_wait and __futex_wake can be hidden.
2014-05-16 18:03:32 +00:00
Elliott Hughes
22ade3c30d Merge "With libstdc++ in libc, __futex_wait and __futex_wake can be hidden." 2014-05-16 18:00:51 +00:00
Elliott Hughes
879180c3ac With libstdc++ in libc, __futex_wait and __futex_wake can be hidden.
This patch is conservative and just touches LP64. (But not because we
know of anyone using this in LP32.)

Bug: 13367666
Change-Id: Id45652debc4534584479b16b501401f6f23acea9
2014-05-16 10:58:59 -07:00
Elliott Hughes
80cff53e13 am 2a602272: Merge "Move libstdc++ into libc."
* commit '2a60227223da700e4ae1b5436f61aea99fc7a5aa':
  Move libstdc++ into libc.
2014-05-16 16:39:45 +00:00
Elliott Hughes
2a60227223 Merge "Move libstdc++ into libc." 2014-05-16 16:37:20 +00:00
Christopher Ferris
0d9c78afb3 am 5265ad62: Merge "Fix comment typo."
* commit '5265ad6273cd7c61d096ebe0e29e493915e7c63e':
  Fix comment typo.
2014-05-16 02:16:17 +00:00
Christopher Ferris
5265ad6273 Merge "Fix comment typo." 2014-05-16 02:14:07 +00:00