Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp2124885ybh; Fri, 17 Jul 2020 09:50:50 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxh/1EO4XgombyVPlQ9m3CVA4qPCxOr9tC1yTOtfDuzBvlAcZayXpzTeB8myE7j09P1BfMp X-Received: by 2002:a05:6402:1a42:: with SMTP id bf2mr9712109edb.292.1595004649867; Fri, 17 Jul 2020 09:50:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595004649; cv=none; d=google.com; s=arc-20160816; b=SvQfO+4JoK6tJJ2y9jsyzCbWFPE52/EL8UUGLD4WNvDsvIiiqdIHHZEz91ilYvfKha trGZQ1cYrSzyW/UFlC+MPrUlfpu1EdzhT1Le7NlohzkIM7dkiljVAgK2HzCPxkcAjqhx p5wUgln4PbgsRHbr9LAMK/EHTDasLpdka6Z/B63+O3WgmN0dKPTjhgYH+omIW3YNnD5l JJGH2JW3cNA7SpqyLzTX+JNyeL2OrKKVpEsELtG9+BgLYyoLFAZq6WH2Cw1fdR/jEU3n ysIVk/wAoOWKc7NdgpLgvvOByKkVGbUhYZ4o9bd8Mj8iG2MUxYVLtcs7AqnyRkOE7rzx ozbQ== 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=6IoqSoSpkRyjlyBetsIgW7qCyFnw0XTDlbiX067amN4=; b=qFzQQxSsp9A4nj6+5tAvXiJnvyujJqZPU0KDWwUF5jTCOmH8W6s+H6yeqdrri93p9+ c1q5zS2WqQeRs/9v6AFSnpoDyNlJf6e/bkCM69Ezvf1tcxpYQuoUMrNm7JwbcpuBiA0f jsUQzHBgehXgNWPiaEovRL/p8hl35HfS1Oqeft9q28U+mXJ2TLaobKJJBeBghMouTsnc iBwvqR1ebtW1CsKe4KXUWMFKJuwav1kvt0yfbTjRlfbB3jWwtyoDlFnIa81w5UZAVfAN pkcrJR6gb+7t8VjIWcyWG93dRmI5d+/bvAFs/xOG06FJMAjNdAbrqpjAykysoRQSle12 lzrQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=fKmneDpB; 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 t19si5161288ejx.443.2020.07.17.09.50.27; Fri, 17 Jul 2020 09:50:49 -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=fKmneDpB; 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 S1726528AbgGQQri (ORCPT + 99 others); Fri, 17 Jul 2020 12:47:38 -0400 Received: from mail.kernel.org ([198.145.29.99]:34748 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726221AbgGQQrh (ORCPT ); Fri, 17 Jul 2020 12:47:37 -0400 Received: from mail-wm1-f43.google.com (mail-wm1-f43.google.com [209.85.128.43]) (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 9CDC220717 for ; Fri, 17 Jul 2020 16:47:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1595004456; bh=4BXVUwtR/tkd2z02CT+MvIFZaGvYQkEZE2YjNF5AhjE=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=fKmneDpBAiITP5CNK0MU5sUVxFhx7WYh/i+VAwD5D0MAlhGc3diiywNdx5o2yTtW5 H+KLhFy3VdMnFpNiHW/jKjEh0atBDcYJOyKo54ET6m8avkAbC/kJ/pDhU6bjFhG2Dz zRoLQFMLgSMhJVFRgmv5YPh33uYSvFZtuULsnZR4= Received: by mail-wm1-f43.google.com with SMTP id q15so15928090wmj.2 for ; Fri, 17 Jul 2020 09:47:36 -0700 (PDT) X-Gm-Message-State: AOAM530orocKbP3UeO3zG55yidWylczxKkAnn8PqbzX+oVZzK12mNP3h RTOONhHu1kzdOl5GTyBydqma3pYY/wbMlLYMHJlR7Q== X-Received: by 2002:a7b:c09a:: with SMTP id r26mr10027972wmh.176.1595004455229; Fri, 17 Jul 2020 09:47:35 -0700 (PDT) MIME-Version: 1.0 References: <159423201991.2466245.8461410729774664077.stgit@dwillia2-desk3.amr.corp.intel.com> In-Reply-To: From: Andy Lutomirski Date: Fri, 17 Jul 2020 09:47:23 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [Ksummit-discuss] [PATCH v3] CodingStyle: Inclusive Terminology To: Takashi Iwai Cc: Dan Williams , ksummit , Greg Kroah-Hartman , SeongJae Park , LKML , tech-board-discuss@lists.linuxfoundation.org, James Bottomley , Dave Airlie , Christian Brauner , Dan Carpenter 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 13, 2020 at 1:02 AM Takashi Iwai wrote: > > On Wed, 08 Jul 2020 20:14:27 +0200, > Dan Williams wrote: > > > > +Recommended replacements for 'blacklist/whitelist' are: > > + 'denylist / allowlist' > > + 'blocklist / passlist' > > I started looking through the tree now and noticed there are lots of > patterns like "whitelisted" or "blacklisted". How can the words fit > for those? Actually, there are two cases like: > > - Foo is blacklisted > - Allow to load the non-whitelisted cards > > Currently I'm replacing the former with "Foo is in denylist", but not > sure about the latter case. I thought Kees mentioned about this, but > don't remember the proposal... Hmm. In these cases, we're trying to convey one of two things. A given device/platform/CPU/whatever could be known to be problematic and thus disallowed, or we could have a policy that we generally don't trust hardware but we have specific reason to believe that this particular hardware is okay. After doing a highly scientific sampling of a few cases, some of these are indeed lists and some are not. If we're going to look for new words for these concepts, perhaps we shouldn't focus on the *list* aspect -- after all, that's just a rather popular implementation detail, but it's not the core concept we're trying to express. As an example case, we have a horrible concept in which some Intel CPUs support a form of memory failure recovery, and there is no enumeration mechanism. Instead, there's a list (sigh). So we could say "your CPU is whitelisted for such-and-such," which at least gets the idea across, but saying "your CPU is allowlisted for such-and-such" seems like a stretch. It's not that we have a policy to allow things on the list -- it's that we think that CPUs not on the list simply don't have the relevant capability. Here are some brainstormed ideas: - Such-and-such feature is quirked off. (Or disabled due to a quirk.) - Your device is not on the known-good list. - Your device is not known-good. It might work anyway -- to try it, set such-and-such option. - Your device is known bad. - Your device is busted and we think you should pressure the manufacturer to fix it. - Your device is too old and no longer supported. - Seriously, you're trying to use an 80386 on a modern kernel? No thanks. We think it's neat that you still have one that works, though. - (Specifically for modules and not part of the Linux kernel tree) disable_autoload instead of blacklist, perhaps? Part of my point is that we use blacklist and whitelist to mean various things, and I don't think we should try to invent a couple of new catch-all terms to replace them. Perhaps replacing these words could be an opportunity to come up with better descriptions at the same time.