OSDN Git Service
(root)
/
android-x86
/
bionic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8d0e0d4
)
Reserve a realtime signal for debuggerd.
author
Josh Gao
<jmgao@google.com>
Wed, 26 Oct 2016 20:27:19 +0000
(13:27 -0700)
committer
Josh Gao
<jmgao@google.com>
Tue, 17 Jan 2017 21:55:18 +0000
(13:55 -0800)
Allocate __SIGRTMIN + 3 for triggering native stack dumps (like SIGQUIT
for Java processes).
Bug: http://b/
30705528
Test: debuggerd_test
Change-Id: I81d622fba32a651555268a8a2ba6721c61c93a58
libc/bionic/__libc_current_sigrtmin.cpp
patch
|
blob
|
history
diff --git
a/libc/bionic/__libc_current_sigrtmin.cpp
b/libc/bionic/__libc_current_sigrtmin.cpp
index
16b037d
..
7c93267
100644
(file)
--- a/
libc/bionic/__libc_current_sigrtmin.cpp
+++ b/
libc/bionic/__libc_current_sigrtmin.cpp
@@
-31,7
+31,8
@@
// POSIX timers use __SIGRTMIN + 0.
// libbacktrace uses __SIGRTMIN + 1.
// libcore uses __SIGRTMIN + 2.
+// __SIGRTMIN + 3 is reserved for triggering native stack dumps.
int __libc_current_sigrtmin(void) {
- return __SIGRTMIN +
3
;
+ return __SIGRTMIN +
4
;
}