add the rt signals so we don't core-dump.

This commit is contained in:
christos 2002-03-20 01:42:03 +00:00
parent 412e9e63d4
commit 9948eb0ac4
2 changed files with 100 additions and 69 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: __signame14.c,v 1.1 1998/11/30 20:45:40 thorpej Exp $ */ /* $NetBSD: __signame14.c,v 1.2 2002/03/20 01:42:03 christos Exp $ */
/* /*
* Copyright (c) 1983 Regents of the University of California. * Copyright (c) 1983 Regents of the University of California.
@ -38,7 +38,7 @@
#if 0 #if 0
static char sccsid[] = "from: @(#)siglist.c 5.6 (Berkeley) 2/23/91";*/ static char sccsid[] = "from: @(#)siglist.c 5.6 (Berkeley) 2/23/91";*/
#else #else
__RCSID("$NetBSD: __signame14.c,v 1.1 1998/11/30 20:45:40 thorpej Exp $"); __RCSID("$NetBSD: __signame14.c,v 1.2 2002/03/20 01:42:03 christos Exp $");
#endif #endif
#endif /* LIBC_SCCS and not lint */ #endif /* LIBC_SCCS and not lint */
@ -46,39 +46,70 @@ __RCSID("$NetBSD: __signame14.c,v 1.1 1998/11/30 20:45:40 thorpej Exp $");
#include <unistd.h> #include <unistd.h>
static const char *const __signame14[] = { static const char *const __signame14[] = {
"Signal 0", "Signal 0", /* 0 */
"HUP", /* SIGHUP */ "HUP", /* 1 SIGHUP */
"INT", /* SIGINT */ "INT", /* 2 SIGINT */
"QUIT", /* SIGQUIT */ "QUIT", /* 3 SIGQUIT */
"ILL", /* SIGILL */ "ILL", /* 4 SIGILL */
"TRAP", /* SIGTRAP */ "TRAP", /* 5 SIGTRAP */
"ABRT", /* SIGABRT */ "ABRT", /* 6 SIGABRT */
"EMT", /* SIGEMT */ "EMT", /* 7 SIGEMT */
"FPE", /* SIGFPE */ "FPE", /* 8 SIGFPE */
"KILL", /* SIGKILL */ "KILL", /* 9 SIGKILL */
"BUS", /* SIGBUS */ "BUS", /* 10 SIGBUS */
"SEGV", /* SIGSEGV */ "SEGV", /* 11 SIGSEGV */
"SYS", /* SIGSYS */ "SYS", /* 12 SIGSYS */
"PIPE", /* SIGPIPE */ "PIPE", /* 13 SIGPIPE */
"ALRM", /* SIGALRM */ "ALRM", /* 14 SIGALRM */
"TERM", /* SIGTERM */ "TERM", /* 15 SIGTERM */
"URG", /* SIGURG */ "URG", /* 16 SIGURG */
"STOP", /* SIGSTOP */ "STOP", /* 17 SIGSTOP */
"TSTP", /* SIGTSTP */ "TSTP", /* 18 SIGTSTP */
"CONT", /* SIGCONT */ "CONT", /* 19 SIGCONT */
"CHLD", /* SIGCHLD */ "CHLD", /* 20 SIGCHLD */
"TTIN", /* SIGTTIN */ "TTIN", /* 21 SIGTTIN */
"TTOU", /* SIGTTOU */ "TTOU", /* 22 SIGTTOU */
"IO", /* SIGIO */ "IO", /* 23 SIGIO */
"XCPU", /* SIGXCPU */ "XCPU", /* 24 SIGXCPU */
"XFSZ", /* SIGXFSZ */ "XFSZ", /* 25 SIGXFSZ */
"VTALRM", /* SIGVTALRM */ "VTALRM", /* 26 SIGVTALRM */
"PROF", /* SIGPROF */ "PROF", /* 27 SIGPROF */
"WINCH", /* SIGWINCH */ "WINCH", /* 28 SIGWINCH */
"INFO", /* SIGINFO */ "INFO", /* 29 SIGINFO */
"USR1", /* SIGUSR1 */ "USR1", /* 30 SIGUSR1 */
"USR2", /* SIGUSR2 */ "USR2", /* 31 SIGUSR2 */
"PWR", /* SIGPWR */ "PWR", /* 32 SIGPWR */
"RT0", /* 33 SIGRTMIN + 0 */
"RT1", /* 34 SIGRTMIN + 1 */
"RT2", /* 35 SIGRTMIN + 2 */
"RT3", /* 36 SIGRTMIN + 3 */
"RT4", /* 37 SIGRTMIN + 4 */
"RT5", /* 38 SIGRTMIN + 5 */
"RT6", /* 39 SIGRTMIN + 6 */
"RT7", /* 40 SIGRTMIN + 7 */
"RT8", /* 41 SIGRTMIN + 8 */
"RT9", /* 42 SIGRTMIN + 9 */
"RT10", /* 43 SIGRTMIN + 10 */
"RT11", /* 44 SIGRTMIN + 11 */
"RT12", /* 45 SIGRTMIN + 12 */
"RT13", /* 46 SIGRTMIN + 13 */
"RT14", /* 47 SIGRTMIN + 14 */
"RT15", /* 48 SIGRTMIN + 15 */
"RT16", /* 49 SIGRTMIN + 16 */
"RT17", /* 50 SIGRTMIN + 17 */
"RT18", /* 51 SIGRTMIN + 18 */
"RT19", /* 52 SIGRTMIN + 19 */
"RT20", /* 53 SIGRTMIN + 20 */
"RT21", /* 54 SIGRTMIN + 21 */
"RT22", /* 55 SIGRTMIN + 22 */
"RT23", /* 56 SIGRTMIN + 23 */
"RT24", /* 57 SIGRTMIN + 24 */
"RT25", /* 58 SIGRTMIN + 25 */
"RT26", /* 59 SIGRTMIN + 26 */
"RT27", /* 60 SIGRTMIN + 27 */
"RT28", /* 61 SIGRTMIN + 28 */
"RT29", /* 62 SIGRTMIN + 29 */
"RT30", /* 63 SIGRTMIN + 30 */
}; };
const char * const *__sys_signame14 = __signame14; const char * const *__sys_signame14 = __signame14;

