(1)忽略信号:即对信号不做任何处理,但是两个信号不能忽略:SIGKILL
以及SIGSTOP
.
(2)捕捉信号:当信号发生时,执行用户定义的信号处理函数。
(3)执行默认操作: Linux对每种信号都规定了默认操作,man 7 signal查看。
Term Default action is to terminate the process. Ign Default action is to ignore the signal. Core Default action is to terminate the process and dump core (see core(5)). Stop Default action is to stop the process. Cont Default