Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp690004ybt; Fri, 10 Jul 2020 09:53:34 -0700 (PDT) X-Google-Smtp-Source: ABdhPJynmTeUvBm9R0jaEaUg51FRqK9nj+gbI1r49NWFHfUqxZ8MNk/OOOK2AaaeLE8nR5f0xV6u X-Received: by 2002:a17:906:f49:: with SMTP id h9mr66058216ejj.155.1594400014085; Fri, 10 Jul 2020 09:53:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594400014; cv=none; d=google.com; s=arc-20160816; b=L+sZB5YAiTT0NTsDvq6PrB6IQ1Psyj/h+bcCofSvfNe3MHKik2NKgoZPQntiLUOxk0 dlsRwMSTpudqY7aZl4rNMXSs2E6FugLzG7puRd1j5wDmMhEU90QV+JehdtPK//MGis2u ccGR8Hl8kvN5E5gCpUOx0dPCqUU01aXvd3CVaklvkA3GQGNWOwsAbASwKhppEgbRawD6 zaNAkalyBW0W09xtTLRu9rKESySSAqe+h00LbcU/rUwt4Qnfn+3D1rZHbS8twEZANePo 3+ayCpMvkar447YLdKfyXx563v+pkVrnT4OomHimf6WH98HVVMkaOUFSpUOUNY8Fva6n MO3Q== 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=AT9nucxRnbbpxb992dHh3v7FLIzjyh/3o0kQGFye+dY=; b=WXQnZdD4xbhW2Kb+tQxYiCyk+SXCz881Y4lBCOo7EvwcysrWeGwPy9N4s/4p3VRxj/ 8fan20RhCpGjdYp0oNNobHSazFAnz7j++A6p/eEZq9E8jn9d/UBNZpGR2h9eqYj1R+ki SJCALB5qGrDOegP+eD3KfOhwGRwWjy+o5Z4XjvIpjDpv0ZPQjNVrfwU2BGjJTm/H/pR9 bSnk6T7KVdSH8rtncFeq/7d4oHg/t0h/EHsiADDZiaFgNB8Gaas01PtcaOJp6tVr+2xY JUsF5M1Nnu4j7cmfUiahB8XkDi3ydQapZCz3cfg5eynyDrs9EDf+LnQjfq/VljeO8lH3 dijg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=C7QnMDwe; 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id p6si4316505edx.295.2020.07.10.09.53.10; Fri, 10 Jul 2020 09: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=@kernel.org header.s=default header.b=C7QnMDwe; 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728386AbgGJQwh (ORCPT + 99 others); Fri, 10 Jul 2020 12:52:37 -0400 Received: from mail.kernel.org ([198.145.29.99]:59444 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728341AbgGJQwd (ORCPT ); Fri, 10 Jul 2020 12:52:33 -0400 Received: from mail-wm1-f54.google.com (mail-wm1-f54.google.com [209.85.128.54]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 4DFC620857 for ; Fri, 10 Jul 2020 16:52:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1594399952; bh=/cUKDLPl2jvjdReg3ifbQY1VJUI2VkF7Wamm7bRWSbE=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=C7QnMDweAh3zXfozgOU23mQU1lsF4mwDug4sJ3VIycdsn2HkU1nJEOxfPy/Q96k5M XJbehqF3mSKAekECjJPHKVY/lOhSWjOWqX4rmYVrUNbJNoWNog3vzmTXKfbbVJExl0 ow7s2am7NzB8FF7EL2f6eL76g96VA/VR8ENPLC+Q= Received: by mail-wm1-f54.google.com with SMTP id o8so6836935wmh.4 for ; Fri, 10 Jul 2020 09:52:32 -0700 (PDT) X-Gm-Message-State: AOAM5327VHTTDYJHiq/Fcfk4/aehUVHv+57zTMzMZxXwO0mjgufGaJxh QcCloHhLk6QMoM/eBiVJu0njIw3gxphc6XV0JvwCtQ== X-Received: by 2002:a1c:1b90:: with SMTP id b138mr6024612wmb.21.1594399950758; Fri, 10 Jul 2020 09:52:30 -0700 (PDT) MIME-Version: 1.0 References: <159389297140.2210796.13590142254668787525.stgit@dwillia2-desk3.amr.corp.intel.com> <202007041703.51F4059CA@keescook> In-Reply-To: From: Andy Lutomirski Date: Fri, 10 Jul 2020 09:52:18 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [Ksummit-discuss] [PATCH] CodingStyle: Inclusive Terminology To: Dan Williams Cc: Kees Cook , 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 9:30 PM Dan Williams wrote: > > On Sat, Jul 4, 2020 at 5:41 PM Kees Cook wrote: > > > > On Sat, Jul 04, 2020 at 01:02:51PM -0700, 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. > > > > > > Cc: Jonathan Corbet > > > Cc: Kees Cook > > > Signed-off-by: Chris Mason > > > Signed-off-by: Greg Kroah-Hartman > > > Signed-off-by: Dan Williams > > > > (nit: isn't this a Co-developed-by chain, not a SoB chain?) > > > > Acked-by: Kees Cook > > > > Comments below... > > > > > --- > > > 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'. > > > > Keeping "master" in a "master/slave" pairing (i.e. replacing only > > "slave") seems incomplete to me. If "master" is paired with "slave", it > > should be replaced too. Potential examples: 'primary', 'leader', 'principle', > > 'controller', 'sender', 'initial'. > > Yes, this matches Andy's feedback, will add. > > > Similarly, for "whitelist/blacklist", "whitelist" needs to replaced when > > "blacklist" has been. For example, seccomp documentation[1] uses > > "allow-list" and "deny-list". > > > > [1] https://man7.org/linux/man-pages/man2/seccomp.2.html > > Oh, good to know will make that change. Looks like that change already happened. And the new language is IMO not vastly better than the old language. I'll send a patch.