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:
guoshichao 2024-12-05 16:14:18 +08:00 committed by Alan C. Assis
parent a8cdd63d56
commit 16789ed818

View file

@ -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 */