signal: add SIGQUIT & SIGTERM support

SIGQUIT SIGTERM are equal with SIGINT now

Change-Id: Iefc084d58db28003dc40a17f1ff3fbd7a0b716ed
This commit is contained in:
ligd
2020-07-14 11:21:03 +08:00
committed by Xiang Xiao
parent 6dc3cbe9cb
commit f428160dcc
4 changed files with 31 additions and 1 deletions
+17 -1
View File
@@ -1353,7 +1353,7 @@ config SIG_SIGSTOP_ACTION
task) and SIGCONT (resume the task).
config SIG_SIGKILL_ACTION
bool "SIGINT and SIGKILL"
bool "SIGINT SIGKILL SIGQUIT and SIGTERM"
default y
---help---
Enable the default action for SIGINT and SIGKILL (terminate the
@@ -1449,6 +1449,22 @@ config SIG_INT
The SIGINT signal is sent to cause a task termination event.
SIGINT may be ignored or caught by the receiving task.
config SIG_QUIT
int "SIGQUIT"
default 11
depends on SIG_SIGKILL_ACTION
---help---
The SIGINT signal is sent to cause a task termination event.
SIGQUIT may be ignored or caught by the receiving task.
config SIG_TERM
int "SIGTERM"
default 12
depends on SIG_SIGKILL_ACTION
---help---
The SIGINT signal is sent to cause a task termination event.
SIGTERM may be ignored or caught by the receiving task.
endif # SIG_DEFAULT
config SIG_PIPE