...
Run Format

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

View as plain text