This is an automated email from the ASF dual-hosted git repository. acassis pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/nuttx.git
commit 16789ed818db6e645a2080191c42dbc389b37754 Author: guoshichao <guoshic...@xiaomi.com> AuthorDate: Thu Dec 5 16:14:18 2024 +0800 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 <guoshic...@xiaomi.com> --- include/signal.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/signal.h b/include/signal.h index 896e67cbc2..2fdd72d8a5 100644 --- a/include/signal.h +++ b/include/signal.h @@ -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 */