- 21 Nov, 2013 2 commits
-
-
Elliott Hughes authored
* commit 'b135f6e5': Remove the unused arch-x86 and arch-x86-64 kernel headers.
-
Elliott Hughes authored
-
- 20 Nov, 2013 6 commits
-
-
Elliott Hughes authored
* commit 'ca045a19': Switch to upstream sleep(3) and usleep(3).
-
Elliott Hughes authored
-
Elliott Hughes authored
Also fix the signature of usleep, and the definition of useconds_t which should be unsigned, as the 'u' in its name implies. This patch also cleans up the existing FreeBSD hacks by moving the libm stuff from <sys/cdefs.h> to a libm-private header, and adding comments about the hacks we use to build FreeBSD source. Change-Id: Ibe5067a380502df94a0a3a7901969b35411085b6
-
Elliott Hughes authored
* commit '39bc7ecd': Fix <signal.h> for mips uapi.
-
Elliott Hughes authored
-
Elliott Hughes authored
Bug: 11559337 Change-Id: I4c6080f162d74ee78c81d698c7b50470b0e09586
-
- 19 Nov, 2013 15 commits
-
-
Elliott Hughes authored
* commit 'db1dec1e': Clean up pthread_internal_t.
-
Elliott Hughes authored
-
Elliott Hughes authored
Bug: 11755300 Change-Id: Ib509e8c5ec6b23513aa78b5ac5141d7c34ce2dc8
-
Elliott Hughes authored
x86-64 already used uapi headers, and x86 can too now. Bug: 11559337 Change-Id: I1196d2500f06ad40f2488b96fc8ccc7e02c7d5c0
-
Christopher Ferris authored
* commit '2a34009f': Add .cfi_startproc/.cfi_endproc to ENTRY/END.
-
Christopher Ferris authored
-
Christopher Ferris authored
Bug: 10414953 Change-Id: I711718098b9f3cc0ba8277778df64557e9c7b2a0
-
Elliott Hughes authored
* commit 'bf652a5f': Provide <sys/user.h>.
-
Elliott Hughes authored
-
Elliott Hughes authored
strace wants this, for example. Change-Id: Icb4d64bde392abbc091fa3375a4fa19b2707b12c
-
Elliott Hughes authored
* commit '1b2d214b': Clean up forking and cloning.
-
Elliott Hughes authored
-
Elliott Hughes authored
The kernel now maintains the pthread_internal_t::tid field for us, and __clone was only used in one place so let's inline it so we don't have to leave such a dangerous function lying around. Also rename files to match their content and remove some useless #includes. Change-Id: I24299fb4a940e394de75f864ee36fdabbd9438f9
-
Narayan Kamath authored
* commit '9d70ddc4': Add test case for 1^NaN
-
Narayan Kamath authored
-
- 18 Nov, 2013 11 commits
-
-
Elliott Hughes authored
* commit '318e86ed': bionic: call stdio cleanup on exit
-
Elliott Hughes authored
-
Elliott Hughes authored
* commit '303fe0cb': Fix pthread_join.
-
Elliott Hughes authored
-
Elliott Hughes authored
Let the kernel keep pthread_internal_t::tid updated, including across forks and for the main thread. This then lets us fix pthread_join to only return after the thread has really exited. Also fix the thread attributes of the main thread so we don't unmap the main thread's stack (which is really owned by the dynamic linker and contains things like environment variables), which fixes crashes when joining with an exited main thread and also fixes problems reported publicly with accessing environment variables after the main thread exits (for which I've added a new unit test). In passing I also fixed a bug where if the clone(2) inside pthread_create(3) fails, we'd unmap the child's stack and TLS (which contains the mutex) and then try to unlock the mutex. Boom! It wasn't until after I'd uploaded the fix for this that I came across a new public bug reporting this exact failure. Bug: 8206355 Bug: 11693195 Bug: https://code.google.com/p/android/issues/detail?id=57421 Bug: https://code.google.com/p/android/issues/detail?id=62392 Change-Id: I2af9cf6e8ae510a67256ad93cad891794ed0580b
-
Pawit Pornkitprasan authored
As of 61e699a1, stdio clean up functions are no longer registered in atexit and must be called manually via __cleanup. The issue this fixes is some static binaries linked against bionic cannot output properly when piped or redirected because the buffer is not flushed before closing. This is done by pulling in exit.c (and other dependencies) from netbsd. Change-Id: I193e54a6d08900f291550029fe75ce76394d9e22
-
Christopher Ferris authored
* commit '862faa12': Pull in cleaned version.h header.
-
Christopher Ferris authored
-
Christopher Ferris authored
* commit 'be8344bb': Modify tests for another glibc difference.
-
Christopher Ferris authored
-
Narayan Kamath authored
Should be 1. Change-Id: I6cf723a419f51d3bda58286a538774b71276c7b5
-
- 15 Nov, 2013 6 commits
-
-
Christopher Ferris authored
Change-Id: Ia917af9336b63ed5a10147770a8110134cb274cb
-
Christopher Ferris authored
It turns out that when passing a closed file to getdelim or getline, the functions in glibc will properly return a failure, but errno might not be set. Skip the errno check except on bionic. Change-Id: I8d625f15303d4c2d42e8d28491ea8a368aea4d32
-
Elliott Hughes authored
* commit 'f246c589': Clean up the pthread_create trampoline.
-
Elliott Hughes authored
-
Elliott Hughes authored
Bug: 8206355 Bug: 11693195 Change-Id: I35cc024d5b6ebd19d1d2e45610db185addaf45df
-
Christopher Ferris authored
* commit 'e39e3a77': Add new tests for memory/string routines.
-