github.com/criyle/go-sandbox@v0.10.3/container/signal_linux.go (about)

     1  //go:build linux && !mips64 && !mips64le
     2  
     3  package container
     4  
     5  import (
     6  	"os"
     7  	"syscall"
     8  )
     9  
    10  var signalToIgnore = []os.Signal{
    11  	// signals that cause run-time panic
    12  	syscall.SIGBUS, syscall.SIGFPE, syscall.SIGSEGV,
    13  	// signals that cause the program to exit
    14  	syscall.SIGHUP, syscall.SIGINT, syscall.SIGTERM,
    15  	// signals that cause the program to exit with a stack dump
    16  	syscall.SIGQUIT, syscall.SIGILL, syscall.SIGTRAP, syscall.SIGABRT, syscall.SIGSTKFLT, syscall.SIGSYS,
    17  }