Skip to content

Commit

Permalink
signal: add SA_NOMASK flag definition
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
extinguish committed Dec 24, 2024
1 parent 1714571 commit 16c935c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions include/signal.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down

0 comments on commit 16c935c

Please sign in to comment.