OSDN Git Service
David 'Digit' Turner [Thu, 4 Aug 2011 18:13:10 +0000 (11:13 -0700)]
am
f03fb955: am
023c4988: Merge "libc: x86: Fixed size_t definition."
* commit '
f03fb955a92bdcc341aaa1b4a6eb2d81bc844e06':
libc: x86: Fixed size_t definition.
David 'Digit' Turner [Thu, 4 Aug 2011 18:09:34 +0000 (11:09 -0700)]
am
023c4988: Merge "libc: x86: Fixed size_t definition."
* commit '
023c49882e247bd0345946c908cff231ebf7097e':
libc: x86: Fixed size_t definition.
David 'Digit' Turner [Thu, 4 Aug 2011 18:01:13 +0000 (11:01 -0700)]
Merge "libc: x86: Fixed size_t definition."
David 'Digit' Turner [Thu, 4 Aug 2011 12:07:00 +0000 (14:07 +0200)]
libc: x86: Fixed size_t definition.
This patch changes the declaration of size_t on x86 targets
to test for the __ANDROID__ macro, instead of ANDROID
__ANDROID__ should be a builting toolchain macro, while ANDROID
is usually added manually during the build.
Testing against __ANDROID__ allows us to use the header when
using the NDK's standalone x86 toolchain.
This is related to http://code.google.com/p/android/issues/detail?id=19011
The bug was already fixed in the NDK platform headers, this simply updates
the C library one accordingly.
Change-Id: Ie038c4c8b37b7d24e2e4ae4d7a63371b69c9a51e
David Turner [Wed, 3 Aug 2011 15:16:37 +0000 (08:16 -0700)]
am
4685acbd: am
9efda5b7: Merge "typo in libc/stdio/wcio.h"
* commit '
4685acbdd45c44e2e21c74242953bee5198209f9':
typo in libc/stdio/wcio.h
David Turner [Wed, 3 Aug 2011 15:14:52 +0000 (08:14 -0700)]
am
9efda5b7: Merge "typo in libc/stdio/wcio.h"
* commit '
9efda5b7d0a2e8d9dc7495680d66085dc0e151f3':
typo in libc/stdio/wcio.h
David Turner [Wed, 3 Aug 2011 15:10:29 +0000 (08:10 -0700)]
Merge "typo in libc/stdio/wcio.h"
Robert Greenwalt [Fri, 29 Jul 2011 18:27:00 +0000 (11:27 -0700)]
am
dfec555c: am
bcf861f2: Merge "Don\'t call freeaddrinfo with a NULL ptr."
* commit '
dfec555c7f1c25f42be209e9027ee47eabe0a7a4':
Don't call freeaddrinfo with a NULL ptr.
Robert Greenwalt [Fri, 29 Jul 2011 17:15:21 +0000 (10:15 -0700)]
am
bcf861f2: Merge "Don\'t call freeaddrinfo with a NULL ptr."
* commit '
bcf861f246bb06ebba2c070af5b3222c5254970d':
Don't call freeaddrinfo with a NULL ptr.
Robert Greenwalt [Fri, 29 Jul 2011 17:00:39 +0000 (10:00 -0700)]
Merge "Don't call freeaddrinfo with a NULL ptr."
Robert Greenwalt [Fri, 29 Jul 2011 00:21:17 +0000 (17:21 -0700)]
Don't call freeaddrinfo with a NULL ptr.
bug:
5067055
Change-Id: I863dc4760a0aa449ac6298397ed571d8d9287801
JP Abgrall [Wed, 27 Jul 2011 16:20:51 +0000 (09:20 -0700)]
am
821bea02: Merge "DO NOT MERGE: libc: enable IPTOS_MINCOST, fixup gethostbyaddr() proto." into honeycomb-LTE
* commit '
821bea0266810e546a842582b0e29a9bfd5223d9':
DO NOT MERGE: libc: enable IPTOS_MINCOST, fixup gethostbyaddr() proto.
JP Abgrall [Wed, 27 Jul 2011 16:20:50 +0000 (09:20 -0700)]
am
30517a93: Merge "DO NOT MERGE: Update netlink-related kernel includes" into honeycomb-LTE
* commit '
30517a9344a8ac06b6962bfb24bb33463767307e':
DO NOT MERGE: Update netlink-related kernel includes
Robert Greenwalt [Wed, 27 Jul 2011 16:18:54 +0000 (09:18 -0700)]
resolved conflicts for merge of
9363d912 to honeycomb-plus-aosp
Change-Id: Ib0680d7e0be34ae656a9675ddd1014a6193a4006
JP Abgrall [Wed, 27 Jul 2011 01:40:04 +0000 (18:40 -0700)]
Merge "DO NOT MERGE: libc: enable IPTOS_MINCOST, fixup gethostbyaddr() proto." into honeycomb-LTE
JP Abgrall [Wed, 27 Jul 2011 01:39:56 +0000 (18:39 -0700)]
Merge "DO NOT MERGE: Update netlink-related kernel includes" into honeycomb-LTE
Robert Greenwalt [Mon, 25 Jul 2011 19:30:17 +0000 (12:30 -0700)]
Add per-interface dns caches.
import of changes 22100 and 23138 from opensource.
Change-Id: I3ce86394323d269272aeb2bebeed4374f171a8cf
JP Abgrall [Wed, 18 May 2011 23:53:23 +0000 (16:53 -0700)]
DO NOT MERGE: libc: enable IPTOS_MINCOST, fixup gethostbyaddr() proto.
DO NOT MERGE: pulled in from master for iptables v1.4.11 update
Make netinet/ip.h have IPTOS_MINCOST which matches what
kernel/common/linux/ip.h has to say.
Fixup gethostbyaddr() 1st arg to match what man has to say.
Change-Id: Iff9647d4a46ea88b1fc32163eb69bb9b27cdf370
Dmitry Shmidt [Tue, 22 Mar 2011 22:21:48 +0000 (15:21 -0700)]
DO NOT MERGE: Update netlink-related kernel includes
DO NOT MERGE: pulled in from master for iptables v1.4.11 update
Change-Id: I7e41bb168a1036093b598383d663a6a2e036ea42
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
Robert Greenwalt [Thu, 21 Jul 2011 00:16:37 +0000 (17:16 -0700)]
am
f6fcdb2e: am
28de3e59: Merge "Don\'t reset caches when dns props change."
* commit '
f6fcdb2edd522de75811c7ccd23e74677bda6856':
Don't reset caches when dns props change.
Robert Greenwalt [Wed, 20 Jul 2011 22:49:50 +0000 (15:49 -0700)]
am
28de3e59: Merge "Don\'t reset caches when dns props change."
* commit '
28de3e5901fd54208f20e027365d2ba7b7e136b6':
Don't reset caches when dns props change.
Robert Greenwalt [Wed, 20 Jul 2011 22:39:28 +0000 (15:39 -0700)]
Merge "Don't reset caches when dns props change."
Mattias Falk [Mon, 4 Apr 2011 14:12:35 +0000 (16:12 +0200)]
Don't reset caches when dns props change.
This happens too frequently. We should flush a per-interface cache
when it's dns server addrs changes.
Change-Id: I8a691c96ce9a775160ef55ddb8f755d649041583
David 'Digit' Turner [Mon, 11 Jul 2011 20:25:01 +0000 (13:25 -0700)]
am
3a131026: resolved conflicts for merge of
50a83255 to gingerbread-plus-aosp
* commit '
3a13102637c8be53edf28f96598ac11aaa3e14df':
enable support for large files (> 2G)
Enable functional DSO object destruction
x86: Enable -fstack-protector
Update X86 Bionic CRT files for unwind/exceptions
bionic, libthread_db x86 fixes
Updated gcc 4.4.3 IA toolchain doesn't require the .ctors list
Remove an extra register move.
Replace __atomic_XXX with GCC __sync_XXX intrinsics.
move some typedefs to procfs.h required by gdbserver build
use consistent guards for off_t and size_t defines for IA
Simplify variable typing for IA builds
sigsetmask.c was not processing the "mask" argument.
Add defines for CAIF support
Remove extra/unneeded copy of fenv.h
Use proper variable typing
Update ATOM string routines to latest
Fix undefined reference to dl_iterate_phdr for x86
Fix missing NL
ptrace.c Fix source file format to unix from dos
David 'Digit' Turner [Mon, 11 Jul 2011 19:39:06 +0000 (21:39 +0200)]
resolved conflicts for merge of
50a83255 to gingerbread-plus-aosp
Change-Id: Idf1971120bbdd52676f95aa3aa69f62342dc012e
David Turner [Mon, 11 Jul 2011 17:46:00 +0000 (10:46 -0700)]
am
57aadbb0: Merge "enable support for large files (> 2G)"
* commit '
57aadbb096a118dd33f9f16c67bd18dbb6b92c4a':
enable support for large files (> 2G)
David 'Digit' Turner [Sat, 9 Jul 2011 01:55:33 +0000 (03:55 +0200)]
merge intel x86 patches into gingerbread branch
Dragos Tatulea [Mon, 4 Jul 2011 15:37:50 +0000 (18:37 +0300)]
enable support for large files (> 2G)
bionic has an i386 ifdef guard for the O_LARGEFILE flag. The reason for this
is not traceable in the git history, but it's most likely due to some old
toolchain or emulator problem.
Bug Id: 10035
Change-Id: I742ee6e50220276c2cb268d66f89b5655ef689fc
Signed-off-by: Dragos Tatulea <dragos.tatulea@intel.com>
David Turner [Sat, 9 Jul 2011 01:52:49 +0000 (18:52 -0700)]
Merge "enable support for large files (> 2G)"
Bruce Beare [Mon, 20 Jun 2011 17:29:50 +0000 (10:29 -0700)]
Enable functional DSO object destruction
Unfortunately, legacy .so files for ARM don't have a correct crtbegin file.
Consequently, we have to grandfather the old __dso_handle behaviour.
Add some ifdefs for ARM to allow it to use the old code until we can work
out a transition.
Change-Id: I6a28f368267d792c94e1d985d8344023bc632f6f
Author: H.J. Lu <hongjiu.lu@intel.com>
Signed-off-by: Bruce Beare <bruce.j.beare@intel.com>
Bruce Beare [Wed, 4 May 2011 04:04:40 +0000 (21:04 -0700)]
x86: Enable -fstack-protector
Change-Id: Iff9e3a3ba0e2d0faa7c6d98154aa5be0cc8a6c50
Orig-Change-Id: Ib69514c3afcb4c1f5e5f3f8cd91acfd145a0866c
Signed-off-by: Bruce Beare <bruce.j.beare@intel.com>
Mark D Horn [Tue, 26 Apr 2011 21:05:30 +0000 (14:05 -0700)]
Update X86 Bionic CRT files for unwind/exceptions
Several updates to Bionic crt*.o files to implement Linux/x86
stack unwind/exception handling.
Mark __dso_handle as hidden.
Note: Requires complete rebuild due to CRT changes. Google will
need to regenerate and check-in all the prebuilt x86 CRT object
files and libraries which link to them.
Change-Id: I01c14c19ef7569c9ffed89495cae2a459972c04b
Orig-Change-Id: I191ce1afb0dee7bbc28dcd9694e5919226dbd070
Signed-off-by: Bruce J Beare <bruce.j.beare@intel.com>
Signed-off-by: Mark D Horn <mark.d.horn@intel.com>
Author: Lu, Hongjiu <hongjiu.lu@intel.com>
James Rose [Tue, 31 May 2011 17:20:42 +0000 (10:20 -0700)]
bionic, libthread_db x86 fixes
Orig-Change-Id: I3be997f5f1f6a894a3c200d4f325cf3bfd428c66
Author: James Rose <james.rose@intel.com>
Signed-off-by: Bruce Beare <bruce.j.beare@intel.com>
Bruce Beare [Thu, 27 Jan 2011 18:23:16 +0000 (10:23 -0800)]
Updated gcc 4.4.3 IA toolchain doesn't require the .ctors list
Orig-Change-Id: Ia840a19a45257128eccdcf25d105f500f2d90741
Signed-off-by: H.J. Lu <hjl.tools@gmail.com>
Signed-off-by: Bruce Beare <bruce.j.beare@intel.com>
Bruce Beare [Thu, 27 Jan 2011 18:25:33 +0000 (10:25 -0800)]
Remove an extra register move.
Orig-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.
Orig-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
Orig-Change-Id: I51fba4ceb80b63e583f462a2a00f3f658c7cdd36
Signed-off-by: Bruce Beare <bruce.j.beare@intel.com>
Bruce Beare [Sun, 26 Dec 2010 17:29:57 +0000 (09:29 -0800)]
use consistent guards for off_t and size_t defines for IA
Orig-Change-Id: I9347ab4407c48c71c99f42583523ebe31a5e67ae
Signed-off-by: Bruce Beare <bruce.j.beare@intel.com>
Bruce Beare [Sun, 26 Dec 2010 17:28:49 +0000 (09:28 -0800)]
Simplify variable typing for IA builds
Orig-Change-Id: I3f080b34360bfade0dbd5e2d8d0365e049162e4c
Signed-off-by: Bruce Beare <bruce.j.beare@intel.com>
Bruce Beare [Sat, 4 Dec 2010 00:48:47 +0000 (16:48 -0800)]
sigsetmask.c was not processing the "mask" argument.
Orig-Change-Id: I79b898ea5b882e8c0564e25466e827a9bedda6e8
Author: yhe19 <yunan.he@intel.com>
Signed-off-by: Bruce Beare <bruce.j.beare@intel.com>
Bruce Beare [Sat, 4 Dec 2010 00:14:59 +0000 (16:14 -0800)]
Add defines for CAIF support
Orig-Change-Id: I32d2e02814f1965ebdcecb804e947ff303dbe230
Author: Mark Gross <mark.gross@intel.com>
Signed-off-by: Bruce Beare <brucex.j.beare@intel.com>
Bruce Beare [Mon, 11 Oct 2010 19:01:14 +0000 (12:01 -0700)]
Remove extra/unneeded copy of fenv.h
Orig-Change-Id: I80da2521c50df7e8967af48164cc834abf499c50
Signed-off-by: Bruce Beare <bruce.j.beare@intel.com>
Bruce Beare [Mon, 11 Oct 2010 19:08:07 +0000 (12:08 -0700)]
Use proper variable typing
Orig-Change-Id: If5c33d90b33f538448ac12e7bee94b4b9173d39c
Signed-off-by: Bruce Beare <bruce.j.beare@intel.com>
Bruce Beare [Tue, 31 May 2011 16:56:55 +0000 (09:56 -0700)]
Update ATOM string routines to latest
Orig-Change-Id: I22a600e7f172681cfd38ff73a64e3fd07b284959
Signed-off-by: Lu, Hongjiu <hongjiu.lu@intel.com>
Signed-off-by: Bruce Beare <bruce.j.beare@intel.com>
Bruce Beare [Thu, 8 Jul 2010 21:47:50 +0000 (14:47 -0700)]
Fix undefined reference to dl_iterate_phdr for x86
Orig-Change-Id: I22410b27939e8f54da932d7a1104102550c4685f
Signed-off-by: Bruce Beare <brucex.j.beare@intel.com>
Bruce Beare [Fri, 25 Jun 2010 16:02:10 +0000 (09:02 -0700)]
Fix missing NL
Orig-Change-Id: Ic210fe9f740b9a8235a66d479ad4eddc869998bb
Signed-off-by: Bruce Beare <brucex.j.beare@intel.com>
Bruce Beare [Tue, 31 May 2011 17:26:08 +0000 (10:26 -0700)]
ptrace.c Fix source file format to unix from dos
Orig-Change-Id: Ia771b457eec7f9575d4631fb1c12a7062ebcc7de
Signed-off-by: Bruce Beare <bruce.j.beare@intel.com>
David 'Digit' Turner [Wed, 6 Jul 2011 17:27:49 +0000 (10:27 -0700)]
am
9c95cbf7: Merge "Really fix the build."
* commit '
9c95cbf75094c15d251bb3d57a55ce47d7c6c2c8':
Really fix the build.
David 'Digit' Turner [Wed, 6 Jul 2011 17:19:47 +0000 (10:19 -0700)]
Merge "Really fix the build."
David 'Digit' Turner [Wed, 6 Jul 2011 17:02:15 +0000 (19:02 +0200)]
Really fix the build.
libcutils/mspace.c includes libc/bionic/dlmalloc.c, we need to
take care of the fact that any internal C library function cannot
be used from it.
Change-Id: I0bc81ae090b7ac2d464f26b97fc6b94a08cdad9c
David 'Digit' Turner [Wed, 6 Jul 2011 16:08:47 +0000 (09:08 -0700)]
am
01eb7f72: Merge "Fix broken build"
* commit '
01eb7f72434830bb14cec906d885d2b7ee40d53b':
Fix broken build
David 'Digit' Turner [Wed, 6 Jul 2011 15:56:48 +0000 (08:56 -0700)]
Merge "Fix broken build"
David 'Digit' Turner [Wed, 6 Jul 2011 15:54:35 +0000 (17:54 +0200)]
Fix broken build
Change-Id: Ia46b50aec51a55434c8828a73e07f4732f8f6c1c
David 'Digit' Turner [Wed, 6 Jul 2011 14:46:40 +0000 (07:46 -0700)]
am
b73b6783: Merge "libc: Add logcat error message for memory corruption"
* commit '
b73b6783a595cf4b1cef6463c23317a8b417f1e9':
libc: Add logcat error message for memory corruption
David 'Digit' Turner [Tue, 5 Jul 2011 18:59:42 +0000 (11:59 -0700)]
Merge "libc: Add logcat error message for memory corruption"
David 'Digit' Turner [Thu, 30 Jun 2011 16:32:03 +0000 (18:32 +0200)]
libc: Add logcat error message for memory corruption
Our dlmalloc implementation currently calls abort() when it detects
that the heap is corrupted, or that an invalid pointer is passed to
one of its functions.
The only way to detect this is because abort() will force-fully
crash the current program with a magic fault address of '0xdeadbaad'.
However, this is not really well documented, and a frequent topic
on the android-ndk forum (among others).
This change makes our dlmalloc code dump a simple message to the
log just before the abort() call (and hence before the stack trace)
to better help identify the problem.
Change-Id: Iebf7eb7fe26463ecadfaca8f247d237edb441e3c
Dragos Tatulea [Mon, 4 Jul 2011 15:37:50 +0000 (18:37 +0300)]
enable support for large files (> 2G)
bionic has an i386 ifdef guard for the O_LARGEFILE flag. The reason for this
is not traceable in the git history, but it's most likely due to some old
toolchain or emulator problem.
Bug Id: 10035
Change-Id: I742ee6e50220276c2cb268d66f89b5655ef689fc
Signed-off-by: Dragos Tatulea <dragos.tatulea@intel.com>
Nathan Forbes [Sun, 3 Jul 2011 00:29:25 +0000 (20:29 -0400)]
typo in libc/stdio/wcio.h
whcar_io_data -> wchar_io_data
Signed-off-by: Nathan Forbes <me@nathanforbes.com>
Change-Id: I45c231efffac265eed51b7632d5a1b21c18bfa55
repo sync [Fri, 1 Jul 2011 00:28:59 +0000 (17:28 -0700)]
resolved conflicts for merge of
2f5c6d2d to honeycomb-plus-aosp
Change-Id: I858210fce4a04531afd9337a098db1dbf2308c2c
Elliott Hughes [Fri, 1 Jul 2011 00:00:17 +0000 (17:00 -0700)]
Merge "Update to tzdata2011h."
Elliott Hughes [Thu, 30 Jun 2011 23:03:23 +0000 (16:03 -0700)]
Update to tzdata2011h.
This includes the Egyptian and Russian DST changes.
(Cherry pick of
dd0ffc738e3f956cf4f0ae409cda22595a33f08b.)
Change-Id: Ibf4b6a1f004c997a0b8df66e78f8867425d15dbe
Robert Greenwalt [Thu, 23 Jun 2011 18:12:19 +0000 (11:12 -0700)]
am
cc32fbc3: Merge "Add support for a dns cache per interface"
* commit '
cc32fbc3050079aa020ac39afb1c84b5e72737a8':
Add support for a dns cache per interface
Robert Greenwalt [Thu, 23 Jun 2011 17:20:38 +0000 (10:20 -0700)]
Merge "Add support for a dns cache per interface"
David Turner [Thu, 23 Jun 2011 17:01:11 +0000 (10:01 -0700)]
am
2be3f09f: Merge "time: Improve C99 compliance"
* commit '
2be3f09f2d9b6d35b262f7a6148f51c164bb8cbb':
time: Improve C99 compliance
David Turner [Thu, 23 Jun 2011 16:10:39 +0000 (09:10 -0700)]
Merge "time: Improve C99 compliance"
David Turner [Thu, 23 Jun 2011 13:13:53 +0000 (06:13 -0700)]
am
ac56f5ca: Merge "strftime: Use snprintf() instead of sprintf()"
* commit '
ac56f5ca2f4c54ddbd37b033f9465d89542c2cbe':
strftime: Use snprintf() instead of sprintf()
David Turner [Thu, 23 Jun 2011 13:04:28 +0000 (06:04 -0700)]
Merge "strftime: Use snprintf() instead of sprintf()"
David Turner [Thu, 23 Jun 2011 12:28:13 +0000 (05:28 -0700)]
am
1c0a0381: Merge "Enable functional DSO object destruction"
* commit '
1c0a0381dfb3648ffadef9537ec9383d63d62473':
Enable functional DSO object destruction
David Turner [Thu, 23 Jun 2011 11:39:04 +0000 (04:39 -0700)]
Merge "Enable functional DSO object destruction"
Jim Huang [Thu, 16 Jun 2011 14:35:16 +0000 (22:35 +0800)]
strftime: Use snprintf() instead of sprintf()
Change-Id: I112ac012894eddc96e5f3e77cb87bb300596e3ce
Signed-off-by: Jim Huang <jserv@0xlab.org>
Jim Huang [Thu, 16 Jun 2011 14:40:10 +0000 (22:40 +0800)]
time: Improve C99 compliance
Quote from Linux Programmer's Manual:
"If t is non-NULL, the return value is also stored in the memory
pointed to by t."
Change-Id: I8cb66b67e5f34c536ce2f0db76a6dc337c42ea3f
Signed-off-by: Jim Huang <jserv@0xlab.org>
Bruce Beare [Mon, 20 Jun 2011 17:29:50 +0000 (10:29 -0700)]
Enable functional DSO object destruction
Unfortunately, legacy .so files for ARM don't have a correct crtbegin file.
Consequently, we have to grandfather the old __dso_handle behaviour.
Add some ifdefs for ARM to allow it to use the old code until we can work
out a transition.
Change-Id: I6a28f368267d792c94e1d985d8344023bc632f6f
Author: H.J. Lu <hongjiu.lu@intel.com>
Signed-off-by: Bruce Beare <bruce.j.beare@intel.com>
David 'Digit' Turner [Fri, 17 Jun 2011 10:22:21 +0000 (03:22 -0700)]
am
4d9b75a9: Merge "libstdc++: make operator new call abort on failure."
* commit '
4d9b75a9b08c19cef81b22f889edba61257fb356':
libstdc++: make operator new call abort on failure.
David 'Digit' Turner [Fri, 17 Jun 2011 09:51:58 +0000 (02:51 -0700)]
Merge "libstdc++: make operator new call abort on failure."
David 'Digit' Turner [Tue, 14 Jun 2011 19:58:55 +0000 (21:58 +0200)]
libstdc++: make operator new call abort on failure.
This change ensures that operator new will call abort() in case
of memory allocation failure. Note that due to our usage of memory
overcommit, this can only happen under very rare circumstances
(i.e. trying to allocate memory larger than the larger free range
of virtual address space, or when memory is corrutped in various
ways).
Change-Id: I128b8bf626216e899c22a00f24492cd148a1fc94
Mattias Falk [Mon, 4 Apr 2011 14:12:35 +0000 (16:12 +0200)]
Add support for a dns cache per interface
Initial commit for dns cache per interface.
Added a type that holds a reference to a
cache and name of associated interface,
address of interface, name server(s)
associated with an interface etc.
New functions to set default interface,
address of name servers etc.
Change-Id: Ie991bc5592fd998409853d8bf77d7fe69035dac5
Jean-Baptiste Queru [Tue, 7 Jun 2011 20:24:04 +0000 (13:24 -0700)]
am
b127b1f2: Merge "libc: enable IPTOS_MINCOST, fixup gethostbyaddr() proto."
* commit '
b127b1f208e67d74a7ee94ad2bd0ffb2fed3af6b':
libc: enable IPTOS_MINCOST, fixup gethostbyaddr() proto.
Jean-Baptiste Queru [Tue, 7 Jun 2011 20:24:01 +0000 (13:24 -0700)]
am
e1bd6aa4: Merge "Update netlink-related kernel includes"
* commit '
e1bd6aa4e10e6b05e74d915c52e11a3998217522':
Update netlink-related kernel includes
Jean-Baptiste Queru [Tue, 7 Jun 2011 20:23:58 +0000 (13:23 -0700)]
am
81ec4e43: Merge "Add icmp6.h and ip6.h files from current NetBSD libc."
* commit '
81ec4e437a192189d6abdf32988504c371e52c27':
Add icmp6.h and ip6.h files from current NetBSD libc.
David 'Digit' Turner [Mon, 6 Jun 2011 19:27:10 +0000 (12:27 -0700)]
am
2cae7967: Merge "libc: Fix prctl() declaration."
* commit '
2cae7967e6049e45eaef71207481b6f8b2456025':
libc: Fix prctl() declaration.
David Turner [Mon, 6 Jun 2011 18:32:49 +0000 (11:32 -0700)]
am
b2c7e0c1: Merge "x86: Enable -fstack-protector"
* commit '
b2c7e0c18b7ab04cfe306277c79165de0612a2d1':
x86: Enable -fstack-protector
David Turner [Mon, 6 Jun 2011 18:32:38 +0000 (11:32 -0700)]
am
56baceca: Merge "Update X86 Bionic CRT files for unwind/exceptions"
* commit '
56baceca024f1cc2a5e8ef8c5e7ba7ea463d1ae2':
Update X86 Bionic CRT files for unwind/exceptions
Jean-Baptiste Queru [Thu, 2 Jun 2011 22:31:01 +0000 (15:31 -0700)]
Merge "libc: enable IPTOS_MINCOST, fixup gethostbyaddr() proto."
JP Abgrall [Wed, 18 May 2011 23:53:23 +0000 (16:53 -0700)]
libc: enable IPTOS_MINCOST, fixup gethostbyaddr() proto.
Make netinet/ip.h have IPTOS_MINCOST which matches what
kernel/common/linux/ip.h has to say.
Fixup gethostbyaddr() 1st arg to match what man has to say.
Change-Id: Iff9647d4a46ea88b1fc32163eb69bb9b27cdf370
Jean-Baptiste Queru [Thu, 2 Jun 2011 22:16:48 +0000 (15:16 -0700)]
Merge "Update netlink-related kernel includes"
Dmitry Shmidt [Tue, 22 Mar 2011 22:21:48 +0000 (15:21 -0700)]
Update netlink-related kernel includes
Change-Id: I7e41bb168a1036093b598383d663a6a2e036ea42
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
Jean-Baptiste Queru [Thu, 2 Jun 2011 14:49:14 +0000 (07:49 -0700)]
Merge "Add icmp6.h and ip6.h files from current NetBSD libc."
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
David 'Digit' Turner [Thu, 26 May 2011 01:24:51 +0000 (18:24 -0700)]
Merge "libc: Fix prctl() declaration."
David 'Digit' Turner [Thu, 26 May 2011 00:46:41 +0000 (02:46 +0200)]
libc: Fix prctl() declaration.
This change fixes the prctl() declaration to match GLibc, and allow us
to build gcc-4.6 for Android (among other things). Note that this does
not change the source and binary interfaces.
Change-Id: I3900c957f0da8b3548cbe9da8c41d50099dc19d6
David Turner [Wed, 25 May 2011 00:43:27 +0000 (17:43 -0700)]
Merge "x86: Enable -fstack-protector"
David Turner [Wed, 25 May 2011 00:26:45 +0000 (17:26 -0700)]
Merge "Update X86 Bionic CRT files for unwind/exceptions"
Michael I. Gold [Tue, 24 May 2011 23:48:48 +0000 (16:48 -0700)]
am
8f7cdff4: am
a7f976c9: update linux/tegrafb.h
* commit '
8f7cdff45557c937e6c7a7e010dc961feeb60c16':
update linux/tegrafb.h
Michael I. Gold [Tue, 24 May 2011 23:46:27 +0000 (16:46 -0700)]
am
a7f976c9: update linux/tegrafb.h
* commit '
a7f976c9de3c20cc8cdde4f3dfeeb48a1a89adb7':
update linux/tegrafb.h
Bruce Beare [Wed, 4 May 2011 04:04:40 +0000 (21:04 -0700)]
x86: Enable -fstack-protector
Change-Id: Ib69514c3afcb4c1f5e5f3f8cd91acfd145a0866c
Signed-off-by: Bruce Beare <bruce.j.beare@intel.com>
Mark D Horn [Tue, 26 Apr 2011 21:05:30 +0000 (14:05 -0700)]
Update X86 Bionic CRT files for unwind/exceptions
Several updates to Bionic crt*.o files to implement Linux/x86
stack unwind/exception handling.
Mark __dso_handle as hidden.
Note: Requires complete rebuild due to CRT changes. Google will
need to regenerate and check-in all the prebuilt x86 CRT object
files and libraries which link to them.
Change-Id: I191ce1afb0dee7bbc28dcd9694e5919226dbd070
Signed-off-by: Bruce J Beare <bruce.j.beare@intel.com>
Signed-off-by: Mark D Horn <mark.d.horn@intel.com>
Author: Lu, Hongjiu <hongjiu.lu@intel.com>
Michael I. Gold [Fri, 13 May 2011 22:23:26 +0000 (15:23 -0700)]
update linux/tegrafb.h
Change-Id: I6bccdb7e0eb34fc4ca370458f44ed187ccb67ac8
David 'Digit' Turner [Fri, 20 May 2011 22:06:58 +0000 (15:06 -0700)]
am
9062a236: Merge "libc: Fix leak in the DNS thread-specific state."
* commit '
9062a2369107eadb2b45973adc3246cba35640e6':
libc: Fix leak in the DNS thread-specific state.
David 'Digit' Turner [Fri, 20 May 2011 21:32:35 +0000 (14:32 -0700)]
Merge "libc: Fix leak in the DNS thread-specific state."
David 'Digit' Turner [Thu, 17 Mar 2011 20:31:33 +0000 (21:31 +0100)]
libc: Fix leak in the DNS thread-specific state.
NOTE: This is a back-port from the internal HC branch.
This patch fixes a leak that occurs when creating a new
thread-specific DNS resolver state object.
Essentially, each thread that calls gethostbyname() or getaddrinfo()
at least once will leak a small memory block. Another leak happens
anytime these functions are called after a change of the network
settings.
The leak is insignificant and hard to notice on typical programs.
However, netd tends to create one new thread for each DNS request
it processes, and quickly grows in size after a > 20 hours.
The same problem is seen in other system processes that tend to
create one thread per request too.
The leak occured becasue res_ninit() was called twice when creating
a new thread-specific DNS resolver state in _res_get_thread().
This function could not properly reset an existing thread and was
leaking a memory block.
The patch does two things:
- First, it fixes res_ninit() to prevent any leakage when resetting
the state of a given res_state instance.
- Second, it modifies the _res_get_thread() implementation to
make it more explicit, and avoid calling res_ninit() twice
in a row on first-time creation.
Fix for Bug
4089945, and Bug
4090857
Change-Id: Icde1d4d1dfb9383efdbf38d0658ba915be77942e