github.com/gunjan5/docker@v1.8.2/pkg/signal/signal_linux.go (about)

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