single: add SS_ONSTACK and SS_DISABLE define
fix ltp_sigaltstack_6_1 testcase comile error: iltp/testcases/open_posix_testsuite/conformance/interfaces/sigaltstack/6-1.c:41:28: \ error: ‘SS_ONSTACK’ undeclared (first use in this function); did you mean ‘SA_ONSTACK’? ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaltstack/8-1.c:41:28: \ error: ‘SS_DISABLE’ undeclared (first use in this function Signed-off-by: yangyalei <yangyalei@xiaomi.com>
This commit is contained in:
parent
ed705f9cb3
commit
700cc5ab90
@ -225,6 +225,11 @@
|
||||
#define MINSIGSTKSZ CONFIG_PTHREAD_STACK_MIN /* Smallest signal stack size */
|
||||
#define SIGSTKSZ CONFIG_PTHREAD_STACK_DEFAULT /* Default signal stack size */
|
||||
|
||||
/* define signal handlers stack on an alternate stack or the current thread */
|
||||
|
||||
#define SS_ONSTACK 1
|
||||
#define SS_DISABLE 2
|
||||
|
||||
/* Special values of sa_handler used by sigaction and sigset. They are all
|
||||
* treated like NULL for now. This is okay for SIG_DFL and SIG_IGN because
|
||||
* in NuttX, the default action for all signals is to ignore them.
|
||||
|
Loading…
Reference in New Issue
Block a user