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

View as plain text