1*ce099b40Smartin /* $NetBSD: linux_sigarray.c,v 1.7 2008/04/28 20:23:43 martin Exp $ */ 254724278Smanu 354724278Smanu /*- 454724278Smanu * Copyright (c) 1995, 1998, 2001 The NetBSD Foundation, Inc. 554724278Smanu * All rights reserved. 654724278Smanu * 754724278Smanu * This code is derived from software contributed to The NetBSD Foundation 854724278Smanu * by Frank van der Linden, Eric Haszlakiewicz and Emmanuel Dreyfus. 954724278Smanu * 1054724278Smanu * Redistribution and use in source and binary forms, with or without 1154724278Smanu * modification, are permitted provided that the following conditions 1254724278Smanu * are met: 1354724278Smanu * 1. Redistributions of source code must retain the above copyright 1454724278Smanu * notice, this list of conditions and the following disclaimer. 1554724278Smanu * 2. Redistributions in binary form must reproduce the above copyright 1654724278Smanu * notice, this list of conditions and the following disclaimer in the 1754724278Smanu * documentation and/or other materials provided with the distribution. 1854724278Smanu * 1954724278Smanu * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS 2054724278Smanu * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED 2154724278Smanu * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 2254724278Smanu * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS 2354724278Smanu * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 2454724278Smanu * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 2554724278Smanu * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 2654724278Smanu * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 2754724278Smanu * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 2854724278Smanu * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 2954724278Smanu * POSSIBILITY OF SUCH DAMAGE. 3054724278Smanu */ 3154724278Smanu 32*ce099b40Smartin __KERNEL_RCSID(1, "$NetBSD: linux_sigarray.c,v 1.7 2008/04/28 20:23:43 martin Exp $"); 3354724278Smanu 34ac29fb37Schristos const int linux_to_native_signo[LINUX__NSIG] = { 3554724278Smanu 0, /* 0 */ 3654724278Smanu SIGHUP, 3754724278Smanu SIGINT, 3854724278Smanu SIGQUIT, 3954724278Smanu SIGILL, 4054724278Smanu SIGTRAP, /* 5 */ 4154724278Smanu SIGABRT, 4254724278Smanu SIGBUS, 4354724278Smanu SIGFPE, 4454724278Smanu SIGKILL, 4554724278Smanu SIGUSR1, /* 10 */ 4654724278Smanu SIGSEGV, 4754724278Smanu SIGUSR2, 4854724278Smanu SIGPIPE, 4954724278Smanu SIGALRM, 5054724278Smanu SIGTERM, /* 15 */ 5154724278Smanu 0, /* SIGSTKFLT */ 5254724278Smanu SIGCHLD, 5354724278Smanu SIGCONT, 5454724278Smanu SIGSTOP, 5554724278Smanu SIGTSTP, /* 20 */ 5654724278Smanu SIGTTIN, 5754724278Smanu SIGTTOU, 5854724278Smanu SIGURG, 5954724278Smanu SIGXCPU, 6054724278Smanu SIGXFSZ, /* 25 */ 6154724278Smanu SIGVTALRM, 6254724278Smanu SIGPROF, 6354724278Smanu SIGWINCH, 6454724278Smanu SIGIO, 6554724278Smanu SIGPWR, /* 30 */ 6654724278Smanu SIGSYS, 6754724278Smanu 0, /* SIGUNUSED */ 6854724278Smanu 0, 6954724278Smanu 0, 7054724278Smanu 0, /* 35 */ 7154724278Smanu 0, 7254724278Smanu 0, 7354724278Smanu 0, 7454724278Smanu 0, 7554724278Smanu 0, /* 40 */ 7654724278Smanu 0, 7754724278Smanu 0, 7854724278Smanu 0, 7954724278Smanu 0, 8054724278Smanu 0, /* 45 */ 8154724278Smanu 0, 8254724278Smanu 0, 8354724278Smanu 0, 8454724278Smanu 0, 8554724278Smanu 0, /* 50 */ 8654724278Smanu 0, 8754724278Smanu 0, 8854724278Smanu 0, 8954724278Smanu 0, 9054724278Smanu 0, /* 55 */ 9154724278Smanu 0, 9254724278Smanu 0, 9354724278Smanu 0, 9454724278Smanu 0, 9554724278Smanu 0, /* 60 */ 9654724278Smanu 0, 9754724278Smanu 0, 9854724278Smanu 0, 9954724278Smanu }; 100