David Turner
65fb884d28
am 204d1f65
: am b2c7e0c1
: Merge "x86: Enable -fstack-protector"
...
* commit '204d1f65dbfc6d5a14a90627d9d1efcfce8261ee':
x86: Enable -fstack-protector
2011-06-06 12:57:08 -07:00
David Turner
1dae997ca4
am a57270b6
: am 56baceca
: Merge "Update X86 Bionic CRT files for unwind/exceptions"
...
* commit 'a57270b6ab2978764920ade17448f94875249001':
Update X86 Bionic CRT files for unwind/exceptions
2011-06-06 12:57:00 -07:00
David 'Digit' Turner
4aa321538a
am 2cae7967
: Merge "libc: Fix prctl() declaration."
...
* commit '2cae7967e6049e45eaef71207481b6f8b2456025':
libc: Fix prctl() declaration.
2011-06-06 12:27:10 -07:00
David Turner
204d1f65db
am b2c7e0c1
: Merge "x86: Enable -fstack-protector"
...
* commit 'b2c7e0c18b7ab04cfe306277c79165de0612a2d1':
x86: Enable -fstack-protector
2011-06-06 11:32:49 -07:00
David Turner
a57270b6ab
am 56baceca
: Merge "Update X86 Bionic CRT files for unwind/exceptions"
...
* commit '56baceca024f1cc2a5e8ef8c5e7ba7ea463d1ae2':
Update X86 Bionic CRT files for unwind/exceptions
2011-06-06 11:32:38 -07:00
Brian Carlstrom
78d18badef
Merge commit 'a7f976c9de3c20cc8cdde4f3dfeeb48a1a89adb7' into honeycomb-mr2-release-to-dalvik-dev
2011-06-03 12:40:34 -07:00
Jean-Baptiste Queru
b127b1f208
Merge "libc: enable IPTOS_MINCOST, fixup gethostbyaddr() proto."
2011-06-02 15:31:01 -07:00
JP Abgrall
8a51237407
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
2011-06-02 15:28:16 -07:00
Jean-Baptiste Queru
e1bd6aa4e1
Merge "Update netlink-related kernel includes"
2011-06-02 15:16:48 -07:00
Dmitry Shmidt
b78220573a
Update netlink-related kernel includes
...
Change-Id: I7e41bb168a1036093b598383d663a6a2e036ea42
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
2011-06-02 15:05:34 -07:00
Jean-Baptiste Queru
81ec4e437a
Merge "Add icmp6.h and ip6.h files from current NetBSD libc."
2011-06-02 07:49:14 -07:00
Steinar H. Gunderson
c18d76f6ec
Add icmp6.h and ip6.h files from current NetBSD libc.
...
Change-Id: I6b304dfbefaec74c5fb15b216f38d698a55f0642
2011-06-01 11:12:38 -07:00
Brian Carlstrom
1f8e2672a8
Implement getpwnam_r(3) and getpwuid_r(3).
...
These functions were already declared in <pwd.h>, but hadn't been implemented
yet.
git cherry-pick --no-commit 081504af74
Change-Id: I316acf4cffb9f2c6788e8e342aa620f9a00886d5
2011-05-27 00:52:21 -07:00
Simon Wilson
fe88a194a3
Merge "sound/asound.h: add header for ALSA"
2011-05-26 09:37:32 -07:00
David 'Digit' Turner
2cae7967e6
Merge "libc: Fix prctl() declaration."
2011-05-25 18:24:51 -07:00
David 'Digit' Turner
b083bb57f5
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
2011-05-26 02:46:41 +02:00
Frank Maker
7b6795dad9
Fixed bug where -k option would not be passed to cleanupFile function
...
Changed cleanupFile to have no default original path, forcing it to be passed instead, thereby conforming to the Google Python style guide.
2011-05-25 17:28:37 -07:00
Simon Wilson
f67e03274d
sound/asound.h: add header for ALSA
...
Change-Id: If9680194846752a2fae6a4a3b8e6dba4175fb9ca
2011-05-25 14:16:34 -07:00
Michael I. Gold
9d91860612
am 5c7384fa
: am 8f7cdff4
: am a7f976c9
: update linux/tegrafb.h
...
* commit '5c7384fa791dafe6cdf9769c5166e683e29f189e':
update linux/tegrafb.h
2011-05-25 11:04:06 -07:00
David Turner
b2c7e0c18b
Merge "x86: Enable -fstack-protector"
2011-05-24 17:43:27 -07:00
David Turner
56baceca02
Merge "Update X86 Bionic CRT files for unwind/exceptions"
2011-05-24 17:26:45 -07:00
Michael I. Gold
5c7384fa79
am 8f7cdff4
: am a7f976c9
: update linux/tegrafb.h
...
* commit '8f7cdff45557c937e6c7a7e010dc961feeb60c16':
update linux/tegrafb.h
2011-05-24 16:48:48 -07:00
Michael I. Gold
8f7cdff455
am a7f976c9
: update linux/tegrafb.h
...
* commit 'a7f976c9de3c20cc8cdde4f3dfeeb48a1a89adb7':
update linux/tegrafb.h
2011-05-24 16:46:27 -07:00
Bruce Beare
e0b4844a20
x86: Enable -fstack-protector
...
Change-Id: Ib69514c3afcb4c1f5e5f3f8cd91acfd145a0866c
Signed-off-by: Bruce Beare <bruce.j.beare@intel.com>
2011-05-24 13:32:14 -07:00
Mark D Horn
dc3bc87b43
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>
2011-05-24 13:31:50 -07:00
Michael I. Gold
a7f976c9de
update linux/tegrafb.h
...
Change-Id: I6bccdb7e0eb34fc4ca370458f44ed187ccb67ac8
2011-05-24 13:02:58 -07:00
David 'Digit' Turner
5fd462951b
am 5b07b5de
: am 9062a236
: Merge "libc: Fix leak in the DNS thread-specific state."
...
* commit '5b07b5de9112f1d6adc38d3c5e2c7463b9379534':
libc: Fix leak in the DNS thread-specific state.
2011-05-21 21:35:29 -07:00
David 'Digit' Turner
5b07b5de91
am 9062a236
: Merge "libc: Fix leak in the DNS thread-specific state."
...
* commit '9062a2369107eadb2b45973adc3246cba35640e6':
libc: Fix leak in the DNS thread-specific state.
2011-05-20 15:06:58 -07:00
David 'Digit' Turner
9062a23691
Merge "libc: Fix leak in the DNS thread-specific state."
2011-05-20 14:32:35 -07:00
The Android Open Source Project
b0e114191e
Reconcile with honeycomb-release
...
Change-Id: I4ff73170b09410bf6458539f72caa60fcc99a442
2011-05-20 12:45:50 -07:00
JP Abgrall
f8d02d24ed
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
2011-05-18 16:53:23 -07:00
David 'Digit' Turner
b6cd6816d2
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
2011-05-18 13:48:20 +02:00
David Turner
b609bfd048
am a9e409a0
: am a7a9dddb
: Merge "bionic: Add ARM optimized strcmp()"
...
* commit 'a9e409a03530c79bc7ad8144d08e8921ebe0dd02':
bionic: Add ARM optimized strcmp()
2011-05-17 04:51:45 -07:00
David Turner
bde9e2802d
am 3f7a3228
: am c5c84c86
: Merge "vfscanf: Add support for L type modifier for long long"
...
* commit '3f7a3228cdf1a48e379fb297be9114ecd71bff11':
vfscanf: Add support for L type modifier for long long
2011-05-17 04:51:41 -07:00
David Turner
a9e409a035
am a7a9dddb
: Merge "bionic: Add ARM optimized strcmp()"
...
* commit 'a7a9dddb5dfe783d65fec4d3b0dee9f734345a29':
bionic: Add ARM optimized strcmp()
2011-05-17 04:47:09 -07:00
David Turner
3f7a3228cd
am c5c84c86
: Merge "vfscanf: Add support for L type modifier for long long"
...
* commit 'c5c84c8643250c71bde87541f2b28fc21a9c5cc7':
vfscanf: Add support for L type modifier for long long
2011-05-17 04:47:06 -07:00
David Turner
a7a9dddb5d
Merge "bionic: Add ARM optimized strcmp()"
2011-05-17 04:29:20 -07:00
David Turner
c5c84c8643
Merge "vfscanf: Add support for L type modifier for long long"
2011-05-17 04:07:27 -07:00
Elliott Hughes
081504af74
Merge "Implement getpwnam_r(3) and getpwuid_r(3)." into dalvik-dev
2011-05-13 13:30:59 -07:00
Elliott Hughes
e80227c2d3
Implement getpwnam_r(3) and getpwuid_r(3).
...
These functions were already declared in <pwd.h>, but hadn't been implemented
yet.
Change-Id: I9cddafa4c7f19a40eec566d3f3b221bd5a680e85
2011-05-13 12:20:05 -07:00
Elliott Hughes
bf018299bd
Fix strerror(3) for errno 0.
...
Everyone else's C library says "Success". We say "Unknown error: 0", which
isn't really true.
Change-Id: I9f9054779123eda996634e5f7a277789b6805809
2011-05-13 10:54:34 -07:00
David Turner
54e494d909
am add0a45a
: am e8f7e30b
: Merge "bionic, libthread_db x86 fixes"
...
* commit 'add0a45a117f00553e79e7137d023416f9c0a54f':
bionic, libthread_db x86 fixes
2011-05-11 13:11:56 -07:00
David Turner
add0a45a11
am e8f7e30b
: Merge "bionic, libthread_db x86 fixes"
...
* commit 'e8f7e30b05c6ba103d64c1fb3cd5ef2b17be7aab':
bionic, libthread_db x86 fixes
2011-05-10 17:19:13 -07:00
The Android Automerger
18a0a39a1b
am 86d25a54
: am c7b54666
: Merge remote branch \'goog/honeycomb-mr2\' into honeycomb-LTE
...
* commit '86d25a54bc093aae369ce54af11151d60ef191fc':
Update to tzdata2011g.
2011-05-09 10:51:20 -07:00
The Android Automerger
86d25a54bc
am c7b54666
: Merge remote branch \'goog/honeycomb-mr2\' into honeycomb-LTE
...
* commit 'c7b54666e097fbc102ac6754da99e1513f60d5ea':
Update to tzdata2011g.
2011-05-09 10:39:25 -07:00
David Turner
e8f7e30b05
Merge "bionic, libthread_db x86 fixes"
2011-05-09 08:03:51 -07:00
The Android Automerger
c7b54666e0
Merge remote branch 'goog/honeycomb-mr2' into honeycomb-LTE
2011-05-08 22:30:23 -07:00
Elliott Hughes
fb48c8a5c3
Update to tzdata2011g.
...
Egypt abandoned DST this year.
git cherry-pick 8d54a62c6d
Change-Id: I8df051cd270108651501d9da6a9e5ce127ad3d22
2011-05-06 10:57:36 -07:00
Chris Fries
712e4f81e0
vfscanf: Add support for L type modifier for long long
...
scanf()'s man page suggests support for %Ld, (and ioux).
Implement this so that 3rd party code will work correctly.
Change-Id: Idce9d266071cb688ca71429395a2d9edf6813595
2011-05-05 11:02:33 -05:00
Brian Carlstrom
265e14bced
am 55aa7321
: am e274a9fa
: Merge "Tracking change to dns proxy protocol"
...
* commit '55aa7321e4b24a40766cccc11e8166546b01a3fd':
Tracking change to dns proxy protocol
2011-05-03 16:20:09 -07:00