From: Philip Homburg Date: Fri, 17 Feb 2006 13:43:07 +0000 (+0000) Subject: SIGBUS needs its own number. Removed SIGEMT. Made SIGIOT conditional on X-Git-Tag: v3.1.2a~341 X-Git-Url: http://zhaoyanbai.com/repos/migration?a=commitdiff_plain;h=d430c4fac87e1687252542ad41cdd056ccc74e2a;p=minix.git SIGBUS needs its own number. Removed SIGEMT. Made SIGIOT conditional on _MINIX. --- diff --git a/include/signal.h b/include/signal.h index f88b27b37..5ea47e0ce 100755 --- a/include/signal.h +++ b/include/signal.h @@ -31,8 +31,7 @@ typedef unsigned long sigset_t; #define SIGILL 4 /* illegal instruction */ #define SIGTRAP 5 /* trace trap (not reset when caught) */ #define SIGABRT 6 /* IOT instruction */ -#define SIGIOT 6 /* SIGABRT for people who speak PDP-11 */ -#define SIGUNUSED 7 /* spare code */ +#define SIGBUS 7 /* bus error */ #define SIGFPE 8 /* floating point exception */ #define SIGKILL 9 /* kill (cannot be caught or ignored) */ #define SIGUSR1 10 /* user defined signal # 1 */ @@ -43,9 +42,6 @@ typedef unsigned long sigset_t; #define SIGTERM 15 /* software termination signal from kill */ #define SIGCHLD 17 /* child process terminated or stopped */ -#define SIGEMT 7 /* obsolete */ -#define SIGBUS 10 /* obsolete */ - /* MINIX specific signals. These signals are not used by user proceses, * but meant to inform system processes, like the PM, about system events. */ @@ -67,6 +63,10 @@ typedef unsigned long sigset_t; #define SIGTTIN 21 /* background process wants to read */ #define SIGTTOU 22 /* background process wants to write */ +#ifdef _MINIX +#define SIGIOT SIGABRT /* for people who speak PDP-11 */ +#endif + /* The sighandler_t type is not allowed unless _POSIX_SOURCE is defined. */ typedef void _PROTOTYPE( (*__sighandler_t), (int) );