Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove offensive terminology #341

Open
ydahhrk opened this issue Sep 2, 2020 · 1 comment
Open

Remove offensive terminology #341

ydahhrk opened this issue Sep 2, 2020 · 1 comment
Labels
Milestone

Comments

@ydahhrk
Copy link
Member

ydahhrk commented Sep 2, 2020

https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=49decddd39e5f6132ccd7d9fdc3d7c470b0061bb:

For symbol names and documentation, avoid introducing new usage of
'master / slave' (or 'slave' independent of 'master') and 'blacklist /
whitelist'.

(...)

Recommended replacements for 'blacklist/whitelist' are:
'denylist / allowlist'
'blocklist / passlist'

Exceptions for introducing new usage is to maintain a userspace ABI/API,
or when updating code for an existing (as of 2020) hardware or protocol
specification that mandates those terms. For new specifications
translate specification usage of the terminology to the kernel coding
standard where possible.

Starting from Jool v4.1.4, "denylist4" will replace "blacklist4," and the latter will become a deprecated alias.

Tentatively, the alias "blacklist4" will be dropped on Jool v5.0.0. (Though it's entirely possible the migration to nftables might negate the necessity for the table.)

Thanks to @dhfelix for reporting this.

@ydahhrk ydahhrk added this to the 5.0.0 milestone Sep 2, 2020
@ydahhrk ydahhrk added Bug Status: Active Development is underway labels Sep 24, 2020
ydahhrk added a commit that referenced this issue Oct 1, 2020
Adds denylist, deprecates "blacklist."

First half of #341.
@ydahhrk
Copy link
Member Author

ydahhrk commented Oct 8, 2020

4.1.4 released; blacklist4 is now deprecated.

Waiting for version 5.0.0...

@ydahhrk ydahhrk removed the Status: Active Development is underway label Oct 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant