From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751880AbdIURpw (ORCPT ); Thu, 21 Sep 2017 13:45:52 -0400 Received: from zeniv.linux.org.uk ([195.92.253.2]:57230 "EHLO ZenIV.linux.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751636AbdIURpv (ORCPT ); Thu, 21 Sep 2017 13:45:51 -0400 Date: Thu, 21 Sep 2017 18:45:48 +0100 From: Al Viro To: Kees Cook Cc: linux-kernel@vger.kernel.org, Catalin Marinas , Will Deacon , linux-arm-kernel@lists.infradead.org, Ard Biesheuvel , hw.likun@huawei.com Subject: Re: [PATCH] arm64: Always use REFCOUNT_FULL Message-ID: <20170921174548.GM32076@ZenIV.linux.org.uk> References: <20170920204959.GA79741@beast> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170920204959.GA79741@beast> User-Agent: Mutt/1.8.3 (2017-05-23) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 > Cc: hw.likun@huawei.com > Cc: Catalin Marinas > Cc: Will Deacon > Cc: linux-arm-kernel@lists.infradead.org > Signed-off-by: Kees Cook > --- > 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"...