From 776d1086a7ed224c482d2da3c49b2c597b8776ab Mon Sep 17 00:00:00 2001 From: Mike Baiocchi Date: Sat, 1 Jul 2017 01:43:12 -0500 Subject: Secureboot: Inhibit attribute overrides and sync exposures For Secureboot purposes, we don't consider the FSP a secure source. So this commit inhibts attribute overrides and any sort of attribute syncing from the FSP. Change-Id: I941ab5083d3055bc29237839aaaf4b723a2b0e90 RTC:175071 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/42687 Reviewed-by: Nicholas E. Bofferding Tested-by: Jenkins Server Tested-by: Jenkins OP Build CI Reviewed-by: Stephen M. Cprek Tested-by: FSP CI Jenkins Tested-by: Jenkins OP HW Reviewed-by: Daniel M. Crowell --- src/usr/secureboot/runtime/test/testsecureboot_rt.H | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) (limited to 'src/usr/secureboot/runtime/test/testsecureboot_rt.H') diff --git a/src/usr/secureboot/runtime/test/testsecureboot_rt.H b/src/usr/secureboot/runtime/test/testsecureboot_rt.H index ef9a641a9..4173c0855 100644 --- a/src/usr/secureboot/runtime/test/testsecureboot_rt.H +++ b/src/usr/secureboot/runtime/test/testsecureboot_rt.H @@ -5,7 +5,7 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* Contributors Listed Below - COPYRIGHT 2016 */ +/* Contributors Listed Below - COPYRIGHT 2016,2017 */ /* [+] International Business Machines Corp. */ /* */ /* */ @@ -36,6 +36,7 @@ #include #include "common/securetrace.H" +#include class SecurebootRtTestSuite: public CxxTest::TestSuite { @@ -95,6 +96,23 @@ class SecurebootRtTestSuite: public CxxTest::TestSuite SB_EXIT("SecurebootRtTestSuite::testVerifyContainer"); } + void testBaseInterfaces() + { + SB_ENTER("SecurebootRtTestSuite::testBaseInterfaces"); + + do { + + SB_INF("SECUREBOOT::enabled() = %d", SECUREBOOT::enabled()); + + SB_INF("SECUREBOOT::allowAttrOverrides() = %d", + SECUREBOOT::allowAttrOverrides()); + + } while(0); + + SB_EXIT("SecurebootRtTestSuite::testBaseInterfaces"); + } + + private: }; -- cgit v1.2.1