Re: [PATCH] sadump: two bugfixes relevant to zero excluded mode

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>From f02ffc131933a8da8e516b2558c0945873ea290d Mon Sep 17 00:00:00 2001
From: HATAYAMA Daisuke <d.hatayama@xxxxxxxxxxxxxx>
Date: Fri, 18 Dec 2015 10:59:57 +0900
Subject: [PATCH 2/2] Switch to zero excluded mode by default on sadump-related
 formats. This is a fix for the regression, introduced by the commit
 5e887f898c709f912686addde1e046dd1639c97b, that zero excluded mode is disabled
 in the beginning of crash initialization process, making some Fujitsu
 troubleshooting software not work.

Signed-off-by: HATAYAMA Daisuke <d.hatayama@xxxxxxxxxxxxxx>
---
 sadump.c | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/sadump.c b/sadump.c
index 7cad15a..a96ba9c 100644
--- a/sadump.c
+++ b/sadump.c
@@ -394,7 +394,13 @@ restart:
 	}
 
 	sd->filename = file;
-	sd->flags = flags;
+
+	/*
+	 * Switch to zero excluded mode by default on sadump-related
+	 * formats because some Fujitsu troubleshooting software
+	 * assumes the behavior.
+	 */
+	sd->flags = flags | SADUMP_ZERO_EXCLUDED;
 
 	if (machine_type("X86"))
 		sd->machine_type = EM_386;
-- 
1.9.3

--
Crash-utility mailing list
Crash-utility@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/crash-utility

[Index of Archives]     [Fedora Development]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]

 

Powered by Linux