github.com/damirazo/docker@v1.9.0/pkg/signal/signal_linux.go (about)

     1  package signal
     2  
     3  import (
     4  	"syscall"
     5  )
     6  
     7  // SignalMap is a map of Linux signals.
     8  var SignalMap = map[string]syscall.Signal{
     9  	"ABRT":   syscall.SIGABRT,
    10  	"ALRM":   syscall.SIGALRM,
    11  	"BUS":    syscall.SIGBUS,
    12  	"CHLD":   syscall.SIGCHLD,
    13  	"CLD":    syscall.SIGCLD,
    14  	"CONT":   syscall.SIGCONT,
    15  	"FPE":    syscall.SIGFPE,
    16  	"HUP":    syscall.SIGHUP,
    17  	"ILL":    syscall.SIGILL,
    18  	"INT":    syscall.SIGINT,
    19  	"IO":     syscall.SIGIO,
    20  	"IOT":    syscall.SIGIOT,
    21  	"KILL":   syscall.SIGKILL,
    22  	"PIPE":   syscall.SIGPIPE,
    23  	"POLL":   syscall.SIGPOLL,
    24  	"PROF":   syscall.SIGPROF,
    25  	"PWR":    syscall.SIGPWR,
    26  	"QUIT":   syscall.SIGQUIT,
    27  	"SEGV":   syscall.SIGSEGV,
    28  	"STKFLT": syscall.SIGSTKFLT,
    29  	"STOP":   syscall.SIGSTOP,
    30  	"SYS":    syscall.SIGSYS,
    31  	"TERM":   syscall.SIGTERM,
    32  	"TRAP":   syscall.SIGTRAP,
    33  	"TSTP":   syscall.SIGTSTP,
    34  	"TTIN":   syscall.SIGTTIN,
    35  	"TTOU":   syscall.SIGTTOU,
    36  	"UNUSED": syscall.SIGUNUSED,
    37  	"URG":    syscall.SIGURG,
    38  	"USR1":   syscall.SIGUSR1,
    39  	"USR2":   syscall.SIGUSR2,
    40  	"VTALRM": syscall.SIGVTALRM,
    41  	"WINCH":  syscall.SIGWINCH,
    42  	"XCPU":   syscall.SIGXCPU,
    43  	"XFSZ":   syscall.SIGXFSZ,
    44  }