This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Home Products Support Community News


[Xen-changelog] [xen-unstable] tboot: Fix return code for S3 integrity

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] tboot: Fix return code for S3 integrity
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Sat, 07 Mar 2009 06:35:32 -0800
Delivery-date: Sat, 07 Mar 2009 06:37:15 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1236366629 0
# Node ID ec3d0937095d25b86a2ad9d48ce441def57f9d70
# Parent  bf8faabbc57a99b9384cace0c34da2b008488c4f
tboot: Fix return code for S3 integrity

The original patch left in a debug return value from one of the memory
integrity checks.  This patch returns the correct error code in case of a
failure.  This was re-tested to ensure that it still passes for the
expected case.

Signed-off-by: Joseph Cihula <joseph.cihula@xxxxxxxxx>
 xen/arch/x86/tboot.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -r bf8faabbc57a -r ec3d0937095d xen/arch/x86/tboot.c
--- a/xen/arch/x86/tboot.c      Fri Mar 06 19:07:15 2009 +0000
+++ b/xen/arch/x86/tboot.c      Fri Mar 06 19:10:29 2009 +0000
@@ -450,7 +450,7 @@ int tboot_s3_resume(void)
     tboot_gen_domain_integrity(g_tboot_shared->s3_key, &mac);
     if ( mac != domain_mac )
-        return 0; /* -3 */
+        return -3;
     return 0;

Xen-changelog mailing list

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] tboot: Fix return code for S3 integrity, Xen patchbot-unstable <=