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
This commit is contained in:
@@ -60,6 +60,12 @@ typedef int sig_atomic_t;
|
||||
#define _NSIG (_KERNEL__NSIG + 1)
|
||||
#define NSIG _NSIG
|
||||
|
||||
/* We take a few real-time signals for ourselves. May as well use the same names as glibc. */
|
||||
#define SIGRTMIN (__libc_current_sigrtmin())
|
||||
#define SIGRTMAX (__libc_current_sigrtmax())
|
||||
extern int __libc_current_sigrtmin(void);
|
||||
extern int __libc_current_sigrtmax(void);
|
||||
|
||||
extern const char* const sys_siglist[];
|
||||
extern const char* const sys_signame[]; /* BSD compatibility. */
|
||||
|
||||
|
Reference in New Issue
Block a user