linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ARM: make OABI default to off
@ 2013-11-06 21:13 Kees Cook
  2013-11-06 21:23 ` Olof Johansson
  2013-11-08 23:13 ` Nicolas Pitre
  0 siblings, 2 replies; 4+ messages in thread
From: Kees Cook @ 2013-11-06 21:13 UTC (permalink / raw)
  To: linux-kernel; +Cc: Russell King, linux-arm-kernel

Given recent discussions about the lack of OABI in the wild, switch
CONFIG_OABI_COMPAT to off-by-default to encourage more system builders
to avoid it.

Signed-off-by: Kees Cook <keescook@chromium.org>
---
 arch/arm/Kconfig |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index 1ad6fb6c094d..4ace7f33e8a1 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -1728,7 +1728,7 @@ config AEABI
 config OABI_COMPAT
 	bool "Allow old ABI binaries to run with this kernel (EXPERIMENTAL)"
 	depends on AEABI && !THUMB2_KERNEL
-	default y
+	default n
 	help
 	  This option preserves the old syscall interface along with the
 	  new (ARM EABI) one. It also provides a compatibility layer to
@@ -1740,7 +1740,7 @@ config OABI_COMPAT
 	  can say N here. If this option is not selected and you attempt
 	  to execute a legacy ABI binary then the result will be
 	  UNPREDICTABLE (in fact it can be predicted that it won't work
-	  at all). If in doubt say Y.
+	  at all). If in doubt say N.
 
 config ARCH_HAS_HOLES_MEMORYMODEL
 	bool
-- 
1.7.9.5


-- 
Kees Cook
Chrome OS Security

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

* Re: [PATCH] ARM: make OABI default to off
  2013-11-06 21:13 [PATCH] ARM: make OABI default to off Kees Cook
@ 2013-11-06 21:23 ` Olof Johansson
  2013-11-08 23:13 ` Nicolas Pitre
  1 sibling, 0 replies; 4+ messages in thread
From: Olof Johansson @ 2013-11-06 21:23 UTC (permalink / raw)
  To: Kees Cook; +Cc: linux-kernel, Russell King, linux-arm-kernel

On Wed, Nov 6, 2013 at 1:13 PM, Kees Cook <keescook@chromium.org> wrote:
> Given recent discussions about the lack of OABI in the wild, switch
> CONFIG_OABI_COMPAT to off-by-default to encourage more system builders
> to avoid it.
>
> Signed-off-by: Kees Cook <keescook@chromium.org>
> ---
>  arch/arm/Kconfig |    4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
> index 1ad6fb6c094d..4ace7f33e8a1 100644
> --- a/arch/arm/Kconfig
> +++ b/arch/arm/Kconfig
> @@ -1728,7 +1728,7 @@ config AEABI
>  config OABI_COMPAT
>         bool "Allow old ABI binaries to run with this kernel (EXPERIMENTAL)"
>         depends on AEABI && !THUMB2_KERNEL
> -       default y
> +       default n

Nit: "default n" is the default default. So you can just delete the
line instead.


-Olof

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

* Re: [PATCH] ARM: make OABI default to off
  2013-11-06 21:13 [PATCH] ARM: make OABI default to off Kees Cook
  2013-11-06 21:23 ` Olof Johansson
@ 2013-11-08 23:13 ` Nicolas Pitre
  2013-11-08 23:17   ` Olof Johansson
  1 sibling, 1 reply; 4+ messages in thread
From: Nicolas Pitre @ 2013-11-08 23:13 UTC (permalink / raw)
  To: Kees Cook; +Cc: linux-kernel, Russell King, linux-arm-kernel

On Wed, 6 Nov 2013, Kees Cook wrote:

> Given recent discussions about the lack of OABI in the wild, switch
> CONFIG_OABI_COMPAT to off-by-default to encourage more system builders
> to avoid it.
> 
> Signed-off-by: Kees Cook <keescook@chromium.org>

Acked-by: Nicolas Pitre <nico@linaro.org>

> ---
>  arch/arm/Kconfig |    4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
> index 1ad6fb6c094d..4ace7f33e8a1 100644
> --- a/arch/arm/Kconfig
> +++ b/arch/arm/Kconfig
> @@ -1728,7 +1728,7 @@ config AEABI
>  config OABI_COMPAT
>  	bool "Allow old ABI binaries to run with this kernel (EXPERIMENTAL)"
>  	depends on AEABI && !THUMB2_KERNEL
> -	default y
> +	default n
>  	help
>  	  This option preserves the old syscall interface along with the
>  	  new (ARM EABI) one. It also provides a compatibility layer to
> @@ -1740,7 +1740,7 @@ config OABI_COMPAT
>  	  can say N here. If this option is not selected and you attempt
>  	  to execute a legacy ABI binary then the result will be
>  	  UNPREDICTABLE (in fact it can be predicted that it won't work
> -	  at all). If in doubt say Y.
> +	  at all). If in doubt say N.
>  
>  config ARCH_HAS_HOLES_MEMORYMODEL
>  	bool
> -- 
> 1.7.9.5
> 
> 
> -- 
> Kees Cook
> Chrome OS Security
> --
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at  http://www.tux.org/lkml/
> 

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

* Re: [PATCH] ARM: make OABI default to off
  2013-11-08 23:13 ` Nicolas Pitre
@ 2013-11-08 23:17   ` Olof Johansson
  0 siblings, 0 replies; 4+ messages in thread
From: Olof Johansson @ 2013-11-08 23:17 UTC (permalink / raw)
  To: Nicolas Pitre; +Cc: Kees Cook, linux-kernel, Russell King, linux-arm-kernel

On Fri, Nov 8, 2013 at 3:13 PM, Nicolas Pitre <nico@fluxnic.net> wrote:
> On Wed, 6 Nov 2013, Kees Cook wrote:
>
>> Given recent discussions about the lack of OABI in the wild, switch
>> CONFIG_OABI_COMPAT to off-by-default to encourage more system builders
>> to avoid it.
>>
>> Signed-off-by: Kees Cook <keescook@chromium.org>
>
> Acked-by: Nicolas Pitre <nico@linaro.org>

Yeah, sorry for the delay:

Acked-by: Olof Johansson <olof@lixom.net

(send to the patch tracker :)

-Olof

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

end of thread, other threads:[~2013-11-08 23:17 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-11-06 21:13 [PATCH] ARM: make OABI default to off Kees Cook
2013-11-06 21:23 ` Olof Johansson
2013-11-08 23:13 ` Nicolas Pitre
2013-11-08 23:17   ` Olof Johansson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).