David Turner
8db7bcb14f
Merge "Replace __atomic_XXX with GCC __sync_XXX intrinsics."
2011-02-06 15:01:39 -08:00
David Turner
1447332ffa
Merge "move some typedefs to procfs.h required by gdbserver build"
2011-02-06 15:01:02 -08:00
David Turner
2282ecc295
Merge "Use more optimized version of memmove"
2011-02-04 05:13:35 -08:00
Bruce Beare
0f2001b147
Replace __atomic_XXX with GCC __sync_XXX intrinsics.
...
Change-Id: I14f275392fcd70cc15e307470e0a099777c7c09e
Author: H.J. Lu <hjl.tools@gmail.com>
Signed-off-by: Bruce Beare <bruce.j.beare@intel.com>
2011-02-03 12:21:03 -08:00
Bruce Beare
f6ccc15457
move some typedefs to procfs.h required by gdbserver build
...
Change-Id: I51fba4ceb80b63e583f462a2a00f3f658c7cdd36
Signed-off-by: Bruce Beare <bruce.j.beare@intel.com>
2011-02-03 12:21:02 -08:00
Johannes Carlsson
0f67de14e6
Use more optimized version of memmove
...
On ARM there is currently no assembler optimized memmove in libc.
There is however a more optimized bcopy which copies long instead
of bytes where possible. This almost doubles the performance in
best case.
Change-Id: I1f1cd27529443358047c385730deaf938ce4e642
2011-02-03 15:17:13 +01:00
Brad Fitzpatrick
9a33051289
Merge "Add time-to-live (TTL) support to resolver cache"
2011-02-02 14:55:20 -08:00
Mattias Falk
3e0c5102e6
Add time-to-live (TTL) support to resolver cache
...
Use the the TTL of the answer as the time a query
shall remain in the resolver cache.
Added some debugging support as well, i.e.
parse answer and print a la dig.
Change-Id: I724d3392245032592f1912f3ca7a81a8987ebbac
2011-02-02 16:40:01 +01:00
David 'Digit' Turner
59290f4c88
am 8e2ff164
: libm: Add nanf() and tgammaf() implementations.
...
* commit '8e2ff164cc327aad8666333a1d75f86291858da0':
libm: Add nanf() and tgammaf() implementations.
2011-01-26 05:34:40 -08:00
Brad Fitzpatrick
90da07a882
am d05446b3
: am 7a2e1a02
: Merge "Don\'t proxy getaddrinfo when net.dns1.[MYPID] is set."
...
* commit 'd05446b34e416d89261a31452afee10eb12bb71d':
Don't proxy getaddrinfo when net.dns1.[MYPID] is set.
2011-01-25 16:14:11 -08:00
Brad Fitzpatrick
901f24b988
resolved conflicts for merge of ff242869
to honeycomb-plus-aosp
...
Change-Id: I560f07374589a844bdf611da8ec5e358dc451ba4
2011-01-25 16:11:42 -08:00
Brad Fitzpatrick
d05446b34e
am 7a2e1a02
: Merge "Don\'t proxy getaddrinfo when net.dns1.[MYPID] is set."
...
* commit '7a2e1a0245f5645661fdbc6887c2bc7c7f49e0ee':
Don't proxy getaddrinfo when net.dns1.[MYPID] is set.
2011-01-25 15:41:28 -08:00
Brad Fitzpatrick
ff24286911
am 0ec85334
: Merge "DNS proxy: the start. proxies getaddrinfo calls."
...
* commit '0ec85334ff375a2b7823f322e083d4a0ea24c289':
DNS proxy: the start. proxies getaddrinfo calls.
2011-01-25 15:41:21 -08:00
Brad Fitzpatrick
7a2e1a0245
Merge "Don't proxy getaddrinfo when net.dns1.[MYPID] is set."
2011-01-25 15:09:13 -08:00
Brad Fitzpatrick
0ec85334ff
Merge "DNS proxy: the start. proxies getaddrinfo calls."
2011-01-25 15:09:09 -08:00
David 'Digit' Turner
8e2ff164cc
libm: Add nanf() and tgammaf() implementations.
...
Requested by b/3370708 to export these through RenderScript.
Change-Id: I1ae69f87a1ad4765b2dee8e4a6f2f3a6eb7c5ad4
2011-01-25 17:07:26 +01:00
David Turner
f03e2d3f31
am 5d45fa40
: am 2081fda6
: Merge "Only look up A records if the system has IPv4." into gingerbread
...
* commit '5d45fa4049d9ba03c0d922ece18d1d2dda119dc7':
Only look up A records if the system has IPv4.
2011-01-21 15:50:23 -08:00
tedbo
ccd547800a
am b67c1bac
: Fix bug in linker environment variable lookup.
...
* commit 'b67c1bacd0fc27c26cc3ec19bd2c9ded19cecd08':
Fix bug in linker environment variable lookup.
2011-01-21 13:10:24 -08:00
Colin Cross
84f4753d1b
am 56faf66f
: raise: Send signal to current thread
...
* commit '56faf66fd7a90ea11835f8f0c9a7d6d8b350a09d':
raise: Send signal to current thread
2011-01-21 12:36:31 -08:00
tedbo
b67c1bacd0
Fix bug in linker environment variable lookup.
...
The linker_env_get() method that is used to match an environment
variable was failing due to an incorrect equality check.
This was introduced in git change
be5755969d
.
The bug was causing the linker to ignore environment variables such
as LD_LIBRARY_PATH. This issue also affects the linker_env_secure()
path that removes unsafe environment variables, since it would
not match any in the unsecure variable list.
Change-Id: I14228df9252010e9fb4c1862bed5735f23e97aec
2011-01-21 21:15:08 +01:00
Colin Cross
56faf66fd7
raise: Send signal to current thread
...
Change-Id: Ie4318b8ddd01cc2f58f5e07c1d71376953943153
2011-01-21 11:39:15 -08:00
David Turner
5d45fa4049
am 2081fda6
: Merge "Only look up A records if the system has IPv4." into gingerbread
...
* commit '2081fda69a68505c914324797400b1b798516904':
Only look up A records if the system has IPv4.
2011-01-18 17:34:33 -08:00
David Turner
2081fda69a
Merge "Only look up A records if the system has IPv4." into gingerbread
2011-01-18 17:32:02 -08:00
Steinar H. Gunderson
76b6f084ab
am 2be18508
: am 2e23e292
: Backport (simple cherry-pick) d33019030c
to gingerbread.
...
* commit '2be18508f349b74b60b09e1b1118d879afb5928c':
Backport (simple cherry-pick) d33019030c
to gingerbread.
2011-01-17 12:19:01 -08:00
Steinar H. Gunderson
8217a9414f
am 4eb4c932
: am f4dca7be
: Backport (simple cherry-pick) 64b6c43379
to gingerbread.
...
* commit '4eb4c932dccdca663a651630fed14c760ea1e88c':
Backport (simple cherry-pick) 64b6c43379
to gingerbread.
2011-01-17 12:18:59 -08:00
Steinar H. Gunderson
4fbecd297a
am 42e449e9
: am a798b9f0
: Backport (simple cherry-pick) d1624add2b
to gingerbread.
...
* commit '42e449e972c94d4af5a5ddffe2ffa73cc5666712':
Backport (simple cherry-pick) d1624add2b
to gingerbread.
2011-01-17 12:18:57 -08:00
Steinar H. Gunderson
2be18508f3
am 2e23e292
: Backport (simple cherry-pick) d33019030c
to gingerbread.
...
* commit '2e23e29245aa42d0f9419187c94e72dba3888eef':
Backport (simple cherry-pick) d33019030c
to gingerbread.
2011-01-17 12:15:45 -08:00
Steinar H. Gunderson
4eb4c932dc
am f4dca7be
: Backport (simple cherry-pick) 64b6c43379
to gingerbread.
...
* commit 'f4dca7be3b7bc181f1534be187428c5a52cb8c6a':
Backport (simple cherry-pick) 64b6c43379
to gingerbread.
2011-01-17 12:15:44 -08:00
Steinar H. Gunderson
42e449e972
am a798b9f0
: Backport (simple cherry-pick) d1624add2b
to gingerbread.
...
* commit 'a798b9f0e171643b0bc7bbf79f14cb018689f715':
Backport (simple cherry-pick) d1624add2b
to gingerbread.
2011-01-17 12:15:41 -08:00
Lorenzo Colitti
ba96e30fa0
Only look up A records if the system has IPv4.
...
getaddrinfo only asks DNS for IPv6 addresses if the system
has IPv6 connectivity, but always asks for IPv4 addresses.
Don't ask for IPv4 addresses if there is no IPv4
connectivity.
Change-Id: Iefe9fcb006fabe60b4b11dd4653a7c4a406506f4
2011-01-15 19:02:58 -08:00
Steinar H. Gunderson
2e23e29245
Backport (simple cherry-pick) d33019030c
...
to gingerbread.
Implement RFC3484 policy table changes from draft-ietf-6man-rfc3484-revise-01.
The changes in a nutshell:
- Handle v4-mapped as different from v4-compat (this was probably
an existing bug in our code).
- Add policy entries for ULA, above most everything else.
- Put v4-compat, old-style IPv6 site-local and 6bone addresses
way down in the preference table.
The rest is just shuffling numbers around (no actual changes to
priority).
2011-01-14 21:41:18 +01:00
Steinar H. Gunderson
f4dca7be3b
Backport (simple cherry-pick) 64b6c43379
...
to gingerbread.
Add a new #define IN6_IS_ADDR_ULA, for testing for Universal Local IPv6 Unicast addresses (ULAs). These replace the old site-local IPv6 addresses.
2011-01-14 21:40:57 +01:00
Steinar H. Gunderson
a798b9f0e1
Backport (simple cherry-pick) d1624add2b
...
to gingerbread.
Don't treat private IPv4 addresses as being in a non-global scope. The effect of this change is essentially to prefer NATed IPv4 over 6to4.
2011-01-14 21:40:34 +01:00
Jean-Baptiste Queru
6bf5bce644
am f588772b
: Merge changes I9347ab44,I3f080b34
...
* commit 'f588772b05c35f19e25404bedc7890289de7c4b9':
use consistent guards for off_t and size_t defines for IA
Simplify variable typing for IA builds
2011-01-11 14:56:52 -08:00
Bruce Beare
3c56ce497d
use consistent guards for off_t and size_t defines for IA
...
Change-Id: Ie92b7597883c99e7f4101f4cf5e0ad267b4ee706
2011-01-07 11:42:54 -08:00
Bruce Beare
ce6c1d6184
Simplify variable typing for IA builds
...
Change-Id: I065e5176b3a15bd74ba832f8827b4a4e4837b0f7
2011-01-07 11:40:42 -08:00
Jean-Baptiste Queru
f588772b05
Merge changes I9347ab44,I3f080b34
...
* changes:
use consistent guards for off_t and size_t defines for IA
Simplify variable typing for IA builds
2011-01-07 11:39:25 -08:00
Brad Fitzpatrick
555e02dee7
Don't proxy getaddrinfo when net.dns1.[MYPID] is set.
...
Part of on-going DNS proxy/cache work.
Bug: 1146676
Change-Id: I5e6028169c81c2223efc34c3b57e348c44f26d26
2011-01-06 11:24:52 -08:00
Brad Fitzpatrick
52583cc679
DNS proxy: the start. proxies getaddrinfo calls.
...
Will also need to do gethostinfo, but that's probably about it.
It was cleaner to do it at this level, rather than speaking in terms
of DNS packets.
Change-Id: I047cc459979ffb0170a3eb0d432a7e827fb71c26
2011-01-06 11:24:43 -08:00
Steinar H. Gunderson
64b6c43379
Add a new #define IN6_IS_ADDR_ULA, for testing for Universal Local IPv6 Unicast addresses (ULAs). These replace the old site-local IPv6 addresses.
...
Change-Id: I2656423764569d07b92b8eb8fe6dcad6eba5b0bb
2011-01-05 13:55:40 +01:00
David 'Digit' Turner
72a23d0560
Merge "libc: Fix the definition of SIGRTMAX"
2011-01-05 00:19:20 -08:00
Lorenzo Colitti
81e03be699
Merge "Don't treat private IPv4 addresses as being in a non-global scope. The effect of this change is essentially to prefer NATed IPv4 over 6to4."
2011-01-04 20:09:37 -08:00
David 'Digit' Turner
2a9b0df9e7
Merge "libc: remove obsolete sha1hash.c source file"
2011-01-04 12:30:23 -08:00
Bruce Beare
3fbd2b3f6d
use consistent guards for off_t and size_t defines for IA
...
Change-Id: I9347ab4407c48c71c99f42583523ebe31a5e67ae
Signed-off-by: Bruce Beare <bruce.j.beare@intel.com>
2011-01-02 17:00:11 -08:00
Bruce Beare
42c701708f
Simplify variable typing for IA builds
...
Change-Id: I3f080b34360bfade0dbd5e2d8d0365e049162e4c
Signed-off-by: Bruce Beare <bruce.j.beare@intel.com>
2011-01-02 17:00:10 -08:00
David Turner
99d685d288
am 3de4dcdb
: Merge "android-x86: use proper variable typing"
...
* commit '3de4dcdb189262e5beb73fe8431df67d51ec9f5f':
android-x86: use proper variable typing
2010-12-31 03:03:42 -08:00
David Turner
ce13670546
am ae5df14f
: Merge "Use __asm__ instead of asm in public libc headers"
...
* commit 'ae5df14f9349a000356cf45ec0292bc21ceb5b3a':
Use __asm__ instead of asm in public libc headers
2010-12-31 03:03:39 -08:00
David Turner
3de4dcdb18
Merge "android-x86: use proper variable typing"
2010-12-31 02:35:25 -08:00
David Turner
ae5df14f93
Merge "Use __asm__ instead of asm in public libc headers"
2010-12-31 02:30:33 -08:00
Jean-Baptiste Queru
53c3e86fae
am 3d302be4
: Merge "android-x86: add sigsetjmp.S"
...
* commit '3d302be485bc2f62a889fac85e386c9b8775eb59':
android-x86: add sigsetjmp.S
2010-12-29 11:29:33 -08:00