Hi Richard, On 2021/11/20 下午6:33, Richard Henderson wrote:
+/* this struct defines a stack used during syscall handling */ +typedef struct target_sigaltstack { + abi_long ss_sp; + abi_int ss_flags; + abi_ulong ss_size; +} target_stack_t; + +/* + * sigaltstack controls + */ +#define TARGET_SS_ONSTACK 1 +#define TARGET_SS_DISABLE 2 + +#define TARGET_MINSIGSTKSZ 2048 +#define TARGET_SIGSTKSZ 8192We should move these to generic/signal.h.
Yes. I also see that TARGET_SIGSTKSZ is not used. I think we should delete it. Thanks Song Gao
