diff options
author | Chen Gang | 2020-10-08 06:31:05 +0200 |
---|---|---|
committer | Laurent Vivier | 2021-02-13 22:50:50 +0100 |
commit | fba087458d3ca6f5470e0cdec82aaefe0854ddb2 (patch) | |
tree | df6bede2321a8163b1999b2821c9674388e35f41 /linux-user/generic/signal.h | |
parent | linux-user: add TARGET_SO_{DOMAIN,PROTOCOL} (diff) | |
download | qemu-fba087458d3ca6f5470e0cdec82aaefe0854ddb2.tar.gz qemu-fba087458d3ca6f5470e0cdec82aaefe0854ddb2.tar.xz qemu-fba087458d3ca6f5470e0cdec82aaefe0854ddb2.zip |
linux-user: target: signal: Support TARGET_SS_AUTODISARM
Add definitions to pass building.
Signed-off-by: Chen Gang <chengang@emindsoft.com.cn>
Message-Id: <20201008043105.21058-1-chengang@emindsoft.com.cn>
[lv: added the definitions in linux-user/generic/signal.h too]
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Diffstat (limited to 'linux-user/generic/signal.h')
-rw-r--r-- | linux-user/generic/signal.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/linux-user/generic/signal.h b/linux-user/generic/signal.h index e1083f8fba..943bc1a1e2 100644 --- a/linux-user/generic/signal.h +++ b/linux-user/generic/signal.h @@ -54,4 +54,10 @@ #define TARGET_SIG_BLOCK 0 /* for blocking signals */ #define TARGET_SIG_UNBLOCK 1 /* for unblocking signals */ #define TARGET_SIG_SETMASK 2 /* for setting the signal mask */ + +/* bit-flags */ +#define TARGET_SS_AUTODISARM (1U << 31) /* disable sas during sighandling */ +/* mask for all SS_xxx flags */ +#define TARGET_SS_FLAG_BITS TARGET_SS_AUTODISARM + #endif |