summaryrefslogtreecommitdiffstats
path: root/configs/bsp.ref
diff options
context:
space:
mode:
Diffstat (limited to 'configs/bsp.ref')
-rw-r--r--configs/bsp.ref21
1 files changed, 21 insertions, 0 deletions
diff --git a/configs/bsp.ref b/configs/bsp.ref
new file mode 100644
index 0000000..153313d
--- /dev/null
+++ b/configs/bsp.ref
@@ -0,0 +1,21 @@
+includes:
+ - file: ptxdist.ref
+ptxdist_toolchain_hardening:
+ history:
+ ptxdist.ref:
+ description: >
+ All toolchain hardening options should be enabled.
+ analyzer: >
+ kconfig.PTXPlatformConfig().enabled
+ present:
+ - TARGET_HARDEN_BINDNOW
+ - TARGET_HARDEN_FORTIFY
+ - TARGET_HARDEN_PIE
+ - TARGET_HARDEN_RELRO
+ optional:
+ - '*'
+ absent:
+ - TARGET_HARDEN_STACK_NONE
+ absent:
+ - TARGET_HARDEN_PIE
+# vim: syntax=yaml