mirror of
https://github.com/apache/nuttx.git
synced 2026-06-02 01:21:26 +08:00
signal: add SIGSYS
Signed-off-by: Petro Karashchenko <petro.karashchenko@gmail.com>
This commit is contained in:
committed by
patacongo
parent
10f294c026
commit
a8f4a89221
@@ -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
@@ -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"
|
||||||
|
|||||||
@@ -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 },
|
||||||
|
|||||||
Reference in New Issue
Block a user