[PATCH 1/2] Merge into restoration of alternative signal stack
Alexander Kartashov
alekskartashov at parallels.com
Sat Jun 15 10:10:46 EDT 2013
---
include/sigframe.h | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/include/sigframe.h b/include/sigframe.h
index 47bb2fd..bb5a43c 100644
--- a/include/sigframe.h
+++ b/include/sigframe.h
@@ -50,13 +50,13 @@ extern int construct_sigframe(struct rt_sigframe *sigframe,
* to unweave types mess we've generated for
* run-time data.
*/
-#define setup_sas(sigframe, sas) \
-do { \
- if ((sas)) { \
- (sigframe)->uc.uc_stack.ss_sp = (void *)decode_pointer((sas)->ss_sp); \
- (sigframe)->uc.uc_stack.ss_flags= (int)(sas)->ss_flags; \
- (sigframe)->uc.uc_stack.ss_size = (size_t)(sas)->ss_size; \
- } \
+#define setup_sas(sigframe, sas) \
+do { \
+ if ((sas)) { \
+ RT_SIGFRAME_UC((sigframe)).uc_stack.ss_sp = (void *)decode_pointer((sas)->ss_sp); \
+ RT_SIGFRAME_UC((sigframe)).uc_stack.ss_flags= (int)(sas)->ss_flags; \
+ RT_SIGFRAME_UC((sigframe)).uc_stack.ss_size = (size_t)(sas)->ss_size; \
+ } \
} while (0)
#endif /* __CR_SIGFRAME_H__ */
--
1.7.10.4
--------------070502080409080802070406--
More information about the CRIU
mailing list