11.8Smartin/* $NetBSD: linux_sigarray.c,v 1.8 2008/04/28 20:23:43 martin Exp $ */ 21.1Smanu 31.1Smanu/*- 41.1Smanu * Copyright (c) 1995, 1998, 2001 The NetBSD Foundation, Inc. 51.1Smanu * All rights reserved. 61.1Smanu * 71.1Smanu * This code is derived from software contributed to The NetBSD Foundation 81.1Smanu * by Frank van der Linden, Eric Haszlakiewicz and Emmanuel Dreyfus. 91.1Smanu * 101.1Smanu * Redistribution and use in source and binary forms, with or without 111.1Smanu * modification, are permitted provided that the following conditions 121.1Smanu * are met: 131.1Smanu * 1. Redistributions of source code must retain the above copyright 141.1Smanu * notice, this list of conditions and the following disclaimer. 151.1Smanu * 2. Redistributions in binary form must reproduce the above copyright 161.1Smanu * notice, this list of conditions and the following disclaimer in the 171.1Smanu * documentation and/or other materials provided with the distribution. 181.1Smanu * 191.1Smanu * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS 201.1Smanu * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED 211.1Smanu * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 221.1Smanu * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS 231.1Smanu * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 241.1Smanu * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 251.1Smanu * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 261.1Smanu * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 271.1Smanu * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 281.1Smanu * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 291.1Smanu * POSSIBILITY OF SUCH DAMAGE. 301.1Smanu */ 311.3Slukem 321.8Smartin__KERNEL_RCSID(1, "$NetBSD: linux_sigarray.c,v 1.8 2008/04/28 20:23:43 martin Exp $"); 331.1Smanu 341.6Sperry/* 351.6Sperry * From Linux's include/asm-mips/signal.h 361.2Smanu */ 371.4Schristosconst int linux_to_native_signo[LINUX__NSIG] = { 381.1Smanu 0, /* 0 */ 391.1Smanu SIGHUP, 401.1Smanu SIGINT, 411.1Smanu SIGQUIT, 421.1Smanu SIGILL, 431.1Smanu SIGTRAP, /* 5 */ 441.1Smanu SIGABRT, 451.6Sperry SIGEMT, 461.1Smanu SIGFPE, 471.1Smanu SIGKILL, 481.1Smanu SIGBUS, /* 10 */ 491.1Smanu SIGSEGV, 501.1Smanu SIGSYS, 511.1Smanu SIGPIPE, 521.1Smanu SIGALRM, 531.1Smanu SIGTERM, /* 15 */ 541.1Smanu SIGUSR1, 551.1Smanu SIGUSR2, 561.1Smanu SIGCHLD, 571.1Smanu SIGPWR, 581.1Smanu SIGWINCH, /* 20 */ 591.1Smanu SIGURG, 601.1Smanu SIGIO, 611.1Smanu SIGSTOP, 621.1Smanu SIGTSTP, 631.1Smanu SIGCONT, /* 25 */ 641.1Smanu SIGTTIN, 651.1Smanu SIGTTOU, 661.1Smanu SIGVTALRM, 671.1Smanu SIGPROF, 681.1Smanu SIGXCPU, /* 30 */ 691.1Smanu SIGXFSZ, 701.1Smanu 0, 711.1Smanu 0, 721.1Smanu 0, 731.1Smanu 0, /* 35 */ 741.1Smanu 0, 751.1Smanu 0, 761.1Smanu 0, 771.1Smanu 0, 781.1Smanu 0, /* 40 */ 791.1Smanu 0, 801.1Smanu 0, 811.1Smanu 0, 821.1Smanu 0, 831.1Smanu 0, /* 45 */ 841.1Smanu 0, 851.1Smanu 0, 861.1Smanu 0, 871.1Smanu 0, 881.1Smanu 0, /* 50 */ 891.1Smanu 0, 901.1Smanu 0, 911.1Smanu 0, 921.1Smanu 0, 931.1Smanu 0, /* 55 */ 941.1Smanu 0, 951.1Smanu 0, 961.1Smanu 0, 971.1Smanu 0, 981.1Smanu 0, /* 60 */ 991.1Smanu 0, 1001.1Smanu 0, 1011.1Smanu 0, 1021.1Smanu}; 103