1*ce099b40Smartin /* $NetBSD: linux_sigarray.c,v 1.7 2008/04/28 20:23:42 martin Exp $ */ 20176ca73Sitohy 30176ca73Sitohy /*- 40176ca73Sitohy * Copyright (c) 1995, 1998 The NetBSD Foundation, Inc. 50176ca73Sitohy * All rights reserved. 60176ca73Sitohy * 70176ca73Sitohy * This code is derived from software contributed to The NetBSD Foundation 80176ca73Sitohy * by Frank van der Linden and Eric Haszlakiewicz. 90176ca73Sitohy * 100176ca73Sitohy * Redistribution and use in source and binary forms, with or without 110176ca73Sitohy * modification, are permitted provided that the following conditions 120176ca73Sitohy * are met: 130176ca73Sitohy * 1. Redistributions of source code must retain the above copyright 140176ca73Sitohy * notice, this list of conditions and the following disclaimer. 150176ca73Sitohy * 2. Redistributions in binary form must reproduce the above copyright 160176ca73Sitohy * notice, this list of conditions and the following disclaimer in the 170176ca73Sitohy * documentation and/or other materials provided with the distribution. 180176ca73Sitohy * 190176ca73Sitohy * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS 200176ca73Sitohy * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED 210176ca73Sitohy * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 220176ca73Sitohy * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS 230176ca73Sitohy * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 240176ca73Sitohy * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 250176ca73Sitohy * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 260176ca73Sitohy * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 270176ca73Sitohy * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 280176ca73Sitohy * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 290176ca73Sitohy * POSSIBILITY OF SUCH DAMAGE. 300176ca73Sitohy */ 310176ca73Sitohy 32*ce099b40Smartin __KERNEL_RCSID(1, "$NetBSD: linux_sigarray.c,v 1.7 2008/04/28 20:23:42 martin Exp $"); 330176ca73Sitohy 34ac29fb37Schristos const int linux_to_native_signo[LINUX__NSIG] = { 350176ca73Sitohy 0, 360176ca73Sitohy SIGHUP, 370176ca73Sitohy SIGINT, 380176ca73Sitohy SIGQUIT, 390176ca73Sitohy SIGILL, 400176ca73Sitohy SIGTRAP, 410176ca73Sitohy SIGABRT, 420176ca73Sitohy SIGBUS, 430176ca73Sitohy SIGFPE, 440176ca73Sitohy SIGKILL, 450176ca73Sitohy SIGUSR1, 460176ca73Sitohy SIGSEGV, 470176ca73Sitohy SIGUSR2, 480176ca73Sitohy SIGPIPE, 490176ca73Sitohy SIGALRM, 500176ca73Sitohy SIGTERM, 510176ca73Sitohy 0, /* SIGSTKFLT */ 520176ca73Sitohy SIGCHLD, 530176ca73Sitohy SIGCONT, 540176ca73Sitohy SIGSTOP, 550176ca73Sitohy SIGTSTP, 560176ca73Sitohy SIGTTIN, 570176ca73Sitohy SIGTTOU, 580176ca73Sitohy SIGURG, 590176ca73Sitohy SIGXCPU, 600176ca73Sitohy SIGXFSZ, 610176ca73Sitohy SIGVTALRM, 620176ca73Sitohy SIGPROF, 630176ca73Sitohy SIGWINCH, 640176ca73Sitohy SIGIO, 650176ca73Sitohy SIGPWR, 660176ca73Sitohy 0, /* SIGUNUSED */ 67cd4ab882Stron 0, 68cd4ab882Stron 0, 69cd4ab882Stron 0, 70cd4ab882Stron 0, 71cd4ab882Stron 0, 72cd4ab882Stron 0, 73cd4ab882Stron 0, 74cd4ab882Stron 0, 75cd4ab882Stron 0, 76cd4ab882Stron 0, 77cd4ab882Stron 0, 78cd4ab882Stron 0, 79cd4ab882Stron 0, 80cd4ab882Stron 0, 81cd4ab882Stron 0, 82cd4ab882Stron 0, 83cd4ab882Stron 0, 84cd4ab882Stron 0, 85cd4ab882Stron 0, 86cd4ab882Stron 0, 87cd4ab882Stron 0, 88cd4ab882Stron 0, 89cd4ab882Stron 0, 90cd4ab882Stron 0, 91cd4ab882Stron 0, 92cd4ab882Stron 0, 93cd4ab882Stron 0, 94cd4ab882Stron 0, 95cd4ab882Stron 0, 96cd4ab882Stron 0, 97cd4ab882Stron 0, 98cd4ab882Stron 0, 990176ca73Sitohy }; 100