Home | History | Annotate | Download | only in runtime
      1 // Copyright 2009 The Go Authors. All rights reserved.
      2 // Use of this source code is governed by a BSD-style
      3 // license that can be found in the LICENSE file.
      4 
      5 // +build !mips
      6 // +build !mipsle
      7 // +build !mips64
      8 // +build !mips64le
      9 // +build linux
     10 
     11 package runtime
     12 
     13 var sigtable = [...]sigTabT{
     14 	/* 0 */ {0, "SIGNONE: no trap"},
     15 	/* 1 */ {_SigNotify + _SigKill, "SIGHUP: terminal line hangup"},
     16 	/* 2 */ {_SigNotify + _SigKill, "SIGINT: interrupt"},
     17 	/* 3 */ {_SigNotify + _SigThrow, "SIGQUIT: quit"},
     18 	/* 4 */ {_SigThrow + _SigUnblock, "SIGILL: illegal instruction"},
     19 	/* 5 */ {_SigThrow + _SigUnblock, "SIGTRAP: trace trap"},
     20 	/* 6 */ {_SigNotify + _SigThrow, "SIGABRT: abort"},
     21 	/* 7 */ {_SigPanic + _SigUnblock, "SIGBUS: bus error"},
     22 	/* 8 */ {_SigPanic + _SigUnblock, "SIGFPE: floating-point exception"},
     23 	/* 9 */ {0, "SIGKILL: kill"},
     24 	/* 10 */ {_SigNotify, "SIGUSR1: user-defined signal 1"},
     25 	/* 11 */ {_SigPanic + _SigUnblock, "SIGSEGV: segmentation violation"},
     26 	/* 12 */ {_SigNotify, "SIGUSR2: user-defined signal 2"},
     27 	/* 13 */ {_SigNotify, "SIGPIPE: write to broken pipe"},
     28 	/* 14 */ {_SigNotify, "SIGALRM: alarm clock"},
     29 	/* 15 */ {_SigNotify + _SigKill, "SIGTERM: termination"},
     30 	/* 16 */ {_SigThrow + _SigUnblock, "SIGSTKFLT: stack fault"},
     31 	/* 17 */ {_SigNotify + _SigUnblock + _SigIgn, "SIGCHLD: child status has changed"},
     32 	/* 18 */ {_SigNotify + _SigDefault + _SigIgn, "SIGCONT: continue"},
     33 	/* 19 */ {0, "SIGSTOP: stop, unblockable"},
     34 	/* 20 */ {_SigNotify + _SigDefault + _SigIgn, "SIGTSTP: keyboard stop"},
     35 	/* 21 */ {_SigNotify + _SigDefault + _SigIgn, "SIGTTIN: background read from tty"},
     36 	/* 22 */ {_SigNotify + _SigDefault + _SigIgn, "SIGTTOU: background write to tty"},
     37 	/* 23 */ {_SigNotify + _SigIgn, "SIGURG: urgent condition on socket"},
     38 	/* 24 */ {_SigNotify, "SIGXCPU: cpu limit exceeded"},
     39 	/* 25 */ {_SigNotify, "SIGXFSZ: file size limit exceeded"},
     40 	/* 26 */ {_SigNotify, "SIGVTALRM: virtual alarm clock"},
     41 	/* 27 */ {_SigNotify + _SigUnblock, "SIGPROF: profiling alarm clock"},
     42 	/* 28 */ {_SigNotify + _SigIgn, "SIGWINCH: window size change"},
     43 	/* 29 */ {_SigNotify, "SIGIO: i/o now possible"},
     44 	/* 30 */ {_SigNotify, "SIGPWR: power failure restart"},
     45 	/* 31 */ {_SigThrow, "SIGSYS: bad system call"},
     46 	/* 32 */ {_SigSetStack + _SigUnblock, "signal 32"}, /* SIGCANCEL; see issue 6997 */
     47 	/* 33 */ {_SigSetStack + _SigUnblock, "signal 33"}, /* SIGSETXID; see issues 3871, 9400, 12498 */
     48 	/* 34 */ {_SigNotify, "signal 34"},
     49 	/* 35 */ {_SigNotify, "signal 35"},
     50 	/* 36 */ {_SigNotify, "signal 36"},
     51 	/* 37 */ {_SigNotify, "signal 37"},
     52 	/* 38 */ {_SigNotify, "signal 38"},
     53 	/* 39 */ {_SigNotify, "signal 39"},
     54 	/* 40 */ {_SigNotify, "signal 40"},
     55 	/* 41 */ {_SigNotify, "signal 41"},
     56 	/* 42 */ {_SigNotify, "signal 42"},
     57 	/* 43 */ {_SigNotify, "signal 43"},
     58 	/* 44 */ {_SigNotify, "signal 44"},
     59 	/* 45 */ {_SigNotify, "signal 45"},
     60 	/* 46 */ {_SigNotify, "signal 46"},
     61 	/* 47 */ {_SigNotify, "signal 47"},
     62 	/* 48 */ {_SigNotify, "signal 48"},
     63 	/* 49 */ {_SigNotify, "signal 49"},
     64 	/* 50 */ {_SigNotify, "signal 50"},
     65 	/* 51 */ {_SigNotify, "signal 51"},
     66 	/* 52 */ {_SigNotify, "signal 52"},
     67 	/* 53 */ {_SigNotify, "signal 53"},
     68 	/* 54 */ {_SigNotify, "signal 54"},
     69 	/* 55 */ {_SigNotify, "signal 55"},
     70 	/* 56 */ {_SigNotify, "signal 56"},
     71 	/* 57 */ {_SigNotify, "signal 57"},
     72 	/* 58 */ {_SigNotify, "signal 58"},
     73 	/* 59 */ {_SigNotify, "signal 59"},
     74 	/* 60 */ {_SigNotify, "signal 60"},
     75 	/* 61 */ {_SigNotify, "signal 61"},
     76 	/* 62 */ {_SigNotify, "signal 62"},
     77 	/* 63 */ {_SigNotify, "signal 63"},
     78 	/* 64 */ {_SigNotify, "signal 64"},
     79 }
     80