[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-unstable] tboot: Fix return code for S3 integrity
# 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 Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |