OSDN Git Service
Kenny Root [Thu, 17 Feb 2011 00:39:04 +0000 (16:39 -0800)]
Use CLZ on ARMv5 and newer
Change-Id: Ia5aa6974c0343ae43fbcb91304501213048e9ec0
Mike Lockwood [Wed, 16 Feb 2011 13:57:39 +0000 (05:57 -0800)]
Merge "Add linux/usb/f_accessory.h header for USB accessory driver"
Elliott Hughes [Tue, 15 Feb 2011 22:12:24 +0000 (14:12 -0800)]
Add MODULE_LICENSE_PUBLIC_DOMAIN for the tzdata.
Change-Id: Ie3dd3daef4610f3bd4cbc60f1de854ad28189038
Elliott Hughes [Tue, 15 Feb 2011 21:29:40 +0000 (13:29 -0800)]
Update to 2011b tzdata.
Change-Id: Ic8c9e9a71a52435441db1367fb40b58ae23efe1a
Mike Lockwood [Tue, 15 Feb 2011 14:20:21 +0000 (09:20 -0500)]
Add linux/usb/f_accessory.h header for USB accessory driver
Change-Id: Id6ffd75f855028739674c36f30d2592391d90859
Signed-off-by: Mike Lockwood <lockwood@android.com>
Kenny Root [Mon, 14 Feb 2011 23:46:36 +0000 (15:46 -0800)]
Merge "Fix the handle locking in stdio"
Kenny Root [Sat, 12 Feb 2011 15:13:44 +0000 (07:13 -0800)]
Fix the handle locking in stdio
Fix the handle locking in stdio to use flockfile/funlockfile
internally when and where required. Macros in <stdio.h> are updated
to automatically call the underlying functions when the process is
threaded to obtain the necessary locking. A private mutex is added
to protect __sglue, the internal list of FILE handles, and another
to protect the one-time initialization. Some routines in libc that
use getc() change to use getc_unlocked() as they're either protected
by their own lock or aren't thread-safe routines anyway.
Based on OpenBSD change by guenther@openbsd.org
http://www.mail-archive.com/source-changes@cvs.openbsd.org/msg01015.html
Bug:
3446659
Change-Id: Ie82116e358c541718d6709ec45ca6796be5a007b
Jean-Baptiste Queru [Fri, 11 Feb 2011 20:34:41 +0000 (12:34 -0800)]
Jean-Baptiste Queru [Fri, 11 Feb 2011 20:32:38 +0000 (12:32 -0800)]
Jean-Baptiste Queru [Fri, 11 Feb 2011 20:17:21 +0000 (12:17 -0800)]
Merge "Update"
Dmitry Shmidt [Thu, 6 Jan 2011 23:30:35 +0000 (15:30 -0800)]
Update
Change-Id: I41f590dec6bfd26c36cf01601cf03502d02d29af
Kenny Root [Fri, 11 Feb 2011 01:02:21 +0000 (17:02 -0800)]
Increase SO_MAX to accomodate valgrind
system_server loads up 87 shared libraries upon start. Running under
valgrind pushes this just over the edge of 96. Increase SO_MAX to 128 to
give us some more headroom.
Change-Id: Iadceb14ab6d9621bdccd292570d50867828057d9
David Turner [Mon, 7 Feb 2011 21:51:27 +0000 (13:51 -0800)]
am
b35d80f0: am
76299d19: Merge "Remove an extra register move."
* commit '
b35d80f0b0a6d87ba20aa2de594db19a0ccf93df':
Remove an extra register move.
David Turner [Mon, 7 Feb 2011 21:51:25 +0000 (13:51 -0800)]
am
d7cf6382: am
8db7bcb1: Merge "Replace __atomic_XXX with GCC __sync_XXX intrinsics."
* commit '
d7cf638288f100f29f6ba733c50f12ecdb5e192b':
Replace __atomic_XXX with GCC __sync_XXX intrinsics.
David Turner [Mon, 7 Feb 2011 21:51:22 +0000 (13:51 -0800)]
am
9e401df6: am
1447332f: Merge "move some typedefs to procfs.h required by gdbserver build"
* commit '
9e401df692e3c47124cbaff7b866f55eec3bba27':
move some typedefs to procfs.h required by gdbserver build
David Turner [Mon, 7 Feb 2011 21:43:54 +0000 (13:43 -0800)]
am
dd279aa9: am
2282ecc2: Merge "Use more optimized version of memmove"
* commit '
dd279aa99f6b6310480e28ba1e843a23f722c87e':
Use more optimized version of memmove
David Turner [Mon, 7 Feb 2011 16:00:04 +0000 (08:00 -0800)]
am
76299d19: Merge "Remove an extra register move."
* commit '
76299d196f8cc731b5bd72880f63d9d9cfd05694':
Remove an extra register move.
David Turner [Mon, 7 Feb 2011 16:00:02 +0000 (08:00 -0800)]
am
8db7bcb1: Merge "Replace __atomic_XXX with GCC __sync_XXX intrinsics."
* commit '
8db7bcb14f6a3222151bb5304a55670bad0dc5a1':
Replace __atomic_XXX with GCC __sync_XXX intrinsics.
David Turner [Mon, 7 Feb 2011 16:00:00 +0000 (08:00 -0800)]
am
1447332f: Merge "move some typedefs to procfs.h required by gdbserver build"
* commit '
1447332ffa163f608ebed332e09ab5519e4b17dd':
move some typedefs to procfs.h required by gdbserver build
David Turner [Sun, 6 Feb 2011 23:01:57 +0000 (15:01 -0800)]
Merge "Remove an extra register move."
David Turner [Sun, 6 Feb 2011 23:01:39 +0000 (15:01 -0800)]
Merge "Replace __atomic_XXX with GCC __sync_XXX intrinsics."
David Turner [Sun, 6 Feb 2011 23:01:02 +0000 (15:01 -0800)]
Merge "move some typedefs to procfs.h required by gdbserver build"
David 'Digit' Turner [Sun, 6 Feb 2011 20:53:23 +0000 (12:53 -0800)]
Merge "libc: Update auto-gen scripts"
Andy McFadden [Fri, 4 Feb 2011 22:45:57 +0000 (14:45 -0800)]
Added _memmove_words
Added a memmove() variant for Dalvik's System.arraycopy()
implementation. It guarantees 16-bit or 32-bit atomicity depending
on the alignment of the arguments.
Bug
3398352
Change-Id: Ie7bd246305ef0ff8290513663327c5b81680368d
David Turner [Fri, 4 Feb 2011 18:16:01 +0000 (10:16 -0800)]
am
2282ecc2: Merge "Use more optimized version of memmove"
* commit '
2282ecc295b58197a1e22f38a20750ccab4e3c69':
Use more optimized version of memmove
David Turner [Fri, 4 Feb 2011 13:13:35 +0000 (05:13 -0800)]
Merge "Use more optimized version of memmove"
Brad Fitzpatrick [Fri, 4 Feb 2011 02:07:54 +0000 (18:07 -0800)]
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
Bruce Beare [Thu, 27 Jan 2011 18:25:33 +0000 (10:25 -0800)]
Remove an extra register move.
Change-Id: I63c217b73203b44b1a2e74950b58f2ec12989cab
Author: H.J. Lu <hjl.tools@gmail.com>
Signed-off-by: Bruce Beare <bruce.j.beare@intel.com>
Bruce Beare [Thu, 27 Jan 2011 18:24:52 +0000 (10:24 -0800)]
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>
Bruce Beare [Thu, 27 Jan 2011 18:26:30 +0000 (10:26 -0800)]
move some typedefs to procfs.h required by gdbserver build
Change-Id: I51fba4ceb80b63e583f462a2a00f3f658c7cdd36
Signed-off-by: Bruce Beare <bruce.j.beare@intel.com>
Brad Fitzpatrick [Thu, 3 Feb 2011 19:45:27 +0000 (11:45 -0800)]
am
9a330512: Merge "Add time-to-live (TTL) support to resolver cache"
* commit '
9a3305128920e0ff018d267d1bf4f5e58a5146e5':
Add time-to-live (TTL) support to resolver cache
David 'Digit' Turner [Thu, 3 Feb 2011 18:31:27 +0000 (10:31 -0800)]
Merge "libc: Fix struct user_vfp definition."
David 'Digit' Turner [Mon, 11 Oct 2010 20:11:06 +0000 (22:11 +0200)]
libc: Update auto-gen scripts
Make the scripts use external/kernel-headers/original by default.
clean_header.py: Document -k<path>, add -d<path>
find_headers.py: Make kernel config files optional
update_all.py: Allow setting the path to kernel headers on the command-line
update_all.py: Better formatting of output on ttys
update_all.py: Automatically perform "git add/rm" on affected files.
SYSCALLS.TXT: Fix typo in __socketcall definition.
checksyscalls.py: Add support for superH architecture in the checks.
gensyscalls.py: Automatically perform "git add/rm" on affected files.
cpp.py: Fixed a bug that prevented certain type definitions to
be kept in the generated clean header (e.g.
struct ethtool_drvinfo in <linux/ethtool.h>)
All scripts will use the content of external/kernel-headers/original by default now.
The generated code removes all empty lines and trailing whitespace. This is useful
to ensure a unified output even if we change the parser again in the future.
The top-level disclaimer has been edited with update instructions to regenerate
the headers when needed.
Also, a warning is now inserted every 8th line in the final output:
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Changes under kernel/arch-arm and kernel/arch-x86 should correspond to whitespace
differences and additionnal struct definitions that were missed by the previous
parser implementation.
Change-Id: Icd1c056bacd766759f3e9b7bb5d63a246f3d656a
WARNING: If you run these script, do not submit the result to gerrit for now.
It seems there are discrepancies between the content of original headers
and those currently commited under bionic/libc/kernel/.
(This problem is the main motivation to insert the warning repeatedly).
Current list of issues:
- Missing SuperH headers (i.e. external/kernel-headers/original/asm-sh)
Johannes Carlsson [Thu, 3 Feb 2011 14:16:15 +0000 (15:16 +0100)]
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
David Turner [Thu, 3 Feb 2011 12:45:51 +0000 (04:45 -0800)]
Merge "Bug
3330205 Thread safety for bignum powers of 5"
David Turner [Thu, 3 Feb 2011 12:44:31 +0000 (04:44 -0800)]
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.
Brad Fitzpatrick [Wed, 2 Feb 2011 22:55:20 +0000 (14:55 -0800)]
Merge "Add time-to-live (TTL) support to resolver cache"
Mattias Falk [Mon, 31 Jan 2011 11:42:26 +0000 (12:42 +0100)]
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
David 'Digit' Turner [Tue, 1 Feb 2011 13:50:12 +0000 (14:50 +0100)]
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
David 'Digit' Turner [Mon, 31 Jan 2011 15:53:11 +0000 (07:53 -0800)]
Merge "libc: fix kernel cleanup script typo."
The Android Open Source Project [Sun, 30 Jan 2011 20:53:48 +0000 (12:53 -0800)]
am
977e0cb4: Reconcile gingerbread-plus-aosp and honeycomb
* commit '
977e0cb4d378368a655b39157161218f0ce5c078':
The Android Open Source Project [Sun, 30 Jan 2011 20:39:43 +0000 (12:39 -0800)]
Reconcile gingerbread-plus-aosp and honeycomb
Change-Id: I39eeb24bc7dc2fe2f9223e079aeccf4966d92d38
The Android Open Source Project [Sun, 30 Jan 2011 20:39:43 +0000 (12:39 -0800)]
Mass merge from gingerbread - do not merge
Change-Id: I105c2c728aef42629dbb44af8e3d1044c4ae1e97
Steinar H. Gunderson [Thu, 20 Jan 2011 00:31:36 +0000 (01:31 +0100)]
Add icmp6.h and ip6.h files from current NetBSD libc.
Change-Id: I6b304dfbefaec74c5fb15b216f38d698a55f0642
Steinar H. Gunderson [Wed, 19 Jan 2011 23:25:22 +0000 (00:25 +0100)]
Include the Linux ipv6.h header from netinet/in.h, to get things like in6_pktinfo.
Change-Id: I4a3c2035ff8e2846352345580756a1bdc2768ec4
Steinar H. Gunderson [Wed, 19 Jan 2011 23:21:46 +0000 (00:21 +0100)]
Add IN6ADDR_LOOPBACK_INIT macro to <netinet/in6.h>, as the kernel headers do not provide it anymore.
Change-Id: I5af12b3f38097ed165e64a408253dc375aa605d7
David Turner [Fri, 28 Jan 2011 02:28:28 +0000 (18:28 -0800)]
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.
Steinar H. Gunderson [Thu, 27 Jan 2011 16:49:03 +0000 (08:49 -0800)]
Steinar H. Gunderson [Thu, 27 Jan 2011 16:49:01 +0000 (08:49 -0800)]
Steinar H. Gunderson [Thu, 27 Jan 2011 16:48:53 +0000 (08:48 -0800)]
David 'Digit' Turner [Wed, 26 Jan 2011 13:38:56 +0000 (05:38 -0800)]
am
59290f4c: am
8e2ff164: libm: Add nanf() and tgammaf() implementations.
* commit '
59290f4c88241c23f3f9cfcbb28e3011035f1012':
libm: Add nanf() and tgammaf() implementations.
David 'Digit' Turner [Wed, 26 Jan 2011 13:34:40 +0000 (05:34 -0800)]
am
8e2ff164: libm: Add nanf() and tgammaf() implementations.
* commit '
8e2ff164cc327aad8666333a1d75f86291858da0':
libm: Add nanf() and tgammaf() implementations.
Brad Fitzpatrick [Wed, 26 Jan 2011 00:22:30 +0000 (16:22 -0800)]
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.
Brad Fitzpatrick [Wed, 26 Jan 2011 00:22:27 +0000 (16:22 -0800)]
am
901f24b9: resolved conflicts for merge of
ff242869 to honeycomb-plus-aosp
* commit '
901f24b988029ae127362d72f11af67b545a24b6':
DNS proxy: the start. proxies getaddrinfo calls.
Brad Fitzpatrick [Wed, 26 Jan 2011 00:14:11 +0000 (16:14 -0800)]
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.
Brad Fitzpatrick [Wed, 26 Jan 2011 00:11:42 +0000 (16:11 -0800)]
resolved conflicts for merge of
ff242869 to honeycomb-plus-aosp
Change-Id: I560f07374589a844bdf611da8ec5e358dc451ba4
Brad Fitzpatrick [Tue, 25 Jan 2011 23:41:28 +0000 (15:41 -0800)]
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.
Brad Fitzpatrick [Tue, 25 Jan 2011 23:41:21 +0000 (15:41 -0800)]
am
0ec85334: Merge "DNS proxy: the start. proxies getaddrinfo calls."
* commit '
0ec85334ff375a2b7823f322e083d4a0ea24c289':
DNS proxy: the start. proxies getaddrinfo calls.
Brad Fitzpatrick [Tue, 25 Jan 2011 23:09:13 +0000 (15:09 -0800)]
Merge "Don't proxy getaddrinfo when net.dns1.[MYPID] is set."
Brad Fitzpatrick [Tue, 25 Jan 2011 23:09:09 +0000 (15:09 -0800)]
Merge "DNS proxy: the start. proxies getaddrinfo calls."
David 'Digit' Turner [Tue, 25 Jan 2011 16:05:50 +0000 (17:05 +0100)]
libm: Add nanf() and tgammaf() implementations.
Requested by b/
3370708 to export these through RenderScript.
Change-Id: I1ae69f87a1ad4765b2dee8e4a6f2f3a6eb7c5ad4
David Turner [Fri, 21 Jan 2011 23:53:46 +0000 (15:53 -0800)]
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.
David Turner [Fri, 21 Jan 2011 23:50:23 +0000 (15:50 -0800)]
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.
tedbo [Fri, 21 Jan 2011 21:12:26 +0000 (13:12 -0800)]
am
ccd54780: am
b67c1bac: Fix bug in linker environment variable lookup.
* commit '
ccd547800a9c734d3a1c6054860e7c18538c8d02':
Fix bug in linker environment variable lookup.
tedbo [Fri, 21 Jan 2011 21:10:24 +0000 (13:10 -0800)]
am
b67c1bac: Fix bug in linker environment variable lookup.
* commit '
b67c1bacd0fc27c26cc3ec19bd2c9ded19cecd08':
Fix bug in linker environment variable lookup.
Colin Cross [Fri, 21 Jan 2011 20:40:07 +0000 (12:40 -0800)]
am
84f4753d: am
56faf66f: raise: Send signal to current thread
* commit '
84f4753d1b5f89ace0cc89021916f6f5b44e6540':
raise: Send signal to current thread
Colin Cross [Fri, 21 Jan 2011 20:36:31 +0000 (12:36 -0800)]
am
56faf66f: raise: Send signal to current thread
* commit '
56faf66fd7a90ea11835f8f0c9a7d6d8b350a09d':
raise: Send signal to current thread
tedbo [Fri, 21 Jan 2011 04:44:44 +0000 (20:44 -0800)]
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
be5755969d70668bbab0e0c0ed75ebd867189723.
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
Colin Cross [Fri, 21 Jan 2011 19:37:56 +0000 (11:37 -0800)]
raise: Send signal to current thread
Change-Id: Ie4318b8ddd01cc2f58f5e07c1d71376953943153
tedbo [Fri, 21 Jan 2011 04:44:44 +0000 (20:44 -0800)]
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
be5755969d70668bbab0e0c0ed75ebd867189723.
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
Steinar H. Gunderson [Wed, 19 Jan 2011 23:12:30 +0000 (00:12 +0100)]
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
Steinar H. Gunderson [Wed, 19 Jan 2011 23:03:33 +0000 (00:03 +0100)]
Fix syntax error in defaults.py.
Change-Id: I149c46e7541af16856264b7f826981ce0d33290b
Glenn Kasten [Thu, 20 Jan 2011 00:33:31 +0000 (16:33 -0800)]
Merge "Fix typos"
Glenn Kasten [Sun, 9 Jan 2011 17:57:09 +0000 (09:57 -0800)]
Bug
3330205,
3362385 clock(3) SMP safety and epoch
Change-Id: Ida1e4400489c8c19818c6af5640ab89942c8f712
David Turner [Wed, 19 Jan 2011 01:34:33 +0000 (17:34 -0800)]
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.
David Turner [Wed, 19 Jan 2011 01:32:02 +0000 (17:32 -0800)]
Merge "Only look up A records if the system has IPv4." into gingerbread
Glenn Kasten [Tue, 18 Jan 2011 17:36:38 +0000 (09:36 -0800)]
Fix typos
Change-Id: Ia02baba53be7034903f325258205441e5c193f7b
Steinar H. Gunderson [Mon, 17 Jan 2011 20:21:40 +0000 (12:21 -0800)]
Steinar H. Gunderson [Mon, 17 Jan 2011 20:21:38 +0000 (12:21 -0800)]
Steinar H. Gunderson [Mon, 17 Jan 2011 20:21:36 +0000 (12:21 -0800)]
Steinar H. Gunderson [Mon, 17 Jan 2011 20:19:01 +0000 (12:19 -0800)]
Steinar H. Gunderson [Mon, 17 Jan 2011 20:18:59 +0000 (12:18 -0800)]
Steinar H. Gunderson [Mon, 17 Jan 2011 20:18:57 +0000 (12:18 -0800)]
Steinar H. Gunderson [Mon, 17 Jan 2011 20:15:45 +0000 (12:15 -0800)]
Steinar H. Gunderson [Mon, 17 Jan 2011 20:15:44 +0000 (12:15 -0800)]
Steinar H. Gunderson [Mon, 17 Jan 2011 20:15:41 +0000 (12:15 -0800)]
Glenn Kasten [Sun, 9 Jan 2011 17:50:10 +0000 (09:50 -0800)]
Bug
3330205 Thread safety for bignum powers of 5
Change-Id: I739a06f9037a9fb643276f61601f0f3e192581b8
Glenn Kasten [Sun, 16 Jan 2011 16:50:20 +0000 (08:50 -0800)]
Merge "Bug
3330205 Put blanks and zeroes in const area"
Lorenzo Colitti [Fri, 14 Jan 2011 20:26:05 +0000 (12:26 -0800)]
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
Steinar H. Gunderson [Mon, 20 Dec 2010 10:48:07 +0000 (11:48 +0100)]
Backport (simple cherry-pick)
d33019030c1f0cddca557f9659e3c471bde0e6a9
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).
Steinar H. Gunderson [Mon, 20 Dec 2010 10:33:31 +0000 (11:33 +0100)]
Backport (simple cherry-pick)
64b6c43379dba176659bc1313b6bb488ac94cfd6
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.
Steinar H. Gunderson [Mon, 20 Dec 2010 10:15:33 +0000 (11:15 +0100)]
Backport (simple cherry-pick)
d1624add2b73ce8ff7826ce27b1d6d6e35bb83a6
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.
Lorenzo Colitti [Fri, 14 Jan 2011 20:12:37 +0000 (12:12 -0800)]
Merge "Implement RFC3484 policy table changes from draft-ietf-6man-rfc3484-revise-01."
Steinar H. Gunderson [Mon, 20 Dec 2010 10:48:07 +0000 (11:48 +0100)]
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
David Turner [Thu, 13 Jan 2011 10:34:38 +0000 (02:34 -0800)]
Merge "Bug
3330205 Thread safe strptime implementation"
Jean-Baptiste Queru [Tue, 11 Jan 2011 23:22:59 +0000 (15:22 -0800)]
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
Jean-Baptiste Queru [Tue, 11 Jan 2011 22:56:52 +0000 (14:56 -0800)]
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
Glenn Kasten [Sun, 9 Jan 2011 18:33:23 +0000 (10:33 -0800)]
Bug
3330205 Thread safe strptime implementation
Change-Id: I03e72b0253a7a2e015455ab81dbf155ed1e574d2
David 'Digit' Turner [Tue, 11 Jan 2011 16:23:10 +0000 (17:23 +0100)]
libc: fix kernel cleanup script typo.
Change-Id: I5fc119be535ed47dadc780234665335efa6b9ac5
Glenn Kasten [Tue, 11 Jan 2011 00:27:56 +0000 (16:27 -0800)]
Merge "Bug
3330205 Reentrant MD5"