[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAGXu5jK_2N+VQ43UC6Fi-umcqjVdmpHpPiAf-Qr+4vL9tWRqFg@mail.gmail.com>
Date: Thu, 21 Sep 2017 10:52:40 -0700
From: Kees Cook <keescook@...omium.org>
To: Al Viro <viro@...iv.linux.org.uk>
Cc: LKML <linux-kernel@...r.kernel.org>,
Catalin Marinas <catalin.marinas@....com>,
Will Deacon <will.deacon@....com>,
"linux-arm-kernel@...ts.infradead.org"
<linux-arm-kernel@...ts.infradead.org>,
Ard Biesheuvel <ard.biesheuvel@...aro.org>,
Li Kun <hw.likun@...wei.com>
Subject: Re: [PATCH] arm64: Always use REFCOUNT_FULL
On Thu, Sep 21, 2017 at 10:45 AM, Al Viro <viro@...iv.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@...aro.org>
>> Cc: hw.likun@...wei.com
>> Cc: Catalin Marinas <catalin.marinas@....com>
>> Cc: Will Deacon <will.deacon@....com>
>> Cc: linux-arm-kernel@...ts.infradead.org
>> Signed-off-by: Kees Cook <keescook@...omium.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
Powered by blists - more mailing lists