| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| | |
| |
| |
| | |
Change-Id: Iffd41046fd0933c66542abf7627a1569522dfcb2
|
| |\ \
| |/
|/|
| | |
socket_local_client." into kraken
|
| | |
| |
| |
| |
| |
| | |
socket_local_client.
Change-Id: I87f29fd59454d713b9ddfb13e6cf114822f52efd
|
| | |
| |
| |
| | |
Change-Id: Icb3601bbc9365b75b05ff443a39192f9cd3cbfb7
|
| | |
| |
| |
| | |
Change-Id: Id4e020ed330b3eabf09324f9b6d44d3a0f336d87
|
| |/
|
|
|
|
|
|
| |
We simply copy the stuff we need from cutils headers.
A future patch will change cutils to include the private <bionic_atomic_inline.h>
Change-Id: Ib6fd9a03bc9e337ce867bd606dc94c2b4438480a
|
| |
|
|
| |
Change-Id: I2678010ee95933de19c8a8e3b2fe65ceb9b86400
|
| |
|
|
| |
Change-Id: I6e16e7ab117b6df07ef24f092de1511fe1e9e7b1
|
| |
|
|
|
|
| |
For some reason, a previous backport from master didn't get this.
Change-Id: I59eb96ad9de495a659808fdfb557033476c3d123
|
| |
|
|
| |
Change-Id: Id02b29314109ad1bf6de3388f856af6da3f90d33
|
| |
|
|
|
|
| |
be enabled.
Change-Id: I672cb319689aa4fb3f1f7cd868dda76842bebae9
|
| |
|
|
|
|
|
|
|
|
|
| |
bionic/libc/include/../include/stdlib.h: In function 'int grantpt(int)':
bionic/libc/include/../include/stdlib.h:138:23: warning: parameter '__fd' set but not used [-Wunused-but-set-parameter]
By adding __attribute((unused)) to __fd, the warning is gone, and this
attribute is compatible with gcc-4.4.0, gcc-4.3.1 gcc-4.2.1.
There is no any side effect.
Change-Id: I385f0f4da1013ffd1499e391eac9123aafe1f7a5
|
| |
|
|
| |
Change-Id: I3a0c2c05e295ac05ed51a531dabda668be204ca0
|
| |
|
|
|
|
| |
DO NOT MERGE
Change-Id: Iac4eb5911ffe4a7ab72b84df44e907685ac816af
|
| |
|
|
|
|
|
| |
!= 0.
Change-Id: I534e36a7171cd37037ae03b910ba71ea6968286d
Note: previously, sem_init() would return an error if pshared != 0.
|
| |\
| |
| |
| | |
Change-Id: I2b9b80a7fa32c56be2b85ff8be0d6e7ac1848afe
|
| | |\
| | |
| | |
| | | |
Change-Id: Ib7fc9c6f79f9b13e2175da137005d8968ea85eaf
|
| | | |\
| | | |
| | | |
| | | | |
threads"
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
... so that each cloned process at the kernel level can be named
independently. Tools like 'top' can display the CPU/memory statistics
for each process's thread if "Show Threads" mode is on.
With this function in place, we can convert dalvik/Thread.c setThreadName()
function over this function. This feature ought to be provided by the
underlying C library and not coded directly in Dalvik.
Change-Id: Ifa997665dbaa114e0b126f8c667708be9a4137fd
Signed-off-by: André Goddard Rosa <andre.goddard@gmail.com>
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Update ARM atomic ops to use LDREX/STREX. Stripped out #if 0 chunk.
Insert explicit memory barriers in pthread and semaphore code.
For bug 2721865.
Change-Id: I0f153b797753a655702d8be41679273d1d5d6ae7
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Added an underscore to _ARM_HAVE_LDREX_STREX to make it match the others.
Added __ARM_HAVE_DMB and __ARM_HAVE_LDREXD when appropriate.
Fixed some typos.
Change-Id: I2f55febcff4aeb7de572a514fb2cd2f820dca27c
|
| |/ / /
| | |
| | |
| | | |
Change-Id: I756d8c26afc37cd7b71117ddbaa02a2cb40fdecb
|
| |\ \ \
| |/ /
| | |
| | | |
Change-Id: I5804d8850f2d4fb7b5d5c53d51e153f7ced9646e
|
| | |/
| |
| |
| |
| | |
Change-Id: Ic51e58a7c75d20bf770dc0ebd7f97a338fbe0036
Signed-off-by: André Goddard Rosa <andre.goddard@gmail.com>
|
| |\ \
| |/
| |
| | |
Change-Id: I9c926a3cd680a96ece026cdec71c6e0fb0b7ad7c
|
| | |\ |
|
| | | | |
|
| |\ \ \
| |/ /
| | |
| | | |
Change-Id: I2be62bce462ee53fe9519f433523bd7a44a73d40
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
GDB looks for specific opcode sequences when trying to recognize a stack
frame as a signal trampoline. The sequences it looks for happen to be those
created when SA_RESTORER is set, since glibc always sets a restorer. This
patch does the same here, so that the trampolines can be correctly identified.
Change-Id: I0ac574a68818cb24d939c3527f3aaeb04b853d04
|
| | | |
| | |
| | |
| | | |
Change-Id: I243c98e20a250e0d40d481f16af481ff070219fd
|
| |\ \ \
| |/ /
| | |
| | | |
Change-Id: Iecfd2bd3069f70bbe508042cc249fcf7ff24800d
|
| | |\ \
| | | |
| | | |
| | | | |
for float."
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Original compiler error:
target arm C: libm <= bionic/libm/src/e_j0f.c
bionic/libm/src/e_j0f.c: In function 'j0f':
bionic/libm/src/e_j0f.c:66: warning: comparison between signed and unsigned integer expressions
bionic/libm/src/e_j0f.c: In function 'y0f':
bionic/libm/src/e_j0f.c:140: warning: comparison between signed and unsigned integer expressions
target arm C: libm <= bionic/libm/src/e_j1.c
It's subtle but ix is masked with 0x7f000000 so it can never ever have a value
greater than 0x80000000. So I switched to using the unmasked hx and added a
cast as a reward to the compiler for being right.
I checked the original routines that e_j0f.c was ported from (in e_j0.c) and
the double's don't use 0x80000000 so this issue didn't exist there.
Let that be a warning to those that just slap on casts to shut up the compiler,
sometimes it's sniffed out a bug for you. :-)
Similar fixes in the other functions.
Change-Id: I7a776e5d4721fc3a9e3bd89179b67e9af3a2ebfa
|
| | |\ \ \ |
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Warning from compiler:
target arm C: libm <= bionic/libm/src/e_atan2.c
bionic/libm/src/e_atan2.c: In function 'atan2':
bionic/libm/src/e_atan2.c:71: warning: suggest parentheses around arithmetic in operand of '|'
target arm C: libm <= bionic/libm/src/e_atan2f.c
|
| | |\ \ \ \ |
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
The LD_PRELOAD environment variable allows the user to specify a list of
libraries which should be unconditionally loaded before any others. This
makes possible some useful tricks, such as library interposers.
Change-Id: I433d775ab08ef63a5fbe7b21f87a5642954fc32f
|
| | |\ \ \ \ \ |
|
| | | |/ / / /
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
... by removing extraneous NULL check, as free() already does it.
Signed-off-by: André Goddard Rosa <andre.goddard@gmail.com>
Change-Id: I0445f35c7ad0a049a0e4aee1fbe002ed2f13b94b
|
| | |\ \ \ \ \
| | |/ / / /
| |/| | | | |
|
| | | |/ / / |
|
| | |\ \ \ \
| | |_|/ /
| |/| | | |
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
It decreases code size:
text data bss dec hex filename
161 0 0 161 a1 strndup-BEFORE.o
153 0 0 153 99 strndup-AFTER.o
Signed-off-by: André Goddard Rosa <andre.goddard@gmail.com>
|
| |\ \ \ \ \
| |/ / / /
| | | | |
| | | | | |
Change-Id: If02d33af51017dbd85e91c79ac2e848eda6cf253
|
| | |\ \ \ \ |
|
| | | | |/ /
| | |/| |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
log_channel_t contains fd member, which is file descriptor for
exact logging channel. change cc05d1271680d6a7804bc89d3b1fe14c40b32396
lacks initialization of this member in __write_to_log_init(), thus
logging code is not working, although not crashable.
Additional details may be found in comments here:
http://review.source.android.com/5617
|
| | |\ \ \ \ |
|
| | | |/ / /
| | | | |
| | | | |
| | | | | |
base on kernel 2.6.27 arch/sh/include/asm/
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
I'm not sure if this is a correct fix or not.
Also need to find out why 1.6 does not have this issue.
Change-Id: If46c844834bda1e2cbf084a1a45a1832119b3ae3
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Signed-off-by: André Goddard Rosa <andre.goddard@gmail.com>
Change-Id: I739c63c5a7344fff1775580044dc647edf246ebf
|