summaryrefslogtreecommitdiffstats
path: root/src/usr/targeting/attrrp.C
diff options
context:
space:
mode:
Diffstat (limited to 'src/usr/targeting/attrrp.C')
-rwxr-xr-xsrc/usr/targeting/attrrp.C7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/usr/targeting/attrrp.C b/src/usr/targeting/attrrp.C
index 66be9a33f..2c9f0b6fe 100755
--- a/src/usr/targeting/attrrp.C
+++ b/src/usr/targeting/attrrp.C
@@ -52,6 +52,7 @@
#include <fapi2/plat_attr_override_sync.H>
#include <targeting/attrPlatOverride.H>
#include <config.h>
+#include <secureboot/service.H>
using namespace INITSERVICE;
using namespace ERRORLOG;
@@ -929,6 +930,12 @@ namespace TARGETING
size_t l_maxSize = io_size;
io_size = 0;
+ if (!SECUREBOOT::allowAttrOverrides())
+ {
+ TRACFCOMP( g_trac_targeting, "AttrRP::_saveOverrides: skipping "
+ "since Attribute Overrides are not allowed.");
+ }
+
// Save the fapi and temp overrides
// Note: no need to look at PERM because those were added to
// the base targeting model
OpenPOWER on IntegriCloud