xref: /netbsd-src/sys/compat/linux/arch/alpha/linux_sigarray.c (revision ce099b40997c43048fb78bd578195f81d2456523)
1*ce099b40Smartin /*	$NetBSD: linux_sigarray.c,v 1.9 2008/04/28 20:23:42 martin Exp $	*/
2b5133645Serh 
3b5133645Serh /*-
4b5133645Serh  * Copyright (c) 1998 The NetBSD Foundation, Inc.
5b5133645Serh  * All rights reserved.
6b5133645Serh  *
7b5133645Serh  * This code is derived from software contributed to The NetBSD Foundation
8b5133645Serh  * by Eric Haszlakiewicz.
9b5133645Serh  *
10b5133645Serh  * Redistribution and use in source and binary forms, with or without
11b5133645Serh  * modification, are permitted provided that the following conditions
12b5133645Serh  * are met:
13b5133645Serh  * 1. Redistributions of source code must retain the above copyright
14b5133645Serh  *    notice, this list of conditions and the following disclaimer.
15b5133645Serh  * 2. Redistributions in binary form must reproduce the above copyright
16b5133645Serh  *    notice, this list of conditions and the following disclaimer in the
17b5133645Serh  *    documentation and/or other materials provided with the distribution.
18b5133645Serh  *
19b5133645Serh  * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
20b5133645Serh  * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
21b5133645Serh  * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
22b5133645Serh  * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
23b5133645Serh  * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
24b5133645Serh  * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
25b5133645Serh  * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
26b5133645Serh  * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
27b5133645Serh  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
28b5133645Serh  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
29b5133645Serh  * POSSIBILITY OF SUCH DAMAGE.
30b5133645Serh  */
31b5133645Serh 
32*ce099b40Smartin __KERNEL_RCSID(1, "$NetBSD: linux_sigarray.c,v 1.9 2008/04/28 20:23:42 martin Exp $");
33b5133645Serh 
34ac29fb37Schristos const int linux_to_native_signo[LINUX__NSIG] = {
35b5133645Serh 	0,
36b5133645Serh 	SIGHUP,			/* 1 */
37b5133645Serh 	SIGINT,
38b5133645Serh 	SIGQUIT,
39b5133645Serh 	SIGILL,
40b5133645Serh 	SIGTRAP,
41b5133645Serh 	SIGABRT,
42b5133645Serh 	SIGEMT,
43b5133645Serh 	SIGFPE,
44b5133645Serh 	SIGKILL,
45b5133645Serh 	SIGBUS,			/* 10 */
46b5133645Serh 	SIGSEGV,
47b5133645Serh 	SIGSYS,
48b5133645Serh 	SIGPIPE,
49b5133645Serh 	SIGALRM,
50b5133645Serh 	SIGTERM,
51b5133645Serh 	SIGURG,
52b5133645Serh 	SIGSTOP,
53b5133645Serh 	SIGTSTP,
54b5133645Serh 	SIGCONT,
55b5133645Serh 	SIGCHLD,		/* 20 */
56b5133645Serh 	SIGTTIN,
57b5133645Serh 	SIGTTOU,
58b5133645Serh 	SIGIO,
59b5133645Serh 	SIGXCPU,
60b5133645Serh 	SIGXFSZ,
61b5133645Serh 	SIGVTALRM,
62b5133645Serh 	SIGPROF,
63b5133645Serh 	SIGWINCH,
64b5133645Serh 	SIGINFO,
65b5133645Serh 	SIGUSR1,		/* 30 */
66b5133645Serh 	SIGUSR2,
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,
99b5133645Serh };
100