github.com/demonoid81/moby@v0.0.0-20200517203328-62dd8e17c460/pkg/signal/signal_linux_mipsx.go (about)

     1  // +build linux
     2  // +build mips mipsle mips64 mips64le
     3  
     4  package signal // import "github.com/demonoid81/moby/pkg/signal"
     5  
     6  import (
     7  	"syscall"
     8  
     9  	"golang.org/x/sys/unix"
    10  )
    11  
    12  const (
    13  	sigrtmin = 34
    14  	sigrtmax = 127
    15  )
    16  
    17  // SignalMap is a map of Linux signals.
    18  var SignalMap = map[string]syscall.Signal{
    19  	"ABRT":     unix.SIGABRT,
    20  	"ALRM":     unix.SIGALRM,
    21  	"BUS":      unix.SIGBUS,
    22  	"CHLD":     unix.SIGCHLD,
    23  	"CLD":      unix.SIGCLD,
    24  	"CONT":     unix.SIGCONT,
    25  	"FPE":      unix.SIGFPE,
    26  	"HUP":      unix.SIGHUP,
    27  	"ILL":      unix.SIGILL,
    28  	"INT":      unix.SIGINT,
    29  	"IO":       unix.SIGIO,
    30  	"IOT":      unix.SIGIOT,
    31  	"KILL":     unix.SIGKILL,
    32  	"PIPE":     unix.SIGPIPE,
    33  	"POLL":     unix.SIGPOLL,
    34  	"PROF":     unix.SIGPROF,
    35  	"PWR":      unix.SIGPWR,
    36  	"QUIT":     unix.SIGQUIT,
    37  	"SEGV":     unix.SIGSEGV,
    38  	"EMT":      unix.SIGEMT,
    39  	"STOP":     unix.SIGSTOP,
    40  	"SYS":      unix.SIGSYS,
    41  	"TERM":     unix.SIGTERM,
    42  	"TRAP":     unix.SIGTRAP,
    43  	"TSTP":     unix.SIGTSTP,
    44  	"TTIN":     unix.SIGTTIN,
    45  	"TTOU":     unix.SIGTTOU,
    46  	"URG":      unix.SIGURG,
    47  	"USR1":     unix.SIGUSR1,
    48  	"USR2":     unix.SIGUSR2,
    49  	"VTALRM":   unix.SIGVTALRM,
    50  	"WINCH":    unix.SIGWINCH,
    51  	"XCPU":     unix.SIGXCPU,
    52  	"XFSZ":     unix.SIGXFSZ,
    53  	"RTMIN":    sigrtmin,
    54  	"RTMIN+1":  sigrtmin + 1,
    55  	"RTMIN+2":  sigrtmin + 2,
    56  	"RTMIN+3":  sigrtmin + 3,
    57  	"RTMIN+4":  sigrtmin + 4,
    58  	"RTMIN+5":  sigrtmin + 5,
    59  	"RTMIN+6":  sigrtmin + 6,
    60  	"RTMIN+7":  sigrtmin + 7,
    61  	"RTMIN+8":  sigrtmin + 8,
    62  	"RTMIN+9":  sigrtmin + 9,
    63  	"RTMIN+10": sigrtmin + 10,
    64  	"RTMIN+11": sigrtmin + 11,
    65  	"RTMIN+12": sigrtmin + 12,
    66  	"RTMIN+13": sigrtmin + 13,
    67  	"RTMIN+14": sigrtmin + 14,
    68  	"RTMIN+15": sigrtmin + 15,
    69  	"RTMAX-14": sigrtmax - 14,
    70  	"RTMAX-13": sigrtmax - 13,
    71  	"RTMAX-12": sigrtmax - 12,
    72  	"RTMAX-11": sigrtmax - 11,
    73  	"RTMAX-10": sigrtmax - 10,
    74  	"RTMAX-9":  sigrtmax - 9,
    75  	"RTMAX-8":  sigrtmax - 8,
    76  	"RTMAX-7":  sigrtmax - 7,
    77  	"RTMAX-6":  sigrtmax - 6,
    78  	"RTMAX-5":  sigrtmax - 5,
    79  	"RTMAX-4":  sigrtmax - 4,
    80  	"RTMAX-3":  sigrtmax - 3,
    81  	"RTMAX-2":  sigrtmax - 2,
    82  	"RTMAX-1":  sigrtmax - 1,
    83  	"RTMAX":    sigrtmax,
    84  }