summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | Fix strftime to use localized month names.Eric Fischer2009-08-031-2/+2
| | |_|/ | |/| | | | | | | | | | | | | | | | | | | | | | It was using the default locale (capital L) instead of the current locale (lowercase l). Bug 2030864
* | | | merge from open-source masterJean-Baptiste Queru2009-08-040-0/+0
|\ \ \ \ | |/ / / |/| / / | |/ /
| * | merge from donutJean-Baptiste Queru2009-08-032-37/+48
| |\ \
| * \ \ merge from donutJean-Baptiste Queru2009-07-2914-175/+385
| |\ \ \
* | \ \ \ am fde8642f: bionic/linker: keep track of opened libraries by basenameErik Gilling2009-07-301-2/+6
|\ \ \ \ \ | | |_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | Merge commit 'fde8642fc43bdd224e43e5ee9583a49a758fb03c' * commit 'fde8642fc43bdd224e43e5ee9583a49a758fb03c': bionic/linker: keep track of opened libraries by basename
| * | | | bionic/linker: keep track of opened libraries by basenameandroid-sdk-tools_r2android-sdk-1.6_r2android-sdk-1.6_r1android-sdk-1.6-docs_r1android-1.6_r2android-1.6_r1.5android-1.6_r1.4android-1.6_r1.3android-1.6_r1.2android-1.6_r1.1android-1.6_r1Erik Gilling2009-07-281-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Prior to this change, the dynamic loader kept track of opened libraries either by their base name (i.e., libfoo.so instead of /system/lib/libfoo.so) when the shared library was loaded through the DT_NEEDED tag in an ELF header, or by whatever name was passed to dlopen(). This created a number of problems, among which: 1. dlopen("libfoo.so") and dlopen("/path/to/libfoo.so") would open the same library twice; 2. dlopen("/path/to/libfoo.so") and then dlopen("libbar.so"), where libbar.so depends on libfoo.so, would open libfoo.so twice. This patch makes the dynamic loader keep track of each loaded library by basename, which resolves the above ambiguity. The patch also enforces library lookup by base name, which means that it will refuse to load another library that has the same name. Thanks for the inspiration Iliyan. Signed-off-by: Erik Gilling <konkers@android.com> Cc: Iliyan Malchev <malchev@google.com>
* | | | | am 22b5eb85: Merge change 8281 into donutAndroid (Google) Code Review2009-07-291-34/+34
|\ \ \ \ \ | |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | Merge commit '22b5eb858dcbb537f2522ad920ca793348d574a2' * commit '22b5eb858dcbb537f2522ad920ca793348d574a2': linker: remove newlines from DL_ERR so that dlerror works correctly
| * | | | Merge change 8281 into donutAndroid (Google) Code Review2009-07-281-34/+34
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | * changes: linker: remove newlines from DL_ERR so that dlerror works correctly
| | * | | | linker: remove newlines from DL_ERR so that dlerror works correctlyErik Gilling2009-07-221-34/+34
| | | |/ / | | |/| | | | | | | | | | | | Signed-off-by: Erik Gilling <konkers@android.com>
* | | | | am 3773d35e: Make the DNS resolver accept domain names with an underscore.David 'Digit' Turner2009-07-281-1/+8
|\ \ \ \ \ | |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | Merge commit '3773d35eb98e22b5edab4d82fb72bdf86ff80494' * commit '3773d35eb98e22b5edab4d82fb72bdf86ff80494': Make the DNS resolver accept domain names with an underscore.
| * | | | Make the DNS resolver accept domain names with an underscore.David 'Digit' Turner2009-07-271-1/+8
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | More precisely, this accepts domain labels with an underscore in the middle (i.e. not at the start or the end of the label). This is needed to perform complex CNAME chain resolution in certain VPN networks.
* | | | reconcile korg/master into goog/masterJean-Baptiste Queru2009-07-260-0/+0
|\ \ \ \ | | |/ / | |/| |
| * | | Merge korg/donut into korg/masterJean-Baptiste Queru2009-07-2537-235/+1815
| |\ \ \ | | |_|/ | |/| |
* | | | am 39f3745c: Restore malloc debug.Andy McFadden2009-07-214-16/+21
|\ \ \ \ | | |_|/ | |/| | | | | | | | | | | | | | | | | | Merge commit '39f3745cf30efe38482ffead1c32f4e62f6fe32e' * commit '39f3745cf30efe38482ffead1c32f4e62f6fe32e': Restore malloc debug.
| * | | Restore malloc debug.Andy McFadden2009-07-214-16/+21
| | | | | | | | | | | | | | | | | | | | | | | | Some libc changes were preventing the initialization call from being made. The basic problem appears to be that libc_init_common.c is only built once, and it's only built for the non-debug libc.
* | | | am b56b5659: Fix the C library runtime initialization order.David 'Digit' Turner2009-07-204-100/+115
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | | | | | Merge commit 'b56b5659b3996e98c2060f168d1cff1474e77d2a' * commit 'b56b5659b3996e98c2060f168d1cff1474e77d2a': Fix the C library runtime initialization order.
| * | | Fix the C library runtime initialization order.David 'Digit' Turner2009-07-184-100/+115
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This allows libc.so to run the C runtime initializer as soon as the dynamic linker loads the shared library, i.e. before any other initializers (e.g. static C++ constructors in other shared libraries the executable depends on). This also removes the bug where the initializers from the executable itself were run twice: once by the dynamic linker, and another time by __libc_init as defined by libc_init_dynamic.c
* | | | am ef0bd185: Pass the elfdata pointer in a slot of the temporary TLS area.David 'Digit' Turner2009-07-202-7/+21
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | | | | | Merge commit 'ef0bd1857041ffde069cf52138aaf22c1af7130e' * commit 'ef0bd1857041ffde069cf52138aaf22c1af7130e': Pass the elfdata pointer in a slot of the temporary TLS area.
| * | | Pass the elfdata pointer in a slot of the temporary TLS area.David 'Digit' Turner2009-07-172-7/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is needed to properly initialize the C runtime when libc.so is loaded by the dynamic linker. Move the temporary TLS setup before the first system call, just in case something really horrible happens, we won't crash when trying to write an error code in 'errno' Remove the broken TLS_SLOT_THREAD_ID setup. First, this slot should normally receive the address of a pthread_internal_t, not a kernel thread identifier. Second, it is never used by the linker anyway. Also remove an obsolete comment.
* | | | Merge change 7652Android (Google) Code Review2009-07-172-219/+443
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | * changes: Updating v4l2 headers from kernel
| * | | | Updating v4l2 headers from kernelRebecca Schultz Zavin2009-07-162-219/+443
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>
* | | | | Merge change 7610Android (Google) Code Review2009-07-162-0/+52
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | * changes: linux: add headers for lis331dlh and sfh7743 sensor drivers.
| * | | | | linux: add headers for lis331dlh and sfh7743 sensor drivers.Mike Lockwood2009-07-162-0/+52
| |/ / / / | | | | | | | | | | | | | | | Signed-off-by: Mike Lockwood <lockwood@android.com>
* | | | | Add linux/ethtool.h header fileDmitry Shmidt2009-07-161-0/+321
|/ / / / | | | | | | | | | | | | Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
* | | | allow pthread_mutexattr_setpshared to accept SHARED mutexes, since our ↵Mathias Agopian2009-07-131-1/+12
| | | | | | | | | | | | | | | | current impl actually uses shared mutexes
* | | | added pthread_cond_timedwait_relative_np()Mathias Agopian2009-07-132-0/+35
| | | |
* | | | am 34806558: Add new C++ headers <cerrno> and <cfloat>David 'Digit' Turner2009-07-124-0/+84
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | | | | | Merge commit '348065586a2e6154d6cff36afa6e00af6bbc5918' * commit '348065586a2e6154d6cff36afa6e00af6bbc5918': Add new C++ headers <cerrno> and <cfloat>
| * | | Add new C++ headers <cerrno> and <cfloat>David 'Digit' Turner2009-07-104-0/+84
| | | | | | | | | | | | | | | | | | | | Also add std::malloc/realloc/calloc/free to <cstdlib> Rename <cwchar_is_not_supported> to <cwchar>
* | | | am db4616b2: Add <linux/uinput.h> to C library kernel headersDavid 'Digit' Turner2009-07-091-0/+67
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | | | | | Merge commit 'db4616b2d3234a1916cafb48e65c50cf302afcde' * commit 'db4616b2d3234a1916cafb48e65c50cf302afcde': Add <linux/uinput.h> to C library kernel headers
| * | | 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 6ee8f1b0: Merge change 2990 into donutAndroid (Google) Code Review2009-06-251-4/+52
|\ \ \ | |/ / | | | | | | | | | | | | | | | Merge commit '6ee8f1b0444c0db94931d2cd64427ded8fba38b0' * commit '6ee8f1b0444c0db94931d2cd64427ded8fba38b0': Add LD_LIBRARY_PATH support to bionic's linker
| * | Merge change 2990 into donutAndroid (Google) Code Review2009-06-251-4/+52
| |\ \ | | | | | | | | | | | | | | | | * changes: Add LD_LIBRARY_PATH support to bionic's linker
| | * | Add LD_LIBRARY_PATH support to bionic's linkerDavid Bartley2009-06-151-4/+52
| | | |
* | | | 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 4509Android (Google) Code Review2009-06-221-38/+7
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | * changes: Removed non-standard declaration in cstring.
| * | | | Removed non-standard declaration in cstring.Nicolas Catania2009-06-171-38/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Aligned the list of the function declared in std:: to match gcc. In the first cut, too many functions were included. The test under system/extras/tests/bionic/libstdc++ already has the correct (shorter) list.
* | | | | 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)