[Devel] [PATCH 6/8] checkpoint: clean up __SI_CHLD siginfo save/restore

Nathan Lynch ntl at pobox.com
Tue Jul 13 08:44:22 PDT 2010


ckpt_siginfo now has a field for exit status; use it.

Signed-off-by: Nathan Lynch <ntl at pobox.com>
---
 kernel/signal.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/kernel/signal.c b/kernel/signal.c
index de85c35..fccf9b6 100644
--- a/kernel/signal.c
+++ b/kernel/signal.c
@@ -2941,7 +2941,7 @@ static void fill_siginfo(struct ckpt_siginfo *si, const siginfo_t *info)
 	case __SI_CHLD:
 		si->csi_pid = info->si_pid;
 		si->csi_uid = info->si_uid;
-		si->csi_int = info->si_status;
+		si->csi_status = info->si_status;
 		si->csi_stime = info->si_stime;
 		si->csi_utime = info->si_utime;
 		break;
@@ -2990,7 +2990,7 @@ static int load_siginfo(siginfo_t *info, const struct ckpt_siginfo *si)
 	case __SI_CHLD:
 		info->si_pid = si->csi_pid;
 		info->si_uid = si->csi_uid;
-		info->si_status = si->csi_int;
+		info->si_status = si->csi_status;
 		info->si_stime = si->csi_stime;
 		info->si_utime = si->csi_utime;
 		break;
-- 
1.7.1.1

_______________________________________________
Containers mailing list
Containers at lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/containers




More information about the Devel mailing list