All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [for-next: PATCH 1/2] toolchain: enable paranoid unsafe path check by default
@ 2016-05-15 10:26 Romain Naour
  2016-05-15 10:26 ` [Buildroot] [for-next: PATCH 2/2] toolchain: update paranoid unsafe path comment Romain Naour
  2016-05-17 20:33 ` [Buildroot] [for-next: PATCH 1/2] toolchain: enable paranoid unsafe path check by default Thomas Petazzoni
  0 siblings, 2 replies; 4+ messages in thread
From: Romain Naour @ 2016-05-15 10:26 UTC (permalink / raw)
  To: buildroot

This check is enabled for all build in the Buildroot autobuilders since [1]
(i.e since 2015.02 release).

Enable this option by default.

[1] https://git.busybox.net/buildroot-test/commit/?id=41552e2a249de4568aa01f14bd588d1c8166f70b

Signed-off-by: Romain Naour <romain.naour@gmail.com>
---
 Config.in | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Config.in b/Config.in
index b5cc892..93b4f69 100644
--- a/Config.in
+++ b/Config.in
@@ -683,6 +683,7 @@ menu "Advanced"
 
 config BR2_COMPILER_PARANOID_UNSAFE_PATH
 	bool "paranoid check of library/header paths"
+	default y
 	help
 	  By default, when this option is disabled, when the Buildroot
 	  cross-compiler will encounter an unsafe library or header
-- 
2.5.5

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

* [Buildroot] [for-next: PATCH 2/2] toolchain: update paranoid unsafe path comment
  2016-05-15 10:26 [Buildroot] [for-next: PATCH 1/2] toolchain: enable paranoid unsafe path check by default Romain Naour
@ 2016-05-15 10:26 ` Romain Naour
  2016-05-15 17:06   ` Thomas Petazzoni
  2016-05-17 20:33 ` [Buildroot] [for-next: PATCH 1/2] toolchain: enable paranoid unsafe path check by default Thomas Petazzoni
  1 sibling, 1 reply; 4+ messages in thread
From: Romain Naour @ 2016-05-15 10:26 UTC (permalink / raw)
  To: buildroot

Since 919c06c28295f19ca49459b98d8954148b381360 the calls to gcc always pass
through the toolchain wrapper and all gcc patches to support poisoning has been
removed.

Update the BR2_COMPILER_PARANOID_UNSAFE_PATH comment.

Signed-off-by: Romain Naour <romain.naour@gmail.com>
---
 Config.in | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Config.in b/Config.in
index 93b4f69..849d7f5 100644
--- a/Config.in
+++ b/Config.in
@@ -695,8 +695,8 @@ config BR2_COMPILER_PARANOID_UNSAFE_PATH
 	  unsafe paths are encountered.
 
 	  Note that this mechanism is available for both the internal
-	  toolchain (through gcc and binutils patches) and external
-	  toolchain backends (through the external toolchain wrapper).
+	  toolchain (through the toolchain wrapper and binutils patches)
+	  and external toolchain backends (through the toolchain wrapper).
 
 endmenu
 
-- 
2.5.5

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

* [Buildroot] [for-next: PATCH 2/2] toolchain: update paranoid unsafe path comment
  2016-05-15 10:26 ` [Buildroot] [for-next: PATCH 2/2] toolchain: update paranoid unsafe path comment Romain Naour
@ 2016-05-15 17:06   ` Thomas Petazzoni
  0 siblings, 0 replies; 4+ messages in thread
From: Thomas Petazzoni @ 2016-05-15 17:06 UTC (permalink / raw)
  To: buildroot

Hello,

On Sun, 15 May 2016 12:26:01 +0200, Romain Naour wrote:
> Since 919c06c28295f19ca49459b98d8954148b381360 the calls to gcc always pass
> through the toolchain wrapper and all gcc patches to support poisoning has been
> removed.
> 
> Update the BR2_COMPILER_PARANOID_UNSAFE_PATH comment.
> 
> Signed-off-by: Romain Naour <romain.naour@gmail.com>
> ---
>  Config.in | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)

I know you labeled this patch as being "for next", but I believe it
really should be applied to master, so that's what I've done.

Thanks!

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

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

* [Buildroot] [for-next: PATCH 1/2] toolchain: enable paranoid unsafe path check by default
  2016-05-15 10:26 [Buildroot] [for-next: PATCH 1/2] toolchain: enable paranoid unsafe path check by default Romain Naour
  2016-05-15 10:26 ` [Buildroot] [for-next: PATCH 2/2] toolchain: update paranoid unsafe path comment Romain Naour
@ 2016-05-17 20:33 ` Thomas Petazzoni
  1 sibling, 0 replies; 4+ messages in thread
From: Thomas Petazzoni @ 2016-05-17 20:33 UTC (permalink / raw)
  To: buildroot

Hello,

On Sun, 15 May 2016 12:26:00 +0200, Romain Naour wrote:
> This check is enabled for all build in the Buildroot autobuilders since [1]
> (i.e since 2015.02 release).
> 
> Enable this option by default.
> 
> [1] https://git.busybox.net/buildroot-test/commit/?id=41552e2a249de4568aa01f14bd588d1c8166f70b
> 
> Signed-off-by: Romain Naour <romain.naour@gmail.com>
> ---
>  Config.in | 1 +
>  1 file changed, 1 insertion(+)

Applied to next, thanks.

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

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

end of thread, other threads:[~2016-05-17 20:33 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-05-15 10:26 [Buildroot] [for-next: PATCH 1/2] toolchain: enable paranoid unsafe path check by default Romain Naour
2016-05-15 10:26 ` [Buildroot] [for-next: PATCH 2/2] toolchain: update paranoid unsafe path comment Romain Naour
2016-05-15 17:06   ` Thomas Petazzoni
2016-05-17 20:33 ` [Buildroot] [for-next: PATCH 1/2] toolchain: enable paranoid unsafe path check by default 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.