utils/genrandconfig: test configurations with BR2_PIC_PIE
PATCH 1/1 utils/genrandconfig: test configurations with BR2_PIC_PIE
Signed-off-by Fabrice Fontaine <[email protected]>
--- utils/genrandconfig | 2 ++ 1 file changed, 2 insertions(+)
utils/genrandconfig +2 -0
@@ -366,6 +366,8 @@ def gen_config(args): configlines.append("BR2_OPTIMIZE_2=y\n") if randint(0, 4) == 0: configlines.append("BR2_SYSTEM_ENABLE_NLS=y\n") + if randInt(0, 4) == 0: + configlines.append("BR2_PIC_PIE=y\n") # Randomly enable BR2_REPRODUCIBLE 10% of times # also enable tar filesystem images for testing
Signature · 1 line
2.23.0
Thomas Petazzoni
AppliedPATCH 1/1 utils/genrandconfig: test configurations with BR2_PIC_PIE
Quoted 4 lines · On Sat, 26 Oct 2019 10:42:21 +0200 Fabrice Fontaine…
Signed-off-by Fabrice Fontaine <[email protected]>--- utils/genrandconfig | 2 ++ 1 file changed, 2 insertions(+)
Applied to master, thanks. Any reason why you randomized this only for PIC_PIE, and not the other hardening options ?
Best regards,
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com
PATCH 1/1 utils/genrandconfig: test configurations with BR2_PIC_PIE
In reply to Fabrice FontaineHello Fabrice,
Quoted 4 lines · On Sat, 26 Oct 2019 10:42:21 +0200 Fabrice Fontaine…
Signed-off-by Fabrice Fontaine <[email protected]>--- utils/genrandconfig | 2 ++ 1 file changed, 2 insertions(+)
This is starting to cause build failures (of course). Perhaps you should monitor:
http://autobuild.buildroot.net/index.php?status=NOK&symbols[BR2_PIC_PIE]=y
Not all build failures are related to BR2_PIC_PIE of course, but some of them clearly are.
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com