* [PATCH] arm64: Always use REFCOUNT_FULL
@ 2017-09-20 20:49 Kees Cook
2017-09-20 22:44 ` Ard Biesheuvel
2017-09-21 17:45 ` Al Viro
0 siblings, 2 replies; 4+ messages in thread
From: Kees Cook @ 2017-09-20 20:49 UTC (permalink / raw)
To: linux-arm-kernel
As discussed at the Linux Security Summit, arm64 prefers to use
REFCOUNT_FULL by default. This enables it for the architecture.
Cc: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Cc: hw.likun at huawei.com
Cc: Catalin Marinas <catalin.marinas@arm.com>
Cc: Will Deacon <will.deacon@arm.com>
Cc: linux-arm-kernel at lists.infradead.org
Signed-off-by: Kees Cook <keescook@chromium.org>
---
arch/arm64/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig
index 0df64a6a56d4..9fe7a7f4c94c 100644
--- a/arch/arm64/Kconfig
+++ b/arch/arm64/Kconfig
@@ -119,6 +119,7 @@ config ARM64
select PCI_ECAM if ACPI
select POWER_RESET
select POWER_SUPPLY
+ select REFCOUNT_FULL
select SPARSE_IRQ
select SYSCTL_EXCEPTION_TRACE
select THREAD_INFO_IN_TASK
--
2.7.4
--
Kees Cook
Pixel Security
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [PATCH] arm64: Always use REFCOUNT_FULL
2017-09-20 20:49 [PATCH] arm64: Always use REFCOUNT_FULL Kees Cook
@ 2017-09-20 22:44 ` Ard Biesheuvel
2017-09-21 17:45 ` Al Viro
1 sibling, 0 replies; 4+ messages in thread
From: Ard Biesheuvel @ 2017-09-20 22:44 UTC (permalink / raw)
To: linux-arm-kernel
On 20 September 2017 at 13:49, Kees Cook <keescook@chromium.org> wrote:
> As discussed at the Linux Security Summit, arm64 prefers to use
> REFCOUNT_FULL by default. This enables it for the architecture.
>
> Cc: Ard Biesheuvel <ard.biesheuvel@linaro.org>
> Cc: hw.likun at huawei.com
> Cc: Catalin Marinas <catalin.marinas@arm.com>
> Cc: Will Deacon <will.deacon@arm.com>
> Cc: linux-arm-kernel at lists.infradead.org
> Signed-off-by: Kees Cook <keescook@chromium.org>
Acked-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
> ---
> arch/arm64/Kconfig | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig
> index 0df64a6a56d4..9fe7a7f4c94c 100644
> --- a/arch/arm64/Kconfig
> +++ b/arch/arm64/Kconfig
> @@ -119,6 +119,7 @@ config ARM64
> select PCI_ECAM if ACPI
> select POWER_RESET
> select POWER_SUPPLY
> + select REFCOUNT_FULL
> select SPARSE_IRQ
> select SYSCTL_EXCEPTION_TRACE
> select THREAD_INFO_IN_TASK
> --
> 2.7.4
>
>
> --
> Kees Cook
> Pixel Security
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH] arm64: Always use REFCOUNT_FULL
2017-09-20 20:49 [PATCH] arm64: Always use REFCOUNT_FULL Kees Cook
2017-09-20 22:44 ` Ard Biesheuvel
@ 2017-09-21 17:45 ` Al Viro
2017-09-21 17:52 ` Kees Cook
1 sibling, 1 reply; 4+ messages in thread
From: Al Viro @ 2017-09-21 17:45 UTC (permalink / raw)
To: linux-arm-kernel
On Wed, Sep 20, 2017 at 01:49:59PM -0700, Kees Cook wrote:
> As discussed at the Linux Security Summit, arm64 prefers to use
> REFCOUNT_FULL by default. This enables it for the architecture.
>
> Cc: Ard Biesheuvel <ard.biesheuvel@linaro.org>
> Cc: hw.likun at huawei.com
> Cc: Catalin Marinas <catalin.marinas@arm.com>
> Cc: Will Deacon <will.deacon@arm.com>
> Cc: linux-arm-kernel at lists.infradead.org
> Signed-off-by: Kees Cook <keescook@chromium.org>
> ---
> arch/arm64/Kconfig | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig
> index 0df64a6a56d4..9fe7a7f4c94c 100644
> --- a/arch/arm64/Kconfig
> +++ b/arch/arm64/Kconfig
> @@ -119,6 +119,7 @@ config ARM64
> select PCI_ECAM if ACPI
> select POWER_RESET
> select POWER_SUPPLY
> + select REFCOUNT_FULL
Umm... That does a bit more than "on by default", unless I'm
misreading it. More like "on, and you can't opt out"...
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH] arm64: Always use REFCOUNT_FULL
2017-09-21 17:45 ` Al Viro
@ 2017-09-21 17:52 ` Kees Cook
0 siblings, 0 replies; 4+ messages in thread
From: Kees Cook @ 2017-09-21 17:52 UTC (permalink / raw)
To: linux-arm-kernel
On Thu, Sep 21, 2017 at 10:45 AM, Al Viro <viro@zeniv.linux.org.uk> wrote:
> On Wed, Sep 20, 2017 at 01:49:59PM -0700, Kees Cook wrote:
>> As discussed at the Linux Security Summit, arm64 prefers to use
>> REFCOUNT_FULL by default. This enables it for the architecture.
>>
>> Cc: Ard Biesheuvel <ard.biesheuvel@linaro.org>
>> Cc: hw.likun at huawei.com
>> Cc: Catalin Marinas <catalin.marinas@arm.com>
>> Cc: Will Deacon <will.deacon@arm.com>
>> Cc: linux-arm-kernel at lists.infradead.org
>> Signed-off-by: Kees Cook <keescook@chromium.org>
>> ---
>> arch/arm64/Kconfig | 1 +
>> 1 file changed, 1 insertion(+)
>>
>> diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig
>> index 0df64a6a56d4..9fe7a7f4c94c 100644
>> --- a/arch/arm64/Kconfig
>> +++ b/arch/arm64/Kconfig
>> @@ -119,6 +119,7 @@ config ARM64
>> select PCI_ECAM if ACPI
>> select POWER_RESET
>> select POWER_SUPPLY
>> + select REFCOUNT_FULL
>
> Umm... That does a bit more than "on by default", unless I'm
> misreading it. More like "on, and you can't opt out"...
True, I should rephrase it to say "arm64 maintainers perfer to use
REFCOUNT_FULL unconditionally".
-Kees
--
Kees Cook
Pixel Security
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2017-09-21 17:52 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-09-20 20:49 [PATCH] arm64: Always use REFCOUNT_FULL Kees Cook
2017-09-20 22:44 ` Ard Biesheuvel
2017-09-21 17:45 ` Al Viro
2017-09-21 17:52 ` Kees Cook
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).