All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] utils/genrandconfig: test configurations with BR2_PIC_PIE
@ 2019-10-26  8:42 Fabrice Fontaine
  2019-10-26 13:04 ` Thomas Petazzoni
  2019-10-27 10:33 ` Thomas Petazzoni
  0 siblings, 2 replies; 3+ messages in thread
From: Fabrice Fontaine @ 2019-10-26  8:42 UTC (permalink / raw)
  To: buildroot

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
 utils/genrandconfig | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/utils/genrandconfig b/utils/genrandconfig
index d6b7fd56b7..54d66e40d7 100755
--- a/utils/genrandconfig
+++ b/utils/genrandconfig
@@ -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
-- 
2.23.0

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [Buildroot] [PATCH 1/1] utils/genrandconfig: test configurations with BR2_PIC_PIE
  2019-10-26  8:42 [Buildroot] [PATCH 1/1] utils/genrandconfig: test configurations with BR2_PIC_PIE Fabrice Fontaine
@ 2019-10-26 13:04 ` Thomas Petazzoni
  2019-10-27 10:33 ` Thomas Petazzoni
  1 sibling, 0 replies; 3+ messages in thread
From: Thomas Petazzoni @ 2019-10-26 13:04 UTC (permalink / raw)
  To: buildroot

On Sat, 26 Oct 2019 10:42:21 +0200
Fabrice Fontaine <fontaine.fabrice@gmail.com> wrote:

> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
> ---
>  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
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Buildroot] [PATCH 1/1] utils/genrandconfig: test configurations with BR2_PIC_PIE
  2019-10-26  8:42 [Buildroot] [PATCH 1/1] utils/genrandconfig: test configurations with BR2_PIC_PIE Fabrice Fontaine
  2019-10-26 13:04 ` Thomas Petazzoni
@ 2019-10-27 10:33 ` Thomas Petazzoni
  1 sibling, 0 replies; 3+ messages in thread
From: Thomas Petazzoni @ 2019-10-27 10:33 UTC (permalink / raw)
  To: buildroot

Hello Fabrice,

On Sat, 26 Oct 2019 10:42:21 +0200
Fabrice Fontaine <fontaine.fabrice@gmail.com> wrote:

> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
> ---
>  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
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-10-27 10:33 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-26  8:42 [Buildroot] [PATCH 1/1] utils/genrandconfig: test configurations with BR2_PIC_PIE Fabrice Fontaine
2019-10-26 13:04 ` Thomas Petazzoni
2019-10-27 10:33 ` Thomas Petazzoni

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.