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
Jean-Baptiste Queru
8897e7301a
am 6bf5bce6
: am f588772b
: Merge changes I9347ab44,I3f080b34
...
* commit '6bf5bce64439f196a131cb94f48ba785ee483e99':
use consistent guards for off_t and size_t defines for IA
Simplify variable typing for IA builds
2011-01-11 15:22:59 -08: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
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
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
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
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
Jean-Baptiste Queru
3d302be485
Merge "android-x86: add sigsetjmp.S"
2010-12-29 11:01:23 -08:00
Jean-Baptiste Queru
6042658cb5
am b05aa150
: Merge "Replace all occurrances of asm with __asm__ in the output headers"
...
* commit 'b05aa1500035d0e02d30143a0702a72b111f200e':
Replace all occurrances of asm with __asm__ in the output headers
2010-12-28 11:35:22 -08:00
Jean-Baptiste Queru
b05aa15000
Merge "Replace all occurrances of asm with __asm__ in the output headers"
2010-12-28 11:10:31 -08:00
Chih-Wei Huang
18635d9c17
android-x86: add sigsetjmp.S
...
It adds two functions sigsetjmp and siglongjmp
that fix compiling errors in bluetooth and mksh.
Copy directly from sigsetjmp.S of OpenBSD.
Change-Id: I4696f82ee6f85d1c93cbdd3c9e40f4917d50f3a6
2010-12-26 09:22:13 -08:00
Chih-Wei Huang
b9aedb2c57
android-x86: use proper variable typing
...
Change-Id: Iff99932acd2f6cb482fc5da9ff586d7ab2a8b209
2010-12-23 09:32:12 +08:00
David Turner
4ad2f19f14
am a4f6d228
: Merge "Add a method for replacing tokens in the preprocessed headers"
...
* commit 'a4f6d2281f979c013080e28b1f658c2ba9a8e9f3':
Add a method for replacing tokens in the preprocessed headers
2010-12-22 11:29:30 -08:00
David 'Digit' Turner
0546fd7ee0
libc: remove obsolete sha1hash.c source file
...
The source file is not part of the C library build, so the Android.mk
is unaffected. In other words, this source file was never compiled.
Change-Id: Idec3d5b6ec30dc9ee38296d12dc6e522997df29a
2010-12-20 16:03:07 +01:00
David 'Digit' Turner
5c8c00a95a
libc: Fix the definition of SIGRTMAX
...
After this change, SIGRTMAX will be set to 64 (instead of 32 currently).
Note that this doesn't change the fact that our sigset_t is still defined
as a 32-bit unsigned integer, so most functions that deal with this type
won't support real-time signals though.
Change-Id: Ie1e2f97d646f1664f05a0ac9cac4a43278c3cfa8
2010-12-20 15:58:06 +01:00
David 'Digit' Turner
be5755969d
linker: Remove unsecure env. variable for setuid programs.
...
This removes several unsecure environment variables from the
environment block when the program being loaded is setuid. The
list of env. variables is the same than what GLibc uses at this
point.
Change-Id: I456d3ea0880fe0d4de0d3c5dd51871dd36e87fd6
2010-12-20 12:06:45 +01:00
David Turner
a4f6d2281f
Merge "Add a method for replacing tokens in the preprocessed headers"
2010-12-20 02:43:26 -08:00
Steinar H. Gunderson
d1624add2b
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.
...
Change-Id: I53a8613ca9eb61cac0bf18f0b5f98a2d35ab9c50
2010-12-20 11:15:33 +01:00