Correctly map SIGSYS signal to/from Linux.

Submitted by:   "Georg-W. Koltermann" <g.w.k@web.de>
This commit is contained in:
Alexander Kabaev 2003-02-24 16:16:45 +00:00
parent 2302407b21
commit ba873f4c18
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=111429
2 changed files with 3 additions and 3 deletions

View File

@ -230,7 +230,7 @@ struct l_new_utsname {
#define LINUX_SIGIO 29
#define LINUX_SIGPOLL LINUX_SIGIO
#define LINUX_SIGPWR 30
#define LINUX_SIGUNUSED 31
#define LINUX_SIGSYS 31
#define LINUX_SIGTBLSZ 31
#define LINUX_NSIG_WORDS 2

View File

@ -129,7 +129,7 @@ static int bsd_to_linux_errno[ELAST + 1] = {
int bsd_to_linux_signal[LINUX_SIGTBLSZ] = {
LINUX_SIGHUP, LINUX_SIGINT, LINUX_SIGQUIT, LINUX_SIGILL,
LINUX_SIGTRAP, LINUX_SIGABRT, 0, LINUX_SIGFPE,
LINUX_SIGKILL, LINUX_SIGBUS, LINUX_SIGSEGV, 0,
LINUX_SIGKILL, LINUX_SIGBUS, LINUX_SIGSEGV, LINUX_SIGSYS,
LINUX_SIGPIPE, LINUX_SIGALRM, LINUX_SIGTERM, LINUX_SIGURG,
LINUX_SIGSTOP, LINUX_SIGTSTP, LINUX_SIGCONT, LINUX_SIGCHLD,
LINUX_SIGTTIN, LINUX_SIGTTOU, LINUX_SIGIO, LINUX_SIGXCPU,
@ -145,7 +145,7 @@ int linux_to_bsd_signal[LINUX_SIGTBLSZ] = {
SIGCHLD, SIGCONT, SIGSTOP, SIGTSTP,
SIGTTIN, SIGTTOU, SIGURG, SIGXCPU,
SIGXFSZ, SIGVTALRM, SIGPROF, SIGWINCH,
SIGIO, SIGURG, 0
SIGIO, SIGURG, SIGSYS
};
#define LINUX_T_UNKNOWN 255