View File

@ -1,4 +1,4 @@
/* $NetBSD: signame.c,v 1.10 1998/12/01 20:31:41 thorpej Exp $ */ /* $NetBSD: signame.c,v 1.11 2002/03/20 01:42:03 christos Exp $ */
/* /*
* Copyright (c) 1983 Regents of the University of California. * Copyright (c) 1983 Regents of the University of California.
@ -38,7 +38,7 @@
#if 0 #if 0
static char sccsid[] = "from: @(#)siglist.c 5.6 (Berkeley) 2/23/91";*/ static char sccsid[] = "from: @(#)siglist.c 5.6 (Berkeley) 2/23/91";*/
#else #else
__RCSID("$NetBSD: signame.c,v 1.10 1998/12/01 20:31:41 thorpej Exp $"); __RCSID("$NetBSD: signame.c,v 1.11 2002/03/20 01:42:03 christos Exp $");
#endif #endif
#endif /* LIBC_SCCS and not lint */ #endif /* LIBC_SCCS and not lint */
@ -46,36 +46,36 @@ __warn_references(sys_signame,
"warning: reference to compatibility sys_signame[]; include <signal.h> for correct reference") "warning: reference to compatibility sys_signame[]; include <signal.h> for correct reference")
const char *const sys_signame[] = { const char *const sys_signame[] = {
"Signal 0", "Signal 0", /* 0 */
"HUP", /* SIGHUP */ "HUP", /* 1 SIGHUP */
"INT", /* SIGINT */ "INT", /* 2 SIGINT */
"QUIT", /* SIGQUIT */ "QUIT", /* 3 SIGQUIT */
"ILL", /* SIGILL */ "ILL", /* 4 SIGILL */
"TRAP", /* SIGTRAP */ "TRAP", /* 5 SIGTRAP */
"ABRT", /* SIGABRT */ "ABRT", /* 6 SIGABRT */
"EMT", /* SIGEMT */ "EMT", /* 7 SIGEMT */
"FPE", /* SIGFPE */ "FPE", /* 8 SIGFPE */
"KILL", /* SIGKILL */ "KILL", /* 9 SIGKILL */
"BUS", /* SIGBUS */ "BUS", /* 10 SIGBUS */
"SEGV", /* SIGSEGV */ "SEGV", /* 11 SIGSEGV */
"SYS", /* SIGSYS */ "SYS", /* 12 SIGSYS */
"PIPE", /* SIGPIPE */ "PIPE", /* 13 SIGPIPE */
"ALRM", /* SIGALRM */ "ALRM", /* 14 SIGALRM */
"TERM", /* SIGTERM */ "TERM", /* 15 SIGTERM */
"URG", /* SIGURG */ "URG", /* 16 SIGURG */
"STOP", /* SIGSTOP */ "STOP", /* 17 SIGSTOP */
"TSTP", /* SIGTSTP */ "TSTP", /* 18 SIGTSTP */
"CONT", /* SIGCONT */ "CONT", /* 19 SIGCONT */
"CHLD", /* SIGCHLD */ "CHLD", /* 20 SIGCHLD */
"TTIN", /* SIGTTIN */ "TTIN", /* 21 SIGTTIN */
"TTOU", /* SIGTTOU */ "TTOU", /* 22 SIGTTOU */
"IO", /* SIGIO */ "IO", /* 23 SIGIO */
"XCPU", /* SIGXCPU */ "XCPU", /* 24 SIGXCPU */
"XFSZ", /* SIGXFSZ */ "XFSZ", /* 25 SIGXFSZ */
"VTALRM", /* SIGVTALRM */ "VTALRM", /* 26 SIGVTALRM */
"PROF", /* SIGPROF */ "PROF", /* 27 SIGPROF */
"WINCH", /* SIGWINCH */ "WINCH", /* 28 SIGWINCH */
"INFO", /* SIGINFO */ "INFO", /* 29 SIGINFO */
"USR1", /* SIGUSR1 */ "USR1", /* 30 SIGUSR1 */
"USR2" /* SIGUSR2 */ "USR2", /* 31 SIGUSR2 */
}; };