156ccf42ff622bc7284640bd6679bf35cfa9a123 |
|
30-May-2013 |
Erik Gilling <konkers@android.com> |
update signal.h to be C90 compatable sigismember, sigaddset, and sigdelset had mixed code and declarations which are not allowed in C90 and before. Change-Id: I662af944fc1489e34bed228ce592e41f50d00e17 Signed-off-by: Erik Gilling <konkers@android.com>
|
41b3179c9ef03ebb447cac7f5e8405dce399cb17 |
|
28-Jan-2013 |
Elliott Hughes <enh@google.com> |
Unit tests for formatting code, fix %%. Also fix <signal.h> and <stdio.h> so they don't cause compiler warnings. Change-Id: Ib1a746bf01de22d47dbd964de0e6af80a7c96303
|
f373b11f9ff46a2f4b918b0027d466eaa035297a |
|
19-Jan-2013 |
Kito Cheng <kito@0xlab.org> |
Add const for first argument of sigismember for fit POSIX spec Change-Id: Icbc67375282f2a22dce02e4bacab15ddae846057
|
fb5e5cbdd4e1d75594c37ebb544c0f46482a027b |
|
07-Jan-2013 |
Elliott Hughes <enh@google.com> |
Fix an off-by-one error in the sigset_t function error handling. Spotted while running the tests on MIPS, where sigset_t is actually large enough. The bits in sigset_t are used such that signal 1 is represented by bit 0, so the range of signals is actually [1, 8*sizeof(sigset_t)]; it seems clearer to reword the code in terms of valid bit offsets [0, 8*sizeof(sigset_t)), which leads to the usual bounds checking idiom. Change-Id: Id899c288e15ff71c85dd2fd33c47f8e97aa1956f
|
da73f655fcbac6e1a8bfd35303cef6f41187d12b |
|
01-Dec-2012 |
Elliott Hughes <enh@google.com> |
Add argument checking to sigemptyset(3) and friends. You could argue that this is hurting people smart enough to have manually allocated a large-enough sigset_t, but those people are smart enough to implement their own sigset functions too. I wonder whether our least unpleasant way out of our self-inflicted 32-bit cesspool is to have equivalents of _FILE_OFFSET_BITS such as _SIGSET_T_BITS, so calling code could opt in? You'd have to be careful passing sigset_t arguments between code compiled with different options. Bug: 5828899 Change-Id: I0ae60ee8544835b069a2b20568f38ec142e0737b
|
c1b44ecc5385e68e81667068e03b32c2084a85b1 |
|
17-Oct-2012 |
David 'Digit' Turner <digit@android.com> |
Revert "libc: Provide ucontext_t/mcontext_t/<sys/ucontext.h>" This creates build issues in the internal Android tree. Will investigate later. Original patch: https://android-review.googlesource.com/#/c/38875/ Change-Id: I12c5995ebf172890051af42a5d3b31014c9c5117
|
c124baaf29a948fd8b93e7f1fefc20b659271026 |
|
12-Jul-2012 |
David 'Digit' Turner <digit@android.com> |
libc: Provide ucontext_t/mcontext_t/<sys/ucontext.h> This patch updates the C library headers to provide ucontext_t definitions for three architectures. + Fix <signal.h> to always define 'struct sigcontext'. The new declarations are announced with new macros defined in <sys/cdefs.h> in order to make it easier to adapt client code that already defines its own, incompatible, versions of the structures seen here. http://code.google.com/p/android/issues/detail?id=34784 Change-Id: Ie78c48690a4ce61c50593f6c39639be7fead3596
|
b5f053b5a7deb084e7a052d527e0aa41339ae05c |
|
08-Sep-2012 |
Irina Tirdea <irina.tirdea@intel.com> |
Make strerror(3) and strsignal(3) thread-safe, and add psignal(3) and psiginfo(3). Change-Id: I426109db25e907980d6cb3a7a695796e45783b78
|
5c8c00a95a6cdcd74ac32dadedf0cea2b1661169 |
|
20-Dec-2010 |
David 'Digit' Turner <digit@google.com> |
libc: Fix the definition of SIGRTMAX After this change, SIGRTMAX will be set to 64 (instead of 32 currently). Note that this doesn't change the fact that our sigset_t is still defined as a 32-bit unsigned integer, so most functions that deal with this type won't support real-time signals though. Change-Id: Ie1e2f97d646f1664f05a0ac9cac4a43278c3cfa8
|
bb5581ad6eec40041dab4e961149f7a8a3a83497 |
|
09-Oct-2010 |
David 'Digit' Turner <digit@google.com> |
libc: tag missing functions in system headers. This matches recent changes in the NDK header. We enclose missing functions in #if 0 .. #endif blocks with a clear "MISSING" in comments in order to locate them later. Change-Id: I87b3a62e777897e75c9243360fb0a82bcc53d9fb
|
81569aa72c48caef1e74be31a5f799fc34a1cfc5 |
|
01-Dec-2009 |
Thorsten Glaser <tg@mirbsd.org> |
Add declaration for sys_signame[] forgotten in change 12489
|
8c59d96e243ba1a05d7d9ab7a14d1a00e20bad4a |
|
14-Jan-2010 |
Colin Cross <ccross@android.com> |
Add killpg function Change-Id: I9bc347d264fe38faf2d0f9935d2ebb43a353196e
|
1dc9e472e19acfe6dc7f41e429236e7eef7ceda1 |
|
04-Mar-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //depot/cupcake/@135843
|
1767f908af327fa388b1c66883760ad851267013 |
|
04-Mar-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //depot/cupcake/@135843
|
4e468ed2eb86a2406e14f1eca82072ee501d05fd |
|
18-Dec-2008 |
The Android Open Source Project <initial-contribution@android.com> |
Code drop from //branches/cupcake/...@124589
|
a27d2baa0c1a2ec70f47ea9199b1dd6762c8a349 |
|
21-Oct-2008 |
The Android Open Source Project <initial-contribution@android.com> |
Initial Contribution
|