Skip to contentSkip to conversation

utils/genrandconfig: test configurations with BR2_RELRO_FULL

PATCH New Fabrice Fontaine 2 participants 3 messages Oct 26, 2019 – Oct 27, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 utils/genrandconfig: test configurations with BR2_RELRO_FULL

---
 utils/genrandconfig | 2 ++
 1 file changed, 2 insertions(+)
utils/genrandconfig +2 -0
index 9567739252..66f1ce6547 100755
@@ -368,6 +368,8 @@ def gen_config(args):
         configlines.append("BR2_SYSTEM_ENABLE_NLS=y\n")
     if randint(0, 4) == 0:
         configlines.append("BR2_PIC_PIE=y\n")
+    if randint(0, 4) == 0:
+        configlines.append("BR2_RELRO_FULL=y\n")
 
     # Randomly enable BR2_REPRODUCIBLE 10% of times
     # also enable tar filesystem images for testing
Signature · 1 line
2.23.0
#1 lore raw

PATCH 2/2 utils/genrandconfig: test configurations with BR2_SSP_ALL

---
 utils/genrandconfig | 2 ++
 1 file changed, 2 insertions(+)
utils/genrandconfig +2 -0
index 66f1ce6547..4308261932 100755
@@ -370,6 +370,8 @@ def gen_config(args):
         configlines.append("BR2_PIC_PIE=y\n")
     if randint(0, 4) == 0:
         configlines.append("BR2_RELRO_FULL=y\n")
+    if randint(0, 4) == 0:
+        configlines.append("BR2_SSP_ALL=y\n")
 
     # Randomly enable BR2_REPRODUCIBLE 10% of times
     # also enable tar filesystem images for testing
Signature · 1 line
2.23.0
#2 lore raw

PATCH 1/2 utils/genrandconfig: test configurations with BR2_RELRO_FULL

In reply to Fabrice Fontaine
Quoted 4 lines · On Sat, 26 Oct 2019 21:43:14 +0200 Fabrice Fontaine…
---
 utils/genrandconfig | 2 ++
 1 file changed, 2 insertions(+)

Both applied.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com