ab4d5cf24220f3b5d8f53b2b3bd635f23dcc9bc5 |
|
13-Sep-2014 |
Elliott Hughes <enh@google.com> |
POSIX says <signal.h> gets you ucontext_t. POSIX also says that ucontext_t's uc_sigmask has type sigset_t. MIPS64 strace needs this. The #define is to keep chromium off our lawn; otherwise it tries to redefine all this stuff itself. We should probably clean that up and remove the #define. (cherry picked from commit 26a8eb50a84e131d34d10d5d167d67e9995399bd) Bug: 18172268 Change-Id: I49d7d09dabfc6c6926a8e1f4b235d041e2f2fc4d
|
93e7b9f3eaf19aee6eac24b095982f5e25313535 |
|
26-Jun-2014 |
Raghu Gandham <raghu.gandham@imgtec.com> |
asm/sigcontext.h is required to build unwind-dw2.c in gcc-4.9. Change-Id: Ie36b68d1260a656056f66a67750232a7da78c61f Signed-off-by: Steve Ellcey <steve.ellcey@imgtec.com>
|
205dd7d9b3ba314ef8601e4613823c2d62a0605b |
|
04-Jun-2014 |
Dan Albert <danalbert@google.com> |
Remove bsd_signal and sysv_signal from bionic LP64. bsd_signal was removed in POSIX 2008, sysv_signal was never POSIX. Bug: 13935372 Change-Id: I7688e5cc317247ff075dcf99b598f515fb4f15c4
|
0990d4fda898ada86e557f872f5cb7d16b138e3c |
|
30-Apr-2014 |
Elliott Hughes <enh@google.com> |
Make SIGRTMIN hide the real-time signals we use internally. __SIGRTMIN will continue to tell the truth. This matches glibc's behavior (as evidenced by the fact that we don't need a special case in the strsignal test now). Change-Id: I1abe1681d516577afa8cd39c837ef12467f68dd2
|
a0cd9bc3392f56ca488bea61269d7468ae6c5dce |
|
08-Mar-2014 |
Elliott Hughes <enh@google.com> |
Add si_timerid to <signal.h>. The kernel uses the very misleading name "si_tid", but glibc uses the more intention-revealing "si_timerid". We should let people use that. (Added because I wanted to improve SI_TIMER siginfo_t dumping in strace.) Change-Id: Ib626cdd3b57a6afb276a15753a237b4e81ec45e3
|
671e236d5fd2cae169c2a31d0a35e66c4fcc5556 |
|
13-Feb-2014 |
Elliott Hughes <enh@google.com> |
Restore sys_signame for LP64. mksh is using this, and we probably build as much BSD source as glibc source. Change-Id: I400d255a67f9614ca9e57090e3a2e49d2b10cba4
|
aa0ebdafc71e1ceac78e0929b94f3bb117d0c8e9 |
|
12-Feb-2014 |
Elliott Hughes <enh@google.com> |
Clean up sys_signame and sys_siglist a little. We don't need quite so much duplication because we already have a way to get the signal number from its name, and that already copes with the fact that the mips/mips64 numbers are different from everyone else's. Also remove sys_signame from LP64. glibc doesn't have this BSD-ism. Change-Id: I6dc411a3d73589383c85d3b07d9d648311492a10
|
199346a2abd8b6ba282e1fe291cc3766fa921f40 |
|
12-Feb-2014 |
Elliott Hughes <enh@google.com> |
Fix NSIG. Our sigset_t definition hasn't been tied to our NSIG definition since we switched to uapi headers, so we can now fix it without breaking the LP32 ABI. The kernel uapi headers define and use _NSIG, so we need to have our scripts rename the kernel's definitions out of the way, then we can define _NSIG and NSIG in terms of the kernel's off-by-one value. Bug: 12938442 Change-Id: Ic7c86fd5be5ad1d822f7b2b1d88c8a0d70a1ac0f
|
68d89c7d65678871cb4ce629765193f956944730 |
|
21-Dec-2013 |
Elliott Hughes <enh@google.com> |
Remove some old kernel header cruft not needed with uapi. Change-Id: If543b056ae40f0eb660be4a0629ad22f4c4cb92f
|
d8482b6c7eae54c37bc769030d60c2a5af187f89 |
|
20-Nov-2013 |
Elliott Hughes <enh@google.com> |
Fix <signal.h> for mips uapi. Bug: 11559337 Change-Id: I4c6080f162d74ee78c81d698c7b50470b0e09586
|
61fb3fc770566c7bafe7af8fb93590bcad387fbb |
|
07-Nov-2013 |
Elliott Hughes <enh@google.com> |
Prepare to switch to the uapi <linux/signal.h>. <time.h> didn't need to copy the cruft from <signal.h>, and <signal.h> only needs the uid_t hack when it's not using uapi headers. pthread_exit.cpp should include what it uses. Change-Id: I836c36abe0f0a781d41fc425b249d1c7686bb124
|
c7e9b2331771e5e87c34a8ee3dc6cc41d35b02fe |
|
17-Oct-2013 |
Elliott Hughes <enh@google.com> |
Fix sigaction(3) for 64-bit. Also clean up <signal.h> and revert the hacks that were necessary for 64-bit in linker/debugger.cpp until now. Change-Id: I3b0554ca8a49ee1c97cda086ce2c1954ebc11892
|
40d105ccb3e6283566ce54b693b3088f31aa4f26 |
|
16-Oct-2013 |
Elliott Hughes <enh@google.com> |
Switch sigpending over to rt_sigpending. Change-Id: I7b28984796b5fb343cfbcc47e0afc3a84293d417
|
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
|