platform_bionic/libc/bionic
Jens Gulin c20d0f3993 Correction to use of TEMP_FAILURE_RETRY in send_prop_msg
RETRY macro may retry command if result is -1. In this
case the command was "connect < 0" instead of just
connect. The comparison will not return -1 and thus
retry is never done. This is now corrected so that
interrupts will cause retry instead of fail.

(There was no other negative side effect of the bug.
The result code from RETRY was used in an if-statement
and it would be true for all negative connect results.
This was according to expectations.)

Change-Id: Ie206b39878e9befea4e3be9a4061ee39eb232d80
2012-07-27 15:18:23 +02:00
..
__errno.c auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
__set_errno.c __set_errno: Hide internal symbol __set_syscall_errno 2010-10-15 03:07:22 +08:00
arc4random.c auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
basename.c auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
basename_r.c auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
bionic_clone.c Implement clone() C library function properly. 2010-01-25 11:18:30 -08:00
clearenv.c Change-Id: I68cc462aeb2460345a53bdb9941ce4bfc10456fb 2010-06-27 20:53:04 -07:00
cpuacct.c Prevent deadlock when using fork 2011-12-06 08:39:18 -08:00
dirname.c auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
dirname_r.c auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
dlmalloc.c Minor tweak to get memory around corrupted heap chunks dumped. 2012-06-19 07:11:38 -07:00
dlmalloc.h Split libc_debug.so into two .so modules loaded on demand from libc.so 2009-11-18 10:36:25 -08:00
drand48.c Remove duplicated _rand48 implementation. Use stdlib version instead 2010-10-25 16:27:47 -07:00
erand48.c Remove duplicated _rand48 implementation. Use stdlib version instead 2010-10-25 16:27:47 -07:00
err.c Add fts, err, and sys/queue for grep 2010-01-15 15:57:02 -08:00
fdprintf.c Add implementation of fdprintf, clearenv, and stubs for ttyname_r, *usershell 2010-01-15 16:52:35 -08:00
fork.c Handle pthread-related changes (mutex/atfork) 2012-03-26 15:38:59 -07:00
fts.c Remove compiler warnings when building Bionic. 2010-06-22 17:51:41 -07:00
hash.h auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
if_indextoname.c auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
if_nametoindex.c auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
ioctl.c auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
ldexp.c auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
libc_init_common.c bionic: import heaptracker as chk_malloc 2012-06-01 15:54:34 -07:00
libc_init_common.h Updated gcc 4.4.3 IA toolchain doesn't require the .ctors list 2011-07-07 22:46:16 +02:00
libc_init_dynamic.c bionic: import heaptracker as chk_malloc 2012-06-01 15:54:34 -07:00
libc_init_static.c Initialize TLS before any application code is run. 2012-04-13 00:08:11 +04:00
logd_write.c Adding event logging to libc. 2012-06-08 12:14:48 -07:00
malloc_debug_check.c bionic: import heaptracker as chk_malloc 2012-06-01 15:54:34 -07:00
malloc_debug_check_mapinfo.c bionic: import heaptracker as chk_malloc 2012-06-01 15:54:34 -07:00
malloc_debug_check_mapinfo.h bionic: import heaptracker as chk_malloc 2012-06-01 15:54:34 -07:00
malloc_debug_common.c bionic: import heaptracker as chk_malloc 2012-06-01 15:54:34 -07:00
malloc_debug_common.h bionic: import heaptracker as chk_malloc 2012-06-01 15:54:34 -07:00
malloc_debug_leak.c resolved conflicts for merge of e1dd3c28 to jb-dev-plus-aosp 2012-06-02 08:14:36 -07:00
malloc_debug_qemu.c bionic: import heaptracker as chk_malloc 2012-06-01 15:54:34 -07:00
malloc_debug_stacktrace.c bionic: import heaptracker as chk_malloc 2012-06-01 15:54:34 -07:00
md5.c am 08a4ce98: am 0c398985: Merge "[ENDIAN] Build md5 code correctly for bigendian targets" 2011-03-14 11:50:56 -07:00
md5.h auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
memmove_words.c Add some missing includes. 2011-03-21 20:01:03 -07:00
pthread-atfork.c Handle pthread-related changes (mutex/atfork) 2012-03-26 15:38:59 -07:00
pthread-rwlocks.c Add pthread_rwlock_t implementation to the C library (DO NOT MERGE) 2010-05-19 14:53:18 -07:00
pthread-timers.c Give the timer_create SIGEV_THREAD helper threads sensible names. 2012-06-06 10:32:56 -07:00
pthread.c am fd955033: Merge "pthread: Invalidate stale stack pointers on pthread_exit()" 2012-05-09 12:53:16 -07:00
pthread_debug.c implement pthread mutex deadlock detection 2011-12-09 14:38:57 -08:00
pthread_internal.h resolved conflicts for merge of 6cf3c7c5 to jb-dev-plus-aosp 2012-05-08 13:26:28 -07:00
ptrace.c bionic, libthread_db x86 fixes 2011-07-07 22:46:16 +02:00
pututline.c bionic: ftell() returns a long, not an int 2010-02-05 16:05:52 -02:00
realpath.c New additions/bug fixes required/found when porting perf. 2012-03-20 12:54:55 -07:00
rules.jam auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
sched_cpualloc.c <sched.h>: Add sched_getcpu() and cpu_set_t 2010-12-06 13:42:54 +01:00
sched_cpucount.c <sched.h>: Add sched_getcpu() and cpu_set_t 2010-12-06 13:42:54 +01:00
sched_getaffinity.c <sched.h>: Add sched_getcpu() and cpu_set_t 2010-12-06 13:42:54 +01:00
sched_getcpu.c <sched.h>: Add sched_getcpu() and cpu_set_t 2010-12-06 13:42:54 +01:00
semaphore.c bionic: Do not use <sys/atomics.h> for platform code. 2011-11-16 16:28:10 +01:00
sha1.c auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
ssp.c bionic: equalize the <unknown> program name between ssp.c and libc_init_common.c 2010-02-05 17:48:07 -02:00
stubs.c Update bionic to know users and isolated uids for uid string representation. 2012-02-09 16:14:28 -08:00
system_properties.c Correction to use of TEMP_FAILURE_RETRY in send_prop_msg 2012-07-27 15:18:23 +02:00
tdelete.c New additions/bug fixes required/found when porting perf. 2012-03-20 12:54:55 -07:00
tdestroy.c New additions/bug fixes required/found when porting perf. 2012-03-20 12:54:55 -07:00
tfind.c New additions/bug fixes required/found when porting perf. 2012-03-20 12:54:55 -07:00
thread_atexit.c auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
time64.c time64: make helper functions static 2010-10-15 02:16:16 +08:00
time64_config.h <time.h>: Add timegm(), timelocal() and others. 2010-12-06 12:25:52 +01:00
tsearch.c New additions/bug fixes required/found when porting perf. 2012-03-20 12:54:55 -07:00
utime.c auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
utmp.c auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00