Przeglądaj źródła

utils/genrandconfig: test configurations with BR2_RELRO_FULL

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Fabrice Fontaine 5 lat temu
rodzic
commit
d36da5a5f5
1 zmienionych plików z 2 dodań i 0 usunięć
  1. 2 0
      utils/genrandconfig

+ 2 - 0
utils/genrandconfig

@@ -368,6 +368,8 @@ def gen_config(args):
         configlines.append("BR2_SYSTEM_ENABLE_NLS=y\n")
         configlines.append("BR2_SYSTEM_ENABLE_NLS=y\n")
     if randint(0, 4) == 0:
     if randint(0, 4) == 0:
         configlines.append("BR2_PIC_PIE=y\n")
         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
     # Randomly enable BR2_REPRODUCIBLE 10% of times
     # also enable tar filesystem images for testing
     # also enable tar filesystem images for testing