Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp704313ybt; Mon, 6 Jul 2020 21:05:51 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx5Gvk3hCv10bbUTZ7usgxMbDmiJr3LW568C84YbyZdmmVhLKcNAD4wui0VLvpbc5MxeZ6v X-Received: by 2002:a17:906:e215:: with SMTP id gf21mr39578549ejb.310.1594094751309; Mon, 06 Jul 2020 21:05:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594094751; cv=none; d=google.com; s=arc-20160816; b=lh7EQ9dhuLHnr/JXDSKP1FiOeA+yWd2Wp3gHDNbw2Zds1WqKOxHGsUm9MAAQPXlBAm 0s9gu8a2dGND/f5NDLIIvGT7b3SpnCFkHieZwNnTHtsScFvRSLPtPk/QtOpQG+ClrfuB rlEyzG0n49cFj96kiUdgCB8sa6LYLXTff4cxG0g/6/luDgq5oOkRkMWNstPSfBA2rfqZ zaImugQ/tk2fID/Zyu0+YX0YFzrSdq+4uRcXWzfHdN9HxLyaP+VRBdw+vmubn0ZcCHyU V1ZyDPlqqUEO2KZFD1VbGtEjUeF3TlOAY3ljGGMIaQoX0Gd8gnwdj6QLMl7oWzJR4CXM Icew== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=6hAZTl6K9ZZJRuBGIigtyyzN/0NQAjksX5TVG0PUHis=; b=VrhlPAar8Im4qsq9V56zAt1HsEI5YY8qN/sdpEoc1ZKARzSfBGxNOXpERjQsm46bIx g5SM26Z3iQCJIrgxX9vYrvxGKf8qkFqKueDZpZTWNdnpX/nyrJi+DDWlahUSmIHX2/as JbCINJTieTyXZFa9psYhEYq3JrFW58kpQvlYkm+/oKhdmzwuXGmCimcPn/+t9mlHOHZT kWDTBbIXUcegwStXK7E6zqYl9DqXjNvF+zEflEMiJHigg6B4bbQbjk4kRZezpe+NXAOt CZzdNFL5SHP8M8IMdzD/wRezjlnVkhCKR0xNQMJMdFIffK85HXKqz1Tbtx03CuD6YNdB WSCw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel-com.20150623.gappssmtp.com header.s=20150623 header.b=Ko2E1qSb; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id c19si9122169ejr.522.2020.07.06.21.05.27; Mon, 06 Jul 2020 21:05:51 -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=@intel-com.20150623.gappssmtp.com header.s=20150623 header.b=Ko2E1qSb; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727874AbgGGEEh (ORCPT + 99 others); Tue, 7 Jul 2020 00:04:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40560 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726879AbgGGEEg (ORCPT ); Tue, 7 Jul 2020 00:04:36 -0400 Received: from mail-ed1-x542.google.com (mail-ed1-x542.google.com [IPv6:2a00:1450:4864:20::542]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B4461C061755 for ; Mon, 6 Jul 2020 21:04:36 -0700 (PDT) Received: by mail-ed1-x542.google.com with SMTP id h28so37237567edz.0 for ; Mon, 06 Jul 2020 21:04:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=6hAZTl6K9ZZJRuBGIigtyyzN/0NQAjksX5TVG0PUHis=; b=Ko2E1qSbx1nPmsdQ2RpYc/VqrXF1Cu5ICoGXOuJxNyDPXqCaBxOcU6CHjE7y2ANaQk ecW473NBRf9zCvXHP8VdmnVSI3S0fy8xmnlfCHQIIFB+kmdslLRxVaL7kmIY3gUKmH9V mYps5GQuD67dAb2WudLc0YUhIDoscm8t876DSC8TIpELsu4XYL3MtQ6XD35/XEeCoo3P 8QeiSdT3mRB6rt6zp6/TaWBnnWSzIghx8Ki817lgozICwcVxPHZo2uj+dHRaKpDwwVsJ rJHbFemch7qSRQSND4Wsmj48BO7oi+445FvlOZcWTSKl36VCEhSo3Pm/to5hbfAmhpCU VZVQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=6hAZTl6K9ZZJRuBGIigtyyzN/0NQAjksX5TVG0PUHis=; b=YHtZSoppO70VAVOQ6T/gVewGYx56uzcPUXUHiC3BFWVDpa6r1Sq9tkLBi9HS4GeFva QO8Koh0bsfE9JaeVjaCPWxg4i9ReDMrGVLRwtnkhlz1PizkgcJs0RwiSdSfqenQjHj7O NXljNQqt+ZOItxpftMIiO3GXZLoj5vdwNAkJ2FuGEDM6zyIdIde0NxbFIYyWK1jQsX0I lyZGNoGblbupUJcks8DHb+mcUi1TGTXG1vBeqJlyL0Pmx5g+SDLuyODG5doUPOkGIrSw kIhVWhNxf+zmh4Vq5TH19gpyKmaMiYyHMM1SG/I7RWnzpAAAsiItuFA4bxRESazwFl5o 1KBQ== X-Gm-Message-State: AOAM5306XFAjO5r+sSZJBs+ZkIgebsfWXonDKjEuEt2dafw9FRPa7dtb 7E4WiX9VzF7BQHR4lgd/lkXz2Nw+UOmCmkNACmFzMA== X-Received: by 2002:aa7:c24d:: with SMTP id y13mr62007695edo.123.1594094675451; Mon, 06 Jul 2020 21:04:35 -0700 (PDT) MIME-Version: 1.0 References: <159389297140.2210796.13590142254668787525.stgit@dwillia2-desk3.amr.corp.intel.com> <79214066-3886-e0ef-f26e-8cb3d53404be@linuxfoundation.org> In-Reply-To: <79214066-3886-e0ef-f26e-8cb3d53404be@linuxfoundation.org> From: Dan Williams Date: Mon, 6 Jul 2020 21:04:24 -0700 Message-ID: Subject: Re: [Tech-board-discuss] [PATCH] CodingStyle: Inclusive Terminology To: Shuah Khan Cc: Linus Torvalds , ksummit , Greg Kroah-Hartman , Linux Kernel Mailing List , tech-board-discuss@lists.linuxfoundation.org, Chris Mason Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jul 6, 2020 at 11:30 AM Shuah Khan wrote: > > On 7/4/20 2:02 PM, Dan Williams wrote: > > Recent events have prompted a Linux position statement on inclusive > > terminology. Given that Linux maintains a coding-style and its own > > idiomatic set of terminology here is a proposal to answer the call to > > replace non-inclusive terminology. > > > > Hi Dan, > > Thanks for taking the time to work on this patch and updating the > coding-style.rst with the with inclusive terminology guidelines and > adding a new document outlining the scope. > > The suggestions you made will help us adapt inclusive terminology > for the current times, and also help us move toward terms that are > intuitive and easier to understand keeping our global developer > community in mind. > > Allowlist/denylist terms are intuitive and action based which have a > globally uniform meaning. > > Terms such as "whitelist" etc are contextual, hence assume contextual > knowledge on the part of the reader. > > A couple comments below: > > > Cc: Jonathan Corbet > > Cc: Kees Cook > > Signed-off-by: Chris Mason > > Signed-off-by: Greg Kroah-Hartman > > Signed-off-by: Dan Williams > > --- > > Documentation/process/coding-style.rst | 12 ++++ > > Documentation/process/inclusive-terminology.rst | 64 +++++++++++++++++++++++ > > Documentation/process/index.rst | 1 > > 3 files changed, 77 insertions(+) > > create mode 100644 Documentation/process/inclusive-terminology.rst > > > > diff --git a/Documentation/process/coding-style.rst b/Documentation/process/coding-style.rst > > index 2657a55c6f12..4b15ab671089 100644 > > --- a/Documentation/process/coding-style.rst > > +++ b/Documentation/process/coding-style.rst > > @@ -319,6 +319,18 @@ If you are afraid to mix up your local variable names, you have another > > problem, which is called the function-growth-hormone-imbalance syndrome. > > See chapter 6 (Functions). > > > > +For symbol names, avoid introducing new usage of the words 'slave' and > > +'blacklist'. Recommended replacements for 'slave' are: 'secondary', > > +'subordinate', 'replica', 'responder', 'follower', 'proxy', or > > +'performer'. Recommended replacements for blacklist are: 'blocklist' or > > +'denylist'. > > allowlist and blocklist or denylist are lot more intuitive than > white/black in any case. Yes, that was interesting to me when I first grappled with this. The replacements are more direct. I was going to go with blocklist/passlist as the common shorthand recommendation, but if a subsystem picks allowlist/denylist as a local custom that's fine too. [..] > Please add my Signed-off-by: Shuah Khan > or Acked-by: Shuah Khan Thanks Shuah.