[PATCH 2/2] Merge into dumping of alternative signal stack

Alexander Kartashov alekskartashov at parallels.com
Sat Jun 15 10:11:28 EDT 2013


---
 parasite-syscall.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/parasite-syscall.c b/parasite-syscall.c
index 87b3458..5edc19a 100644
--- a/parasite-syscall.c
+++ b/parasite-syscall.c
@@ -371,7 +371,7 @@ static int parasite_set_logfd(struct parasite_ctl *ctl, pid_t pid)
 
 static void copy_sas(ThreadSasEntry *dst, stack_t *src)
 {
-	dst->ss_sp = (u64)src->ss_sp;
+	dst->ss_sp = encode_pointer(src->ss_sp);
 	dst->ss_size = (u64)src->ss_size;
 	dst->ss_flags = src->ss_flags;
 }
-- 
1.7.10.4


--------------030402020105080405060208--


More information about the CRIU mailing list