signal: add SIGSYS

Signed-off-by: Petro Karashchenko <petro.karashchenko@gmail.com>
This commit is contained in:
Petro Karashchenko 2023-03-27 17:37:53 +03:00 committed by patacongo
parent 10f294c026
commit a8f4a89221
3 changed files with 5 additions and 2 deletions

View File

@ -167,6 +167,8 @@
#define SIGIO SIGPOLL
#define SIGSYS 31
/* sigprocmask() "how" definitions. Only one of the following can be specified: */
#define SIG_BLOCK 1 /* Block the given signals */

View File

@ -1372,8 +1372,8 @@ config SIG_SIGKILL_ACTION
default y
---help---
Enable the default action for SIGHUP SIGILL SIGTRAP SIGABRT SIGBUS
SIGFPE SIGINT SIGKILL SIGSEGV SIGQUIT SIGTERM SIGXCPU AND
SIGXFSZ (terminate the task).
SIGFPE SIGINT SIGKILL SIGSEGV SIGQUIT SIGTERM SIGXCPU SIGXFSZ and
SIGSYS (terminate the task).
config SIG_SIGUSR1_ACTION
bool "SIGUSR1"

View File

@ -119,6 +119,7 @@ static const struct nxsig_defaction_s g_defactions[] =
{ SIGTERM, 0, nxsig_abnormal_termination },
{ SIGXCPU, 0, nxsig_abnormal_termination },
{ SIGXFSZ, 0, nxsig_abnormal_termination },
{ SIGSYS, 0, nxsig_abnormal_termination },
#endif
#ifdef CONFIG_SIG_SIGUSR1_ACTION
{ SIGUSR1, 0, nxsig_abnormal_termination },