aboutsummaryrefslogtreecommitdiffstats
path: root/libc/kernel/tools/defaults.py
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2014-04-30 09:45:40 -0700
committerElliott Hughes <enh@google.com>2014-04-30 10:06:09 -0700
commit0990d4fda898ada86e557f872f5cb7d16b138e3c (patch)
tree43cd74258c43e23e8008c15aebdb0a3efd476f6c /libc/kernel/tools/defaults.py
parent77473e408504a7e298816b4071cd6902065b03d8 (diff)
downloadandroid_bionic-0990d4fda898ada86e557f872f5cb7d16b138e3c.tar.gz
android_bionic-0990d4fda898ada86e557f872f5cb7d16b138e3c.tar.bz2
android_bionic-0990d4fda898ada86e557f872f5cb7d16b138e3c.zip
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
Diffstat (limited to 'libc/kernel/tools/defaults.py')
-rw-r--r--libc/kernel/tools/defaults.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/libc/kernel/tools/defaults.py b/libc/kernel/tools/defaults.py
index b4d823e1d..8c41cc625 100644
--- a/libc/kernel/tools/defaults.py
+++ b/libc/kernel/tools/defaults.py
@@ -63,6 +63,9 @@ kernel_token_replacements = {
# The kernel's _NSIG/NSIG are one less than the userspace value, so we need to move them aside.
"_NSIG": "_KERNEL__NSIG",
"NSIG": "_KERNEL_NSIG",
+ # The kernel's SIGRTMIN/SIGRTMAX are absolute limits; userspace steals a few.
+ "SIGRTMIN": "__SIGRTMIN",
+ "SIGRTMAX": "__SIGRTMAX",
}
# this is the set of known static inline functions that we want to keep