Source file src/runtime/sigtab_linux_generic.go

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

View as plain text