Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1736982

Re: [PATCH] arm64: Always use REFCOUNT_FULL

From Kees Cook <keescook@chromium.org>
Newsgroups linux.kernel
Subject Re: [PATCH] arm64: Always use REFCOUNT_FULL
Date 2017-09-21 20:00 +0200
Message-ID <usdVv-455-1@gated-at.bofh.it> (permalink)
References <urUgb-855-45@gated-at.bofh.it> <usdLQ-41H-19@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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@huawei.com
>> Cc: Catalin Marinas <catalin.marinas@arm.com>
>> Cc: Will Deacon <will.deacon@arm.com>
>> Cc: linux-arm-kernel@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

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH] arm64: Always use REFCOUNT_FULL Kees Cook <keescook@chromium.org> - 2017-09-20 23:00 +0200
  Re: [PATCH] arm64: Always use REFCOUNT_FULL Ard Biesheuvel <ard.biesheuvel@linaro.org> - 2017-09-21 00:50 +0200
  Re: [PATCH] arm64: Always use REFCOUNT_FULL Al Viro <viro@ZenIV.linux.org.uk> - 2017-09-21 19:50 +0200
    Re: [PATCH] arm64: Always use REFCOUNT_FULL Kees Cook <keescook@chromium.org> - 2017-09-21 20:00 +0200

csiph-web