- 27 Sep, 2009 1 commit
-
-
David 'Digit' Turner authored
-
- 23 Sep, 2009 2 commits
-
-
David 'Digit' Turner authored
-
Android (Google) Code Review authored
* changes: Add pthread_mutex_lock_timeout_np
-
- 22 Sep, 2009 2 commits
-
-
David 'Digit' Turner authored
This is used to perform a mutex lock for a given amount of milliseconds before giving up. Using the _np prefix since this is absolutely not portable. Also remove a compiler warning in pthread_attr_getstackaddr
-
David 'Digit' Turner authored
For performance reasons, we don't call the kernel helper. Instead, we directly access the TLS register on ARMv6 and higher. For ARMv5TE, keep using the hard-coded address populated by the kernel on each task switch. NOTE: Since we don't call the kernel helper, this must precisely match your kernel configuration. This is controlled by setting the ARCH_ARM_HAVE_TLS_REGISTER variable to 'true' in your board configuration file.
-
- 20 Sep, 2009 1 commit
-
-
Dima Zavin authored
Change-Id: I653d638353d9246287bcf568bbffd0f5dbc64019 Signed-off-by:
Dima Zavin <dima@android.com>
-
- 15 Sep, 2009 1 commit
-
-
Ben Cheng authored
So that the real culprit of native crashes can surface in the stack trace.
-
- 11 Sep, 2009 1 commit
-
-
Iliyan Malchev authored
Signed-off-by:
Iliyan Malchev <malchev@google.com>
-
- 09 Sep, 2009 3 commits
-
-
Android (Google) Code Review authored
* changes: Fix an infinite loop in time2sub.
-
David 'Digit' Turner authored
The problem is that time_t is signed, and the original code relied on the fact that (X + c < X) in case of overflow for c >= 0. Unfortunately, this condition is only guaranteed by the standard for unsigned arithmetic, and the gcc 4.4.0 optimizer did completely remove the corresponding test from the code. This resulted in a missing boundary check, and an infinite loop. The problem is solved by testing explicitely for TIME_T_MIN and TIME_T_MAX in the loop that uses this. Also fix increment_overflow and long_increment_overflow which were buggy for exactly the same reasons. Note: a similar fix is needed for system/core/libcutils
-
Erik Gilling authored
Signed-off-by:
Erik Gilling <konkers@android.com>
-
- 02 Sep, 2009 2 commits
-
-
Android (Google) Code Review authored
* changes: Neon-optimized versions of memcpy.
-
David 'Digit' Turner authored
This optimization come from the external 0xdroid repository. Original patch can be found here: http://gitorious.org/0xdroid/bionic/commit/ebafe41c2c02f8c09a3c1d7746047083df180ac5
-
- 30 Aug, 2009 1 commit
-
-
Dima Zavin authored
Change-Id: Ib6cd13e86cea84c1cc0901dee3e9ef05eb8279cd Signed-off-by:
Dima Zavin <dima@android.com>
-
- 20 Aug, 2009 1 commit
-
-
Iliyan Malchev authored
Signed-off-by:
Iliyan Malchev <malchev@google.com>
-
- 19 Aug, 2009 1 commit
-
-
Dima Zavin authored
Signed-off-by:
Dima Zavin <dima@android.com>
-
- 13 Aug, 2009 1 commit
-
-
Erik Gilling authored
Signed-off-by:
Erik Gilling <konkers@android.com>
-
- 08 Aug, 2009 1 commit
-
-
Android (Google) Code Review authored
* changes: Don't request IPv6 addresses if AI_ADDRCONFIG is specified and the system has no IPv6 connectivity.
-
- 07 Aug, 2009 2 commits
-
-
Jean-Baptiste Queru authored
-
Android Code Review authored
* changes: Add mspace_merge_objects
-
- 05 Aug, 2009 2 commits
-
-
Dima Zavin authored
Signed-off-by:
Dima Zavin <dima@android.com>
-
Dima Zavin authored
Signed-off-by:
Dima Zavin <dima@android.com>
-
- 04 Aug, 2009 3 commits
-
-
Lorenzo Colitti authored
-
Android (Google) Code Review authored
* changes: Fix strftime to use localized month names.
-
Jean-Baptiste Queru authored
-
- 03 Aug, 2009 2 commits
-
-
Eric Fischer authored
It was using the default locale (capital L) instead of the current locale (lowercase l). Bug 2030864
-
Jean-Baptiste Queru authored
-
- 30 Jul, 2009 1 commit
-
-
Erik Gilling authored
Merge commit 'fde8642f' * commit 'fde8642f': bionic/linker: keep track of opened libraries by basename
-
- 29 Jul, 2009 2 commits
-
-
Jean-Baptiste Queru authored
-
Android (Google) Code Review authored
Merge commit '22b5eb85' * commit '22b5eb85': linker: remove newlines from DL_ERR so that dlerror works correctly
-
- 28 Jul, 2009 3 commits
-
-
Erik Gilling authored
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>
-
Android (Google) Code Review authored
* changes: linker: remove newlines from DL_ERR so that dlerror works correctly
-
David 'Digit' Turner authored
Merge commit '3773d35e' * commit '3773d35e': Make the DNS resolver accept domain names with an underscore.
-
- 27 Jul, 2009 1 commit
-
-
David 'Digit' Turner authored
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.
-
- 26 Jul, 2009 1 commit
-
-
Jean-Baptiste Queru authored
-
- 25 Jul, 2009 1 commit
-
-
Jean-Baptiste Queru authored
-
- 22 Jul, 2009 1 commit
-
-
Erik Gilling authored
Signed-off-by:
Erik Gilling <konkers@android.com>
-
- 21 Jul, 2009 2 commits
-
-
Andy McFadden authored
Merge commit '39f3745c' * commit '39f3745c': Restore malloc debug.
-
Andy McFadden authored
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.
-
- 20 Jul, 2009 1 commit
-
-
David 'Digit' Turner authored
Merge commit 'b56b5659' * commit 'b56b5659': Fix the C library runtime initialization order.
-