Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp1257179pxk; Fri, 18 Sep 2020 07:53:35 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx6Vg4qtH2U3lfDSbUtoUBK5FLroJT6uWKpWLYyl3WttM97nDVa118cUBFN8K8C+dJaSF1d X-Received: by 2002:a17:906:68cd:: with SMTP id y13mr36503091ejr.132.1600440814831; Fri, 18 Sep 2020 07:53:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1600440814; cv=none; d=google.com; s=arc-20160816; b=MHubPYI0/ECijxxJLuD53wYVmUlwHGYyH9QYFp1vmOJ2MTgFjTJcgmSFHH1/AuGjCJ DVjm8w12rR9aWrGS+lPgm06TgsKcYTC4ExnIxH/2fJcg+bsnAqeGUeP2oUhAD67aDxjv p5xP6hMkoDsiI8bzV4VvnHkPCHQFnQooE1J3KxJaZdbCC6f2iGQZfv/UuZTjYsFomDCE z+8v9tCUNAFZTIe9eFbdgeE3GzVuJyA51Rhkvun6JauNMD+vL7KX2ERNVfp9581gDn4A OuEPipEcmX64LqzDpH3nIl0YsvV5SLRPyKqDuEhNhPSeYICmP74UXhYGHwft+hR+2y4e 0JLQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=X9r1LJ5IHB4tO+eevCHgqRIcUhzs90X3pMd15oLbV50=; b=gNhZhn6XQffmPlLCCuUcGSDVjeZaIJGLrssO8KOS5z311pLKg0qtfjwarYFfKOIB8B BVKlTeIF27C0ZmAcS7SL9qz90kgXxAaWAMtfBOl8UFWNxl19mcIubeyf7Xe5hhoQcrQK Zeb6RlaRuWBI9kZhZhJVB13w2wGuqRfzV86izBLEdZzI6cJpThcDj/Y4uiovHx/LlwOU y4/yAKtsi4zRiFb7fZyoM/oyaXKbKoJ1b8489Q96kzq5gnPlsOtobw+uHcHOxh52SN2/ zbcQ9GXmmc32YT4wRmW52g5jUSmAW51imIPGn0H3y6kYTOuXEw5117BBw3+lDL347OFV H7eQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmx.net header.s=badeba3b8450 header.b=MvyM9dGS; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id qx20si2290440ejb.469.2020.09.18.07.53.10; Fri, 18 Sep 2020 07:53:34 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmx.net header.s=badeba3b8450 header.b=MvyM9dGS; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726782AbgIROwJ (ORCPT + 99 others); Fri, 18 Sep 2020 10:52:09 -0400 Received: from mout.gmx.net ([212.227.17.20]:51529 "EHLO mout.gmx.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726518AbgIROwI (ORCPT ); Fri, 18 Sep 2020 10:52:08 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1600440654; bh=X9r1LJ5IHB4tO+eevCHgqRIcUhzs90X3pMd15oLbV50=; h=X-UI-Sender-Class:Date:From:To:Cc:Subject:References:In-Reply-To; b=MvyM9dGSaE2Qu4OxCRARDpeLQCEXLTiK9oWdL7+oNHDfKrbRxI241Bl8y7JwT9yFh 2G8/6yithT+HbJ45GkJq9W0y+bIf3n+oy6tA0WcW4ggnI8gc3/0eQE/D1GRsRlIEk9 O5aCL87AGwcFomuc8PuPDS9NabEghLaahZFaQCCk= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from ubuntu ([79.150.73.70]) by mail.gmx.com (mrgmx104 [212.227.17.174]) with ESMTPSA (Nemesis) id 1MI5UN-1kEfQv1PvD-00FAwA; Fri, 18 Sep 2020 16:50:54 +0200 Date: Fri, 18 Sep 2020 16:50:28 +0200 From: John Wood To: Kees Cook Cc: John Wood , Jann Horn , kernel-hardening@lists.openwall.com, Matthew Wilcox , Jonathan Corbet , Alexander Viro , Ingo Molnar , Peter Zijlstra , Juri Lelli , Vincent Guittot , Dietmar Eggemann , Steven Rostedt , Ben Segall , Mel Gorman , Luis Chamberlain , Iurii Zaikin , James Morris , "Serge E. Hallyn" , linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-security-module@vger.kernel.org Subject: Re: [RFC PATCH 1/6] security/fbfam: Add a Kconfig to enable the fbfam feature Message-ID: <20200918145028.GA3229@ubuntu> References: <20200910202107.3799376-1-keescook@chromium.org> <20200910202107.3799376-2-keescook@chromium.org> <202009101615.8566BA3967@keescook> <20200917175146.GB3637@ubuntu> <202009171504.841FA53@keescook> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <202009171504.841FA53@keescook> X-Provags-ID: V03:K1:gY8Y4R4sUuHKWJ2jglvTEjE03vqvwuBSnyOAPZP94GoGFbF5pda HLgTCJKuuFDOqcy9VoPpcxtTv/1G/BitFmn4E12fNb5xqU8cOZblAYVzc0yFrmvbmNT2EwM AruRuILQu31D7wG/0dIZEZEHIk/fKkgBanEErZE8OmLX7eH8Ih3tny2TK/upzt4mDcFzjNM FK4DlIEJYAvs5m4Fe8vEA== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:lV5Pm0nCUho=:97X2iu6Z5hsHdOIz7eNxRD czB3AqEbHZm4J9lfbEzGO7ZDawxEem1Btuh+QH/EkSsFrPHMofUyHCuSd0oQPIK5Rd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Db6vcWFkzas6VzF9oMooji5oXA6rOGM aUFUNaIPjc0g4zi2q6KXL/8j5iDO8MYgxZildGCfJq/lBfqc4t+1d6zfnSjTQHJI20kawaIig 38KlcxAFATvyLsE0IJa/RPoTLzPoRbitcjehl9g== Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Sep 17, 2020 at 03:05:18PM -0700, Kees Cook wrote: > On Thu, Sep 17, 2020 at 08:40:06PM +0200, John Wood wrote: > > > To jump on the bikeshed: how about just calling this > > > FORK_BRUTE_FORCE_DETECTION or FORK_BRUTE, and the directory could be > > > "brute", etc. "fbfam" doesn't tell anyone anything. > > > > Understood. But how about use the fbfam abbreviation in the code? Like= as > > function name prefix, struct name prefix, ... It would be better to us= e a > > more descriptive name in this scenario? It is not clear to me. > > I don't feel too strongly, but I think having the CONFIG roughly match > the directory name, roughly match the function prefixes should be best. > Maybe call the directory and function prefix "brute"? Thanks for the clarification. > -- > Kees Cook Regards, John Wood