summaryrefslogtreecommitdiffstats
path: root/libc
Commit message (Collapse)AuthorAgeFilesLines
...
| * | Add <linux/uinput.h> to C library kernel headersDavid 'Digit' Turner2009-07-101-0/+67
| | |
* | | am c4eee376: Prevent a crash in the memory leak checker (which happened in ↵David 'Digit' Turner2009-07-093-63/+88
|\ \ \ | |/ / | | | | | | | | | | | | | | | | | | | | | chk_free()) Merge commit 'c4eee3765bf9dd81ff055e70ff7daa83a3926d2a' * commit 'c4eee3765bf9dd81ff055e70ff7daa83a3926d2a': Prevent a crash in the memory leak checker (which happened in chk_free())
| * | Prevent a crash in the memory leak checker (which happened in chk_free())David 'Digit' Turner2009-07-103-63/+88
| | | | | | | | | | | | | | | | | | Simplify the code a little, removing un-necessary mutex locks/unlocks. Provide slightly better diagnostic message in case of corruption. Use snprintf/strlcat instead of sprintf/strcat
* | | bionic: add cleaned-up proximity-sensor headerIliyan Malchev2009-07-081-0/+23
| | | | | | | | | | | | Signed-off-by: Iliyan Malchev <malchev@google.com>
* | | am 380f2498: Merge change 5184 into donutAndroid (Google) Code Review2009-06-241-24/+26
|\ \ \ | |/ / | | | | | | | | | | | | | | | Merge commit '380f24983e8e33d0b189dda198ec64c1766a359d' * commit '380f24983e8e33d0b189dda198ec64c1766a359d': update clean msm_camera.h
| * | Merge change 5184 into donutAndroid (Google) Code Review2009-06-241-24/+26
| |\ \ | | | | | | | | | | | | | | | | * changes: update clean msm_camera.h
| | * | update clean msm_camera.hIliyan Malchev2009-06-231-24/+26
| | | | | | | | | | | | | | | | Signed-off-by: Iliyan Malchev <malchev@google.com>
* | | | delete akm8973.h from original headersIliyan Malchev2009-06-231-33/+0
| | | | | | | | | | | | | | | | Signed-off-by: Iliyan Malchev <malchev@google.com>
* | | | add header for akm8973Iliyan Malchev2009-06-222-0/+78
| | | | | | | | | | | | | | | | Signed-off-by: Iliyan Malchev <malchev@google.com>
* | | | am 09baf4e8: Add Glibc-compatible macro aliases for the nanosecond time ↵David 'Digit' Turner2009-06-221-0/+7
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | accessors in stat structure Merge commit '09baf4e881c78e67c7849aa81432ceb34e72e913' * commit '09baf4e881c78e67c7849aa81432ceb34e72e913': Add Glibc-compatible macro aliases for the nanosecond time accessors in stat structure
| * | | Add Glibc-compatible macro aliases for the nanosecond time accessors in stat ↵David 'Digit' Turner2009-06-221-0/+7
| |/ / | | | | | | | | | structure
* | | Merge change 4025Android (Google) Code Review2009-06-174-2/+12
|\ \ \ | | | | | | | | | | | | | | | | * changes: Make IPv6 definitions comply with RFC 3493: - Add some definitions to netinet/in6.h - Include netinet/in6.h from netinet/in.h
| * | | Make IPv6 definitions comply with RFC 3493:Lorenzo Colitti2009-06-164-2/+12
| | | | | | | | | | | | | | | | | | | | - Add some definitions to netinet/in6.h - Include netinet/in6.h from netinet/in.h
* | | | am 9cfccefa: Update cleaned-up kernel headersDavid 'Digit' Turner2009-06-162-35/+35
|\ \ \ \ | | |/ / | |/| | | | | | | | | | | | | | | | | | Merge commit '9cfccefa055554c7e951741c01373a52a82d3fd6' * commit '9cfccefa055554c7e951741c01373a52a82d3fd6': Update cleaned-up kernel headers
| * | | Update cleaned-up kernel headersDavid 'Digit' Turner2009-06-162-35/+35
| | | |
* | | | am 3ddc15e1: Add new clean header for PPP on PPTP (VPN)David 'Digit' Turner2009-06-141-0/+28
|\ \ \ \ | |/ / / | | / / | |/ / |/| | | | | | | | Merge commit '3ddc15e10a6f5690e53e729c0da2c42f0eb944d1' * commit '3ddc15e10a6f5690e53e729c0da2c42f0eb944d1': Add new clean header for PPP on PPTP (VPN)
| * | Add new clean header for PPP on PPTP (VPN)David 'Digit' Turner2009-06-121-0/+28
| | |
* | | am bf8709f5: bionic: update msm_camera.h headerIliyan Malchev2009-06-041-38/+38
|\ \ \ | |/ / | | | | | | | | | | | | | | | Merge commit 'bf8709f54b1eabbd4e9bb81e91b9385a9863f505' * commit 'bf8709f54b1eabbd4e9bb81e91b9385a9863f505': bionic: update msm_camera.h header
| * | bionic: update msm_camera.h headerIliyan Malchev2009-06-041-38/+38
| | | | | | | | | | | | Signed-off-by: Iliyan Malchev <malchev@google.com>
* | | am 3a654b1e: Revert "Fix the C library initialization to avoid calling ↵David 'Digit' Turner2009-06-039-227/+91
|\ \ \ | |/ / | | | | | | | | | | | | | | | | | | | | | static C++ constructors twice." Merge commit '3a654b1e04d4275ae315cfe1b196998acf10052c' * commit '3a654b1e04d4275ae315cfe1b196998acf10052c': Revert "Fix the C library initialization to avoid calling static C++ constructors twice."
| * | Revert "Fix the C library initialization to avoid calling static C++ ↵David 'Digit' Turner2009-06-039-227/+91
| | | | | | | | | | | | | | | | | | constructors twice." This reverts commit 03eabfe65e1e2c36f4d26c78a730fa19a3bdada3.
* | | am 03eabfe6: Fix the C library initialization to avoid calling static C++ ↵David 'Digit' Turner2009-06-039-91/+227
|\ \ \ | |/ / | | | | | | | | | | | | | | | | | | | | | constructors twice. Merge commit '03eabfe65e1e2c36f4d26c78a730fa19a3bdada3' * commit '03eabfe65e1e2c36f4d26c78a730fa19a3bdada3': Fix the C library initialization to avoid calling static C++ constructors twice.
| * | Fix the C library initialization to avoid calling static C++ constructors twice.David 'Digit' Turner2009-06-029-91/+227
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The problem was due to the fact that, in the case of dynamic executables, the dynamic linker calls the DT_PREINIT_ARRAY, DT_INIT and DT_INIT_ARRAY constructors when loading shared libraries and dynamic executables, *before* calling the executable's entry point (i.e. arch-$ARCH/bionic/crtbegin_dynamic.c) which in turns call __libc_init() in libc.so, as defined by bionic/libc_init_dynamic.c The latter did call these constructors array again, mistakenly. The patch also updates the documentation of many related functions. Also adds a new section to linker/README.TXT explaining restrictions on C library usage. The patch has been tested on a Dream for stability issues with proprietary blobs: - H264 decoding works - Camera + Video recording works - GPS works - Sensors work The tests in system/extra/tests/bionic/libc/common/test_static_cpp_mutex.cpp has been run and shows the static C++ constructor being called only once.
* | | am 49e55332: libc: Add an intermediate version of the static libc without mallocDima Zavin2009-05-281-0/+26
|\ \ \ | |/ / | | | | | | | | | | | | | | | Merge commit '49e55332784b82f7112ee7c1ea3c176c9dc32d7a' * commit '49e55332784b82f7112ee7c1ea3c176c9dc32d7a': libc: Add an intermediate version of the static libc without malloc
| * | libc: Add an intermediate version of the static libc without mallocDima Zavin2009-05-271-0/+26
| | | | | | | | | | | | | | | | | | | | | For now, this will only used by the dynamic loader to ensure that malloc and friends are never called. Signed-off-by: Dima Zavin <dima@android.com>
* | | am ca122b0e: libc: Cleanup the libc makefile.Dima Zavin2009-05-281-116/+84
|\ \ \ | |/ / | | | | | | | | | | | | | | | Merge commit 'ca122b0e34df0e8c485be0d3ab1b80f728b76276' * commit 'ca122b0e34df0e8c485be0d3ab1b80f728b76276': libc: Cleanup the libc makefile.
| * | libc: Cleanup the libc makefile.Dima Zavin2009-05-271-116/+84
| | | | | | | | | | | | | | | | | | | | | | | | Removes a lot of redundant code, and reorganizes the file. We first setup all the comomn variables we may need, and then define the actual libraries that need to be generated. Signed-off-by: Dima Zavin <dima@android.com>
* | | am cdb68bf8: Merge change 2470 into donutAndroid (Google) Code Review2009-05-272-2/+27
|\ \ \ | |/ / | | | | | | | | | | | | | | | Merge commit 'cdb68bf8ce26448cfe173d86f1c074e167c3420f' * commit 'cdb68bf8ce26448cfe173d86f1c074e167c3420f': Fix getservent() so that it returns s_port in network byte order.
| * | Merge change 2470 into donutAndroid (Google) Code Review2009-05-272-2/+27
| |\ \ | | | | | | | | | | | | | | | | * changes: Fix getservent() so that it returns s_port in network byte order. Also add a new document detailing known issues in the C library.
| | * | Fix getservent() so that it returns s_port in network byte order.David 'Digit' Turner2009-05-272-2/+27
| | | | | | | | | | | | | | | | Also add a new document detailing known issues in the C library.
* | | | am 5c106fca: Merge change 1852 into donutAndroid (Google) Code Review2009-05-272-2/+18
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | | | | | Merge commit '5c106fcaa5b9d0a3ebeb2e8cdca589129d6a7ebd' * commit '5c106fcaa5b9d0a3ebeb2e8cdca589129d6a7ebd': Fix __eabi_atexit() implementation, as well as a bug in the BSD-originated __cxa_finalize() implementation
| * | | Merge change 1852 into donutAndroid (Google) Code Review2009-05-272-2/+18
| |\ \ \ | | | | | | | | | | | | | | | | | | | | * changes: Fix __eabi_atexit() implementation, as well as a bug in the BSD-originated __cxa_finalize() implementation This patch uses "#if ANDROID" instead of "#if 1" in the __cxa_finalize() fix
| | * | | Fix __eabi_atexit() implementation, as well as a bug in the BSD-originated ↵David 'Digit' Turner2009-05-202-2/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | __cxa_finalize() implementation This patch uses "#if ANDROID" instead of "#if 1" in the __cxa_finalize() fix
* | | | | am 94a144ea: add msm_camera.h header and .gitignore file to bionicIliyan Malchev2009-05-261-0/+354
|\ \ \ \ \ | |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | Merge commit '94a144eabd1c7477e77e81e83aa04d43c8a79791' * commit '94a144eabd1c7477e77e81e83aa04d43c8a79791': add msm_camera.h header and .gitignore file to bionic
| * | | | add msm_camera.h header and .gitignore file to bionicIliyan Malchev2009-05-261-0/+354
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Iliyan Malchev <malchev@google.com>
* | | | | am 1c8e1094: update msm_adsp.h headerIliyan Malchev2009-05-261-7/+13
|\ \ \ \ \ | |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | Merge commit '1c8e10945eb1ab1352f73c7fb026b99397a8ca70' * commit '1c8e10945eb1ab1352f73c7fb026b99397a8ca70': update msm_adsp.h header
| * | | | update msm_adsp.h headerIliyan Malchev2009-05-261-7/+13
| | |/ / | |/| | | | | | | | | | Signed-off-by: Iliyan Malchev <malchev@google.com>
* | | | am e5446feb: Add <linux/ipsec.h> and <linux/if_pppolac.h> for VPN support.David 'Digit' Turner2009-05-254-2/+88
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | | | | | Merge commit 'e5446feb21a991426fb683d077a1a8ca5831ac0f' * commit 'e5446feb21a991426fb683d077a1a8ca5831ac0f': Add <linux/ipsec.h> and <linux/if_pppolac.h> for VPN support.
| * | | Add <linux/ipsec.h> and <linux/if_pppolac.h> for VPN support.David 'Digit' Turner2009-05-204-2/+88
| |/ / | | | | | | | | | Also update tools/update_all.py to not use perforce add/edit/delete commands automatically now that we're using git
* | | Add standalone_months field to libc strftime().Eric Fischer2009-05-152-4/+15
| | | | | | | | | | | | | | | Replicate my change 722a5c0462f38827f4097065bfc3826b9e0e9fb4 into bionic in an attempt to fix the build.
* | | am d386afcc: revert to previous implementation of __aeabi_atexit() since the ↵David 'Digit' Turner2009-05-141-1/+2
|\ \ \ | |/ / | | | | | | | | | | | | | | | | | | | | | new one seems to crash a static ICU String destructor. I don\'t have the time to investigate why right now, so a revert is preferred. Damn... Merge commit 'd386afcc41e92c96778d9b1a498199f48fa2d4aa' * commit 'd386afcc41e92c96778d9b1a498199f48fa2d4aa': revert to previous implementation of __aeabi_atexit() since the new one seems to crash a static ICU String destructor.
| * | revert to previous implementation of __aeabi_atexit() since the new one ↵David 'Digit' Turner2009-05-151-1/+2
| | | | | | | | | | | | | | | | | | seems to crash a static ICU String destructor. I don't have the time to investigate why right now, so a revert is preferred. Damn...
* | | am 3e16f84f: Fix __aeabi_atexit to call __cxa_atexit properly. This function ↵David 'Digit' Turner2009-05-141-2/+3
|\ \ \ | |/ / | | | | | | | | | | | | | | | | | | | | | is defined by the C++ ABI for ARM document. Merge commit '3e16f84fcad103c97a2df4a58948835277043569' * commit '3e16f84fcad103c97a2df4a58948835277043569': Fix __aeabi_atexit to call __cxa_atexit properly. This function is defined by the C++ ABI for ARM document.
| * | Fix __aeabi_atexit to call __cxa_atexit properly. This function is defined ↵David 'Digit' Turner2009-05-141-2/+3
| | | | | | | | | | | | by the C++ ABI for ARM document.
* | | am 5e56370: change getaddrinfo() implementation to match GLibc.David 'Digit' Turner2009-05-051-2/+6
|\ \ \ | |/ / | | | | | | | | | | | | | | | Merge commit '5e563700380eade647f347669ea61dbb0ede9814' * commit '5e563700380eade647f347669ea61dbb0ede9814': change getaddrinfo() implementation to match GLibc.
| * | change getaddrinfo() implementation to match GLibc.David 'Digit' Turner2009-05-051-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | the issue is that the BSD implementation doesn't accept a call like: getaddrinfo(SERVER_NAME, "9999", NULL, &res); because if will reject a numerical string in the second parameter if no hints are explicitely provided. This technically doesn't violate POSIX but might make porting Linux software a bit difficult. For more details see: http://groups.google.com/group/android-ndk/browse_thread/thread/818ab9c53f24c87 also comment debugging printf() calls which shouldn't be there.
* | | am 85a01ff: Merge change 57 into donutAndroid (Google) Code Review2009-05-011-0/+37
|\ \ \ | |/ / | | | | | | | | | | | | | | | Merge commit '85a01ffba337b123436f57eba4daae38c7c90d1e' * commit '85a01ffba337b123436f57eba4daae38c7c90d1e': Add the domain search list for VPN connection.
| * | Merge change 57 into donutAndroid (Google) Code Review2009-05-011-0/+37
| |\ \ | | | | | | | | | | | | | | | | * changes: Add the domain search list for VPN connection. The current solution is to read the net.dns.search property, and expand the list during the resolve initialization. In the future, we could implement search list per process.
| | * | Add the domain search list for VPN connection.Chung-yih Wang2009-04-131-0/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The current solution is to read the net.dns.search property, and expand the list during the resolve initialization. In the future, we could implement search list per process. Update: refine the code accordingly. Update: remove unnecessary code. Update: remove the unused variable.
* | | | am d2c9dcc: libc: Replace a reference to TARGET_BUILD_TYPE with DEBUG_BIDave Bort2009-04-291-1/+1
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | | | | | Merge commit 'd2c9dcc9265e66f6432ec39dcc7378b944449e60' * commit 'd2c9dcc9265e66f6432ec39dcc7378b944449e60': libc: Replace a reference to TARGET_BUILD_TYPE with DEBUG_BIONIC_LIBC