github.com/aloncn/graphics-go@v0.0.1/src/runtime/sigtab_linux_generic.go (about)

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