platform_bionic/libc
Elliott Hughes 78e4f8fed2 syscall(3)'s return type should be long.
This doesn't require us to change any of the syscall implementations
because (a) the LP32 ones have sizeof(int) == sizeof(long) anyway,
which is how we never noticed this bug before and (b) the LP64 ones
all use a 64-bit register for the result (and for the syscall number
too).

Bug: https://code.google.com/p/android/issues/detail?id=73952
Bug: 16568314

(cherry picked from commit 21972b61ec)

Change-Id: Ifbc424be29e5650ec72a24df25dd35f24fdd5b3c
2014-07-28 15:39:24 -07:00
..
arch-arm Enable building libc with clang. 2014-07-11 09:28:53 -07:00
arch-arm64 Use VDSO for clock_gettime(2) and gettimeofday(2). 2014-07-16 15:15:53 -07:00
arch-common/bionic Fixes for __cxa_finalize 2014-05-05 11:36:57 -07:00
arch-mips [MIPS] Drop soft-fp targets 2014-07-24 11:17:55 -07:00
arch-mips64 [MIPSR6] setjmp supports mips32r6 and FP64A/FPXX reg models 2014-07-23 21:04:20 -07:00
arch-x86 Remove the unused swab.S. 2014-07-22 20:43:55 -07:00
arch-x86_64 Use VDSO for clock_gettime(2) and gettimeofday(2). 2014-07-16 15:15:53 -07:00
bionic Use vsnprintf(3) in syslog(3). 2014-07-28 09:33:00 -07:00
dns Cleanup: Delete dead code. 2014-07-22 11:24:17 -07:00
include syscall(3)'s return type should be long. 2014-07-28 15:39:24 -07:00
kernel Add gen syscalls step to instructions. 2014-07-18 16:56:33 -07:00
private Start hiding "private/bionic_time.h". 2014-07-25 15:24:57 -07:00
stdio Fix visibility for a bunch more symbols. 2014-07-14 18:59:51 -07:00
tools Fix generate-NOTICE to cope better with BSD __COPYRIGHT macros. 2014-07-23 11:36:21 -07:00
tzcode Remove localtime_tz and strftime_tz. 2014-07-25 17:28:52 -07:00
upstream-dlmalloc Put all allocation functions into dispatch table. 2014-06-12 15:08:18 -07:00
upstream-freebsd Fix visibility for a bunch more symbols. 2014-07-14 18:59:51 -07:00
upstream-netbsd Implement twalk(3), add unit tests. 2014-07-24 15:14:06 -07:00
upstream-openbsd Implement twalk(3), add unit tests. 2014-07-24 15:14:06 -07:00
zoneinfo Upgrade to tzdata2014e. 2014-06-13 10:55:19 -07:00
Android.mk Implement twalk(3), add unit tests. 2014-07-24 15:14:06 -07:00
crt.mk
MODULE_LICENSE_BSD
NOTICE Implement twalk(3), add unit tests. 2014-07-24 15:14:06 -07:00
SYSCALLS.TXT Clean up some misinformation around prctl. 2014-07-18 16:54:28 -07:00