2018-02-05 16:05:59 -05:00
|
|
|
package signal // import "github.com/docker/docker/pkg/signal"
|
2013-09-12 02:50:26 -04:00
|
|
|
|
|
|
|
import (
|
|
|
|
"syscall"
|
|
|
|
)
|
|
|
|
|
2015-07-25 04:35:07 -04:00
|
|
|
// SignalMap is a map of FreeBSD signals.
|
2014-03-10 17:22:27 -04:00
|
|
|
var SignalMap = map[string]syscall.Signal{
|
2014-03-10 16:50:16 -04:00
|
|
|
"ABRT": syscall.SIGABRT,
|
|
|
|
"ALRM": syscall.SIGALRM,
|
|
|
|
"BUF": syscall.SIGBUS,
|
|
|
|
"CHLD": syscall.SIGCHLD,
|
|
|
|
"CONT": syscall.SIGCONT,
|
|
|
|
"EMT": syscall.SIGEMT,
|
|
|
|
"FPE": syscall.SIGFPE,
|
|
|
|
"HUP": syscall.SIGHUP,
|
|
|
|
"ILL": syscall.SIGILL,
|
|
|
|
"INFO": syscall.SIGINFO,
|
|
|
|
"INT": syscall.SIGINT,
|
|
|
|
"IO": syscall.SIGIO,
|
|
|
|
"IOT": syscall.SIGIOT,
|
|
|
|
"KILL": syscall.SIGKILL,
|
|
|
|
"LWP": syscall.SIGLWP,
|
|
|
|
"PIPE": syscall.SIGPIPE,
|
|
|
|
"PROF": syscall.SIGPROF,
|
|
|
|
"QUIT": syscall.SIGQUIT,
|
|
|
|
"SEGV": syscall.SIGSEGV,
|
|
|
|
"STOP": syscall.SIGSTOP,
|
|
|
|
"SYS": syscall.SIGSYS,
|
|
|
|
"TERM": syscall.SIGTERM,
|
|
|
|
"THR": syscall.SIGTHR,
|
|
|
|
"TRAP": syscall.SIGTRAP,
|
|
|
|
"TSTP": syscall.SIGTSTP,
|
|
|
|
"TTIN": syscall.SIGTTIN,
|
|
|
|
"TTOU": syscall.SIGTTOU,
|
|
|
|
"URG": syscall.SIGURG,
|
|
|
|
"USR1": syscall.SIGUSR1,
|
|
|
|
"USR2": syscall.SIGUSR2,
|
|
|
|
"VTALRM": syscall.SIGVTALRM,
|
|
|
|
"WINCH": syscall.SIGWINCH,
|
|
|
|
"XCPU": syscall.SIGXCPU,
|
|
|
|
"XFSZ": syscall.SIGXFSZ,
|
2013-09-12 02:50:26 -04:00
|
|
|
}
|