forked from nuttx/nuttx-update
signal: add SA_NOMASK flag definition
according to linux kernel doc, "the SA_NOMASK is an obsolete, nonstandard synonym for this SA_NODEFER" flag, and some ltp linux kernel testcases need this flag, so we add this flag to make the testcases pass Signed-off-by: guoshichao <guoshichao@xiaomi.com>
This commit is contained in:
parent
a8cdd63d56
commit
16789ed818
1 changed files with 4 additions and 0 deletions
|
@ -199,6 +199,10 @@
|
|||
* is delivered */
|
||||
#define SA_KERNELHAND (1 << 7) /* Invoke the handler in kernel space directly */
|
||||
|
||||
/* SA_NOMASK is a nonstandard synonym of SA_NODEFER */
|
||||
|
||||
#define SA_NOMASK SA_NODEFER
|
||||
|
||||
/* These are the possible values of the siginfo si_code field */
|
||||
|
||||
#define SI_USER 0 /* Signal sent from kill, raise, or abort */
|
||||
|
|
Loading…
Reference in a new issue