| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| | | |_|/
| |/| |
| | | |
| | | |
| | | |
| | | |
| | | | |
It was using the default locale (capital L) instead of the
current locale (lowercase l).
Bug 2030864
|
| |\ \ \ \
| |/ / /
|/| / /
| |/ / |
|
| | |\ \ |
|
| | |\ \ \ |
|
| |\ \ \ \ \
| | |_|/ /
| |/| | |
| | | | |
| | | | |
| | | | |
| | | | | |
Merge commit 'fde8642fc43bdd224e43e5ee9583a49a758fb03c'
* commit 'fde8642fc43bdd224e43e5ee9583a49a758fb03c':
bionic/linker: keep track of opened libraries by basename
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
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>
|
| |\ \ \ \ \
| |/ / / /
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Merge commit '22b5eb858dcbb537f2522ad920ca793348d574a2'
* commit '22b5eb858dcbb537f2522ad920ca793348d574a2':
linker: remove newlines from DL_ERR so that dlerror works correctly
|
| | |\ \ \ \
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
* changes:
linker: remove newlines from DL_ERR so that dlerror works correctly
|
| | | | |/ /
| | |/| |
| | | | |
| | | | | |
Signed-off-by: Erik Gilling <konkers@android.com>
|
| |\ \ \ \ \
| |/ / / /
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Merge commit '3773d35eb98e22b5edab4d82fb72bdf86ff80494'
* commit '3773d35eb98e22b5edab4d82fb72bdf86ff80494':
Make the DNS resolver accept domain names with an underscore.
|
| | |/ / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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.
|
| |\ \ \ \
| | |/ /
| |/| | |
|
| | |\ \ \
| | |_|/
| |/| | |
|
| |\ \ \ \
| | |_|/
| |/| |
| | | |
| | | |
| | | |
| | | | |
Merge commit '39f3745cf30efe38482ffead1c32f4e62f6fe32e'
* commit '39f3745cf30efe38482ffead1c32f4e62f6fe32e':
Restore malloc debug.
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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.
|
| |\ \ \ \
| |/ / /
| | | |
| | | |
| | | |
| | | |
| | | | |
Merge commit 'b56b5659b3996e98c2060f168d1cff1474e77d2a'
* commit 'b56b5659b3996e98c2060f168d1cff1474e77d2a':
Fix the C library runtime initialization order.
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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
|
| |\ \ \ \
| |/ / /
| | | |
| | | |
| | | |
| | | |
| | | | |
Merge commit 'ef0bd1857041ffde069cf52138aaf22c1af7130e'
* commit 'ef0bd1857041ffde069cf52138aaf22c1af7130e':
Pass the elfdata pointer in a slot of the temporary TLS area.
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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.
|
| |\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | | |
* changes:
Updating v4l2 headers from kernel
|
| | | | | |
| | | | |
| | | | |
| | | | | |
Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>
|
| |\ \ \ \ \
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
* changes:
linux: add headers for lis331dlh and sfh7743 sensor drivers.
|
| | |/ / / /
| | | | |
| | | | |
| | | | | |
Signed-off-by: Mike Lockwood <lockwood@android.com>
|
| |/ / / /
| | | |
| | | |
| | | | |
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
|
| | | | |
| | | |
| | | |
| | | | |
current impl actually uses shared mutexes
|
| | | | | |
|
| |\ \ \ \
| |/ / /
| | | |
| | | |
| | | |
| | | |
| | | | |
Merge commit '348065586a2e6154d6cff36afa6e00af6bbc5918'
* commit '348065586a2e6154d6cff36afa6e00af6bbc5918':
Add new C++ headers <cerrno> and <cfloat>
|
| | | | |
| | | |
| | | |
| | | |
| | | | |
Also add std::malloc/realloc/calloc/free to <cstdlib>
Rename <cwchar_is_not_supported> to <cwchar>
|
| |\ \ \ \
| |/ / /
| | | |
| | | |
| | | |
| | | |
| | | | |
Merge commit 'db4616b2d3234a1916cafb48e65c50cf302afcde'
* commit 'db4616b2d3234a1916cafb48e65c50cf302afcde':
Add <linux/uinput.h> to C library kernel headers
|
| | | | | |
|
| |\ \ \ \
| |/ / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
chk_free())
Merge commit 'c4eee3765bf9dd81ff055e70ff7daa83a3926d2a'
* commit 'c4eee3765bf9dd81ff055e70ff7daa83a3926d2a':
Prevent a crash in the memory leak checker (which happened in chk_free())
|
| | | |/
| |/|
| | |
| | |
| | |
| | | |
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
|
| | | |
| | |
| | |
| | | |
Signed-off-by: Iliyan Malchev <malchev@google.com>
|
| |\ \ \
| |/ /
| | |
| | |
| | |
| | |
| | | |
Merge commit '6ee8f1b0444c0db94931d2cd64427ded8fba38b0'
* commit '6ee8f1b0444c0db94931d2cd64427ded8fba38b0':
Add LD_LIBRARY_PATH support to bionic's linker
|
| | |\ \
| | | |
| | | |
| | | |
| | | | |
* changes:
Add LD_LIBRARY_PATH support to bionic's linker
|
| | | | | |
|
| |\ \ \ \
| |/ / /
| | | |
| | | |
| | | |
| | | |
| | | | |
Merge commit '380f24983e8e33d0b189dda198ec64c1766a359d'
* commit '380f24983e8e33d0b189dda198ec64c1766a359d':
update clean msm_camera.h
|
| | |\ \ \
| | | | |
| | | | |
| | | | |
| | | | | |
* changes:
update clean msm_camera.h
|
| | | | | |
| | | | |
| | | | |
| | | | | |
Signed-off-by: Iliyan Malchev <malchev@google.com>
|
| | | | | |
| | | | |
| | | | |
| | | | | |
Signed-off-by: Iliyan Malchev <malchev@google.com>
|
| | | | | |
| | | | |
| | | | |
| | | | | |
Signed-off-by: Iliyan Malchev <malchev@google.com>
|
| |\ \ \ \ \
| |/ / / /
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
accessors in stat structure
Merge commit '09baf4e881c78e67c7849aa81432ceb34e72e913'
* commit '09baf4e881c78e67c7849aa81432ceb34e72e913':
Add Glibc-compatible macro aliases for the nanosecond time accessors in stat structure
|
| | |/ / /
| | | |
| | | |
| | | | |
structure
|
| |\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | | |
* changes:
Removed non-standard declaration in cstring.
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
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.
|
| |\ \ \ \ \
| |/ / / /
|/| | | |
| | | | |
| | | | | |
* changes:
Make IPv6 definitions comply with RFC 3493: - Add some definitions to netinet/in6.h - Include netinet/in6.h from netinet/in.h
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
- Add some definitions to netinet/in6.h
- Include netinet/in6.h from netinet/in.h
|
| |\ \ \ \ \
| | |/ / /
| |/| | |
| | | | |
| | | | |
| | | | |
| | | | | |
Merge commit '9cfccefa055554c7e951741c01373a52a82d3fd6'
* commit '9cfccefa055554c7e951741c01373a52a82d3fd6':
Update cleaned-up kernel headers
|
| | | | | | |
|
| |\ \ \ \ \
| |/ / / /
| | / / /
| |/ / /
|/| | |
| | | |
| | | | |
Merge commit '3ddc15e10a6f5690e53e729c0da2c42f0eb944d1'
* commit '3ddc15e10a6f5690e53e729c0da2c42f0eb944d1':
Add new clean header for PPP on PPTP (VPN)
|