Brad Fitzpatrick
5b98774566
am b8175727
: am 9a330512
: Merge "Add time-to-live (TTL) support to resolver cache"
...
* commit 'b8175727c7a165076311f18c29f09bdc27d7be10':
Add time-to-live (TTL) support to resolver cache
2011-02-03 18:07:54 -08:00
David 'Digit' Turner
d51564f918
Merge "libc: Fix struct user_vfp definition."
2011-02-03 10:31:27 -08:00
David Turner
820e6867e2
Merge "Bug 3330205 Thread safety for bignum powers of 5"
2011-02-03 04:45:51 -08:00
David Turner
d1c780e5d3
Merge changes I6b304dfb,I4a3c2035,I5af12b3f,I0ef33ca6,I149c46e7
...
* changes:
Add icmp6.h and ip6.h files from current NetBSD libc.
Include the Linux ipv6.h header from netinet/in.h, to get things like in6_pktinfo.
Add IN6ADDR_LOOPBACK_INIT macro to <netinet/in6.h>, as the kernel headers do not provide it anymore.
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.)
Fix syntax error in defaults.py.
2011-02-03 04:44:31 -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
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
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
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
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
Colin Cross
56faf66fd7
raise: Send signal to current thread
...
Change-Id: Ie4318b8ddd01cc2f58f5e07c1d71376953943153
2011-01-21 11:39:15 -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
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
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
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
Glenn Kasten
f4e10b721e
Merge "Bug 3330205 Put blanks and zeroes in const area"
2011-01-16 08:50:20 -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
Lorenzo Colitti
f65368a693
Merge "Implement RFC3484 policy table changes from draft-ietf-6man-rfc3484-revise-01."
2011-01-14 12:12:37 -08:00
Steinar H. Gunderson
d33019030c
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).
Change-Id: Ieb111e0edd705992bc9d066befaaee95a8c1a5df
2011-01-13 17:42:58 +01:00
David Turner
e955e6ca6c
Merge "Bug 3330205 Thread safe strptime implementation"
2011-01-13 02:34:38 -08:00
Glenn Kasten
b138e4f90f
Bug 3330205 Thread safe strptime implementation
...
Change-Id: I03e72b0253a7a2e015455ab81dbf155ed1e574d2
2011-01-11 09:33:04 -08:00
David 'Digit' Turner
b969b5a32a
libc: fix kernel cleanup script typo.
...
Change-Id: I5fc119be535ed47dadc780234665335efa6b9ac5
2011-01-11 17:23:10 +01:00
Glenn Kasten
43164fcbdf
Merge "Bug 3330205 Reentrant MD5"
2011-01-10 16:27:56 -08:00
Glenn Kasten
604085c380
Merge "Bug 3330205 Remove unnecessary static variable"
2011-01-10 16:25:47 -08:00
Glenn Kasten
a37cf34ede
Bug 3330205 Reentrant MD5
...
Change-Id: I4c8e4a8f3ef4cdaac50f32d9e55accb16133ab35
2011-01-09 12:37:26 -08:00
Glenn Kasten
e9d0518394
Bug 3330205 Remove unnecessary static variable
...
Change-Id: I7e781d26d6565952712f8fb0274d336462b441fd
2011-01-09 11:47:42 -08:00
Glenn Kasten
0946b1f6e9
Bug 3330205 Put blanks and zeroes in const area
...
Change-Id: I8f25aebd1ded3617dc60951271767281f73b8684
2011-01-09 11:38:56 -08:00
Bruce Beare
684305fe24
am 3c56ce49
: use consistent guards for off_t and size_t defines for IA
...
* commit '3c56ce497d1ea3baa6406c49be82c1245fda2443':
use consistent guards for off_t and size_t defines for IA
2011-01-08 13:14:40 -08:00
Bruce Beare
e66695d083
am ce6c1d61
: Simplify variable typing for IA builds
...
* commit 'ce6c1d6184b76bbaee65d91dd715c771fd1a4652':
Simplify variable typing for IA builds
2011-01-08 13:14:37 -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
Dmitry Shmidt
015610e64e
Merge "Update headers for iproute2 ver 2.6.35"
2011-01-06 16:24:47 -08:00
Dmitry Shmidt
ce69c5e62f
Update headers for iproute2 ver 2.6.35
...
Change-Id: I170cc175b52379be6f5bd1106d43692ca7a629d2
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
2011-01-06 15:30:35 -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