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
+2
View File
@@ -167,6 +167,8 @@
#define SIGIO SIGPOLL #define SIGIO SIGPOLL
#define SIGSYS 31
/* sigprocmask() "how" definitions. Only one of the following can be specified: */ /* sigprocmask() "how" definitions. Only one of the following can be specified: */
#define SIG_BLOCK 1 /* Block the given signals */ #define SIG_BLOCK 1 /* Block the given signals */
+2 -2
View File
@@ -1372,8 +1372,8 @@ config SIG_SIGKILL_ACTION
default y default y
---help--- ---help---
Enable the default action for SIGHUP SIGILL SIGTRAP SIGABRT SIGBUS Enable the default action for SIGHUP SIGILL SIGTRAP SIGABRT SIGBUS
SIGFPE SIGINT SIGKILL SIGSEGV SIGQUIT SIGTERM SIGXCPU AND SIGFPE SIGINT SIGKILL SIGSEGV SIGQUIT SIGTERM SIGXCPU SIGXFSZ and
SIGXFSZ (terminate the task). SIGSYS (terminate the task).
config SIG_SIGUSR1_ACTION config SIG_SIGUSR1_ACTION
bool "SIGUSR1" bool "SIGUSR1"
+1
View File
@@ -119,6 +119,7 @@ static const struct nxsig_defaction_s g_defactions[] =
{ SIGTERM, 0, nxsig_abnormal_termination }, { SIGTERM, 0, nxsig_abnormal_termination },
{ SIGXCPU, 0, nxsig_abnormal_termination }, { SIGXCPU, 0, nxsig_abnormal_termination },
{ SIGXFSZ, 0, nxsig_abnormal_termination }, { SIGXFSZ, 0, nxsig_abnormal_termination },
{ SIGSYS, 0, nxsig_abnormal_termination },
#endif #endif
#ifdef CONFIG_SIG_SIGUSR1_ACTION #ifdef CONFIG_SIG_SIGUSR1_ACTION
{ SIGUSR1, 0, nxsig_abnormal_termination }, { SIGUSR1, 0, nxsig_abnormal_termination },