...

Source file src/runtime/signal_freebsd.go

Documentation: 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  package runtime
     6  
     7  var sigtable = [...]sigTabT{
     8  	/* 0 */ {0, "SIGNONE: no trap"},
     9  	/* 1 */ {_SigNotify + _SigKill, "SIGHUP: terminal line hangup"},
    10  	/* 2 */ {_SigNotify + _SigKill, "SIGINT: interrupt"},
    11  	/* 3 */ {_SigNotify + _SigThrow, "SIGQUIT: quit"},
    12  	/* 4 */ {_SigThrow + _SigUnblock, "SIGILL: illegal instruction"},
    13  	/* 5 */ {_SigThrow + _SigUnblock, "SIGTRAP: trace trap"},
    14  	/* 6 */ {_SigNotify + _SigThrow, "SIGABRT: abort"},
    15  	/* 7 */ {_SigThrow, "SIGEMT: emulate instruction executed"},
    16  	/* 8 */ {_SigPanic + _SigUnblock, "SIGFPE: floating-point exception"},
    17  	/* 9 */ {0, "SIGKILL: kill"},
    18  	/* 10 */ {_SigPanic + _SigUnblock, "SIGBUS: bus error"},
    19  	/* 11 */ {_SigPanic + _SigUnblock, "SIGSEGV: segmentation violation"},
    20  	/* 12 */ {_SigNotify, "SIGSYS: bad system call"}, // see golang.org/issues/15204
    21  	/* 13 */ {_SigNotify, "SIGPIPE: write to broken pipe"},
    22  	/* 14 */ {_SigNotify, "SIGALRM: alarm clock"},
    23  	/* 15 */ {_SigNotify + _SigKill, "SIGTERM: termination"},
    24  	/* 16 */ {_SigNotify + _SigIgn, "SIGURG: urgent condition on socket"},
    25  	/* 17 */ {0, "SIGSTOP: stop"},
    26  	/* 18 */ {_SigNotify + _SigDefault + _SigIgn, "SIGTSTP: keyboard stop"},
    27  	/* 19 */ {_SigNotify + _SigDefault + _SigIgn, "SIGCONT: continue after stop"},
    28  	/* 20 */ {_SigNotify + _SigUnblock + _SigIgn, "SIGCHLD: child status has changed"},
    29  	/* 21 */ {_SigNotify + _SigDefault + _SigIgn, "SIGTTIN: background read from tty"},
    30  	/* 22 */ {_SigNotify + _SigDefault + _SigIgn, "SIGTTOU: background write to tty"},
    31  	/* 23 */ {_SigNotify + _SigIgn, "SIGIO: i/o now possible"},
    32  	/* 24 */ {_SigNotify, "SIGXCPU: cpu limit exceeded"},
    33  	/* 25 */ {_SigNotify, "SIGXFSZ: file size limit exceeded"},
    34  	/* 26 */ {_SigNotify, "SIGVTALRM: virtual alarm clock"},
    35  	/* 27 */ {_SigNotify + _SigUnblock, "SIGPROF: profiling alarm clock"},
    36  	/* 28 */ {_SigNotify + _SigIgn, "SIGWINCH: window size change"},
    37  	/* 29 */ {_SigNotify + _SigIgn, "SIGINFO: status request from keyboard"},
    38  	/* 30 */ {_SigNotify, "SIGUSR1: user-defined signal 1"},
    39  	/* 31 */ {_SigNotify, "SIGUSR2: user-defined signal 2"},
    40  	/* 32 */ {_SigNotify, "SIGTHR: reserved"},
    41  }
    42  

View as plain text