Re: [Ksummit-discuss] [PATCH v3] CodingStyle: Inclusive Terminology

From: Takashi Iwai
Date: Tue Jul 14 2020 - 02:43:17 EST


On Tue, 14 Jul 2020 06:39:49 +0200,
josh@xxxxxxxxxxxxxxxx wrote:
>
> On Mon, Jul 13, 2020 at 10:02:24AM +0200, 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...
>
> I find that "blocklist" works well as a verb: "foo is blocklisted",
> "blocklist foo", or in some cases just "block foo" or "deny foo". For
> the second case, phrasings like "allow loading non-safelisted cards" or
> "allow loading cards not on the passlist" seem clear.

Yes, that makes sense. I have wished some simple replacement with
sed, but it seems that it'd be better to rephrase such texts in
anyway.


thanks,

Takashi