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