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
30b4d82bba
libc: Fix struct user_vfp definition.
...
This patch moves the definition of struct user_vfp from <asm/ptrace.h>
to <asm/user.h> for the ARM platform, in order to match the original
kernel headers.
See patches 94519 and 94520 for a description of the problem and a
fix for debuggerd that uses the structure.
This prevented us from properly re-running the kernel headers cleanup
scripts.
Change-Id: I43718a59ae49b9d89fc2d1c8affb65973fb2919c
2011-02-01 15:28:36 +01:00
David 'Digit' Turner
040e18f362
Merge "libc: fix kernel cleanup script typo."
2011-01-31 07:53:11 -08:00
The Android Open Source Project
727c443a27
am 977e0cb4
: Reconcile gingerbread-plus-aosp and honeycomb
...
* commit '977e0cb4d378368a655b39157161218f0ce5c078':
2011-01-30 12:53:48 -08:00
The Android Open Source Project
9bfd3f54e6
Mass merge from gingerbread - do not merge
...
Change-Id: I105c2c728aef42629dbb44af8e3d1044c4ae1e97
2011-01-30 12:39:43 -08:00
The Android Open Source Project
977e0cb4d3
Reconcile gingerbread-plus-aosp and honeycomb
...
Change-Id: I39eeb24bc7dc2fe2f9223e079aeccf4966d92d38
2011-01-30 12:39:43 -08:00
Steinar H. Gunderson
6846a45882
Add icmp6.h and ip6.h files from current NetBSD libc.
...
Change-Id: I6b304dfbefaec74c5fb15b216f38d698a55f0642
2011-01-28 18:28:27 +01:00
Steinar H. Gunderson
bdca379412
Include the Linux ipv6.h header from netinet/in.h, to get things like in6_pktinfo.
...
Change-Id: I4a3c2035ff8e2846352345580756a1bdc2768ec4
2011-01-28 18:28:27 +01:00
Steinar H. Gunderson
3de0321690
Add IN6ADDR_LOOPBACK_INIT macro to <netinet/in6.h>, as the kernel headers do not provide it anymore.
...
Change-Id: I5af12b3f38097ed165e64a408253dc375aa605d7
2011-01-28 18:28:19 +01:00
David Turner
b0350d9b22
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-27 18:28:28 -08:00
Steinar H. Gunderson
24e570257e
am 2e23e292
: Backport (simple cherry-pick) d33019030c
to gingerbread.
...
* commit '2e23e29245aa42d0f9419187c94e72dba3888eef':
Backport (simple cherry-pick) d33019030c
to gingerbread.
2011-01-27 08:49:03 -08:00
Steinar H. Gunderson
1e9496756c
am f4dca7be
: Backport (simple cherry-pick) 64b6c43379
to gingerbread.
...
* commit 'f4dca7be3b7bc181f1534be187428c5a52cb8c6a':
Backport (simple cherry-pick) 64b6c43379
to gingerbread.
2011-01-27 08:49:01 -08:00
Steinar H. Gunderson
7704f449c9
am a798b9f0
: Backport (simple cherry-pick) d1624add2b
to gingerbread.
...
* commit 'a798b9f0e171643b0bc7bbf79f14cb018689f715':
Backport (simple cherry-pick) d1624add2b
to gingerbread.
2011-01-27 08:48:53 -08:00
David 'Digit' Turner
0d1ef5a3df
am 59290f4c
: am 8e2ff164
: libm: Add nanf() and tgammaf() implementations.
...
* commit '59290f4c88241c23f3f9cfcbb28e3011035f1012':
libm: Add nanf() and tgammaf() implementations.
2011-01-26 05:38:56 -08: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
c12170c601
am 90da07a8
: am d05446b3
: am 7a2e1a02
: Merge "Don\'t proxy getaddrinfo when net.dns1.[MYPID] is set."
...
* commit '90da07a88225161feedbf518a37a3c22ec12a879':
Don't proxy getaddrinfo when net.dns1.[MYPID] is set.
2011-01-25 16:22:30 -08:00
Brad Fitzpatrick
bd4502a736
am 901f24b9
: resolved conflicts for merge of ff242869
to honeycomb-plus-aosp
...
* commit '901f24b988029ae127362d72f11af67b545a24b6':
DNS proxy: the start. proxies getaddrinfo calls.
2011-01-25 16:22:27 -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
3b3944e42f
am f03e2d3f
: am 5d45fa40
: am 2081fda6
: Merge "Only look up A records if the system has IPv4." into gingerbread
...
* commit 'f03e2d3f3104a85d64f66a18ab13d5ba5fb4131c':
Only look up A records if the system has IPv4.
2011-01-21 15:53:46 -08: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
bdb51d0830
am ccd54780
: am b67c1bac
: Fix bug in linker environment variable lookup.
...
* commit 'ccd547800a9c734d3a1c6054860e7c18538c8d02':
Fix bug in linker environment variable lookup.
2011-01-21 13:12:26 -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
5c6a8a6f41
am 84f4753d
: am 56faf66f
: raise: Send signal to current thread
...
* commit '84f4753d1b5f89ace0cc89021916f6f5b44e6540':
raise: Send signal to current thread
2011-01-21 12:40:07 -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
tedbo
b3cdf7fef8
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: I169024de4a005321e768accd38246fc1d717271b
2011-01-20 20:44:44 -08:00
Steinar H. Gunderson
0688023af7
Update IPv6 kernel headers with new 2.6.37 headers, cleaned by update_all.py. (It wanted to do many other changes, most of them cosmetic, but I only included the IPv6 changes.)
...
Change-Id: I0ef33ca6d890d067949fce772104cd03335f612d
2011-01-20 06:08:40 +01:00
Steinar H. Gunderson
db7c59df6c
Fix syntax error in defaults.py.
...
Change-Id: I149c46e7541af16856264b7f826981ce0d33290b
2011-01-20 06:08:40 +01:00
Glenn Kasten
441d7608b7
Merge "Fix typos"
2011-01-19 16:33:31 -08:00
Glenn Kasten
2cc0d38afb
Bug 3330205, 3362385 clock(3) SMP safety and epoch
...
Change-Id: Ida1e4400489c8c19818c6af5640ab89942c8f712
2011-01-19 16:14:51 -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
Glenn Kasten
1f353828c3
Fix typos
...
Change-Id: Ia02baba53be7034903f325258205441e5c193f7b
2011-01-18 09:36:38 -08:00
Steinar H. Gunderson
eae3fb664e
am 76b6f084
: am 2be18508
: am 2e23e292
: Backport (simple cherry-pick) d33019030c
to gingerbread.
...
* commit '76b6f084ab555ea5610156153371659320f7b56d':
Backport (simple cherry-pick) d33019030c
to gingerbread.
2011-01-17 12:21:40 -08:00
Steinar H. Gunderson
0c1f88a2cd
am 8217a941
: am 4eb4c932
: am f4dca7be
: Backport (simple cherry-pick) 64b6c43379
to gingerbread.
...
* commit '8217a9414fb81932074929afd5afd626e45d07bf':
Backport (simple cherry-pick) 64b6c43379
to gingerbread.
2011-01-17 12:21:38 -08:00
Steinar H. Gunderson
58f708da07
am 4fbecd29
: am 42e449e9
: am a798b9f0
: Backport (simple cherry-pick) d1624add2b
to gingerbread.
...
* commit '4fbecd297ab642c56c94fc7b73348742ff19dac3':
Backport (simple cherry-pick) d1624add2b
to gingerbread.
2011-01-17 12:21:36 -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
Glenn Kasten
144a5d3c86
Bug 3330205 Thread safety for bignum powers of 5
...
Change-Id: I739a06f9037a9fb643276f61601f0f3e192581b8
2011-01-17 11:32:11 -08:00