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
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
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
android-2.3.3_r1.1
android-2.3.3_r1
2011-01-18 17:32:02 -08:00
Steinar H. Gunderson
76b6f084ab
am 2be18508: am 2e23e292: Backport (simple cherry-pick) d33019030c1f0cddca557f9659e3c471bde0e6a9 to gingerbread.
...
* commit '2be18508f349b74b60b09e1b1118d879afb5928c':
Backport (simple cherry-pick) d33019030c1f0cddca557f9659e3c471bde0e6a9 to gingerbread.
2011-01-17 12:19:01 -08:00
Steinar H. Gunderson
8217a9414f
am 4eb4c932: am f4dca7be: Backport (simple cherry-pick) 64b6c43379dba176659bc1313b6bb488ac94cfd6 to gingerbread.
...
* commit '4eb4c932dccdca663a651630fed14c760ea1e88c':
Backport (simple cherry-pick) 64b6c43379dba176659bc1313b6bb488ac94cfd6 to gingerbread.
2011-01-17 12:18:59 -08:00
Steinar H. Gunderson
4fbecd297a
am 42e449e9: am a798b9f0: Backport (simple cherry-pick) d1624add2b73ce8ff7826ce27b1d6d6e35bb83a6 to gingerbread.
...
* commit '42e449e972c94d4af5a5ddffe2ffa73cc5666712':
Backport (simple cherry-pick) d1624add2b73ce8ff7826ce27b1d6d6e35bb83a6 to gingerbread.
2011-01-17 12:18:57 -08:00
Steinar H. Gunderson
2be18508f3
am 2e23e292: Backport (simple cherry-pick) d33019030c1f0cddca557f9659e3c471bde0e6a9 to gingerbread.
...
* commit '2e23e29245aa42d0f9419187c94e72dba3888eef':
Backport (simple cherry-pick) d33019030c1f0cddca557f9659e3c471bde0e6a9 to gingerbread.
2011-01-17 12:15:45 -08:00
Steinar H. Gunderson
4eb4c932dc
am f4dca7be: Backport (simple cherry-pick) 64b6c43379dba176659bc1313b6bb488ac94cfd6 to gingerbread.
...
* commit 'f4dca7be3b7bc181f1534be187428c5a52cb8c6a':
Backport (simple cherry-pick) 64b6c43379dba176659bc1313b6bb488ac94cfd6 to gingerbread.
2011-01-17 12:15:44 -08:00
Steinar H. Gunderson
42e449e972
am a798b9f0: Backport (simple cherry-pick) d1624add2b73ce8ff7826ce27b1d6d6e35bb83a6 to gingerbread.
...
* commit 'a798b9f0e171643b0bc7bbf79f14cb018689f715':
Backport (simple cherry-pick) d1624add2b73ce8ff7826ce27b1d6d6e35bb83a6 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) 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).
2011-01-14 21:41:18 +01:00
Steinar H. Gunderson
f4dca7be3b
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.
2011-01-14 21:40:57 +01:00
Steinar H. Gunderson
a798b9f0e1
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.
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
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