- 20 Mar, 2012 1 commit
-
-
Ben Cheng authored
New functions: tfind tsearch tdelete twalk tdestroy (GNU extension) Bug fix: the current implementation for realpath would crash if the second argument (resolved_path) is NULL. New headers: ar.h search.h Change-Id: Ib6c1e42fc186a6d597a6e5a9692b16acaa155804
-
- 13 Mar, 2012 6 commits
-
-
Ben Cheng authored
-
Ben Cheng authored
Change-Id: I43f12b727881df002a8524f2738586c043833bae
-
Elliott Hughes authored
am be741d47: am 2f460fbe: am 73b5cad9: Merge "bionic: Fix wrong kernel_id in pthread descriptor after fork()" * commit 'be741d47': bionic: Fix wrong kernel_id in pthread descriptor after fork()
-
Elliott Hughes authored
* commit '2f460fbe': bionic: Fix wrong kernel_id in pthread descriptor after fork()
-
Elliott Hughes authored
* commit '73b5cad9': bionic: Fix wrong kernel_id in pthread descriptor after fork()
-
- 12 Mar, 2012 2 commits
-
-
Elliott Hughes authored
-
Jack Ren authored
After forking, the kernel_id field in the phtread_internal_t returned by pthread_self() is incorrect --- it's the tid from the parent, not the new tid of the child. The root cause is that: currently the kernel_id is set by _init_thread(), which is called in 2 cases: (1) called by __libc_init_common(). That happens when the execv( ) is called after fork( ). But when the zygote tries to fork the android application, the child application doesn't call execv( ), instread, it tries to call the Java main method directly. (2) called by pthread_create(). That happens when a new thread is created. For the lead thread which is the thread created by fork(), it should call execv() but it doesn't, as described in (1) above. So its kernel_id will inherit the parent's kernel_id. Fixed it in this patch. Change-Id: I63513e82af40ec5fe51fbb69456b1843e4bc0fc7 Signed-off-by:
Chenyang Du <chenyang.du@intel.com> Signed-off-by:
Jack Ren <jack.ren@intel.com> Signed-off-by:
Bruce Beare <bruce.j.beare@intel.com>
-
- 09 Mar, 2012 1 commit
-
-
Robert Greenwalt authored
3-digits + null. Old was 3-digits + space + null. Change-Id: If5fdf9ced073f432ace3a76858025ad651c74e3d
-
- 08 Mar, 2012 5 commits
-
-
Andy McFadden authored
If we catch a fatal signal that won't automatically re-throw when the thread resumes, re-throw it manually. (Common examples are SIGPIPE and the SIGFPE from integer division by zero.) Change-Id: I329e6d4db907047c555957b42cbd09c50fc808e7
-
Ben Cheng authored
Change-Id: I9c377436e9bf158e7236b3b7dcebf3e79fa961de
-
Selim Gurun authored
-
Ben Cheng authored
-
- 07 Mar, 2012 5 commits
-
-
Selim Gurun authored
Update wire protocol to return and process error code first. This will make sure dns proxy operations do not stall when an internal error happens. Also fix a compiler warning. Also fix a potential buffer overflow. And use correct types (uint32_t) rather than int when reading from network. Change-Id: I9f99c16d6fd5e9137491a4d1b293a7c78e31b9c3
-
Ben Cheng authored
-
Marco Nelissen authored
-
Marco Nelissen authored
This adds the thread id and name to the "Fatal signal" logging, making it easier to track down where in process it actually crashed. Change-Id: I17a365042b2f10b161debe98bc2e7070af055dfb
-
Ben Cheng authored
Change-Id: I4da6b23cdbce89445f1ca5d2fadeb23345ce694c
-
- 06 Mar, 2012 2 commits
-
-
Nick Kralevich authored
-
Nick Kralevich authored
Add support for PT_GNU_RELRO. This allows the static linker to indicate that certain regions of memory should be marked as "read-only" after dynamic linking is complete. See: * http://www.akkadia.org/drepper/nonselsec.pdf (section 6) * http://tk-blog.blogspot.com/2009/02/relro-not-so-well-known-memory.html Note that this change has no effect on Android right now, because we don't compile our code with relro enabled. Change-Id: I6541f8775367e8558b4388f7d105b1ae6e8f046b
-
- 05 Mar, 2012 2 commits
-
-
Kenny Root authored
-
Kenny Root authored
This reverts commit 93cb3081
-
- 03 Mar, 2012 1 commit
-
-
Kenny Root authored
-
- 02 Mar, 2012 10 commits
-
-
Kenny Root authored
Use the same pattern in atexit.S to reference __dso_handle in a way that doesn't require a TEXTREL flag to be set. Change-Id: Id69d20863ee203d2b2f7ef0db230f9b548657741
-
Elliott Hughes authored
* commit '6d074bb7': Upgrade to tzdata2012b.
-
Elliott Hughes authored
* commit '70d1d45f': Upgrade to tzdata2012b.
-
Elliott Hughes authored
* commit 'a58c88c2': Upgrade to tzdata2012b.
-
Elliott Hughes authored
* commit 'a2b1bbc9': Upgrade to tzdata2011a.
-
Elliott Hughes authored
* commit 'a480cf93': Upgrade to tzdata2011a.
-
Elliott Hughes authored
Change-Id: I21a1dd41503518e75892180c14f1ce79102772ad
-
Elliott Hughes authored
-
Elliott Hughes authored
Summer time in Cuba has been delayed 3 weeks (now starts April 1 rather than March 11). Since March 11 (the old start date, as listed in 2012a) is just a little over a week away, this change is urgent. Change-Id: Iadf4dc30072bdac0bcd0ad4b9e076a9ca071efbe
-
Elliott Hughes authored
-
- 01 Mar, 2012 5 commits
-
-
Jean-Baptiste Queru authored
* commit 'cff86bdc': update stddef.h
-
Jean-Baptiste Queru authored
* commit '568ee0d1': Eliminate duplicate constants
-
Jean-Baptiste Queru authored
* commit 'dc755140': Clean up the remnants of SuperH support
-
Elliott Hughes authored
From the notes: Chile 2011/2012 and 2012/2013 summer time date adjustments. Falkland Islands onto permanent summer time (we're assuming for the foreseeable future, though 2012 is all we're fairly certain of.) Armenia has abolished Summer Time. Tokelau jumped the International Date Line back last December (just the same as their near neighbour, Samoa). America/Creston is a new zone for a small area of British Columbia There will be a leapsecod 2012-06-30 23:59:60 UTC. Change-Id: I1d66edf8d33fd1dbcf21178def91844025fd9047
-
Jean-Baptiste Queru authored
* commit '018c27ed': update stddef.h
-