[PATCH v2 0/3] Introduce inclusive language in kmod
From: Reuben Varghese <hidden>
Date: 2021-05-18 15:03:52
In July 2020, linux moved to adopt inclusive and neutral language.
This includes replacing words slave/master with alternative terms
like primary/secondary or the words blacklist/whitelist with
blocklist/passlist.
This patchset aims at editing the existing kmod code to make it inclusive.
This is mainly achieved by refactoring the blacklist command to blocklist.
The first and second patch update the term and the documentation respectively.
Since changing blacklist to blocklist and completely removing support for the
term blacklist will most likely break many systems. Temporary support for the
blacklist term is introduced as part of the third patch.
Reuben Varghese (1):
Continue temporary support for Blacklist command
reubenvarghese1 (2):
Refactor all instances of blacklist to blocklist
Update documentation reflecting change from blacklist to blocklist
Makefile.am | 6 +--
NEWS | 12 ++---
libkmod/docs/libkmod-sections.txt | 4 +-
libkmod/libkmod-config.c | 43 +++++++--------
libkmod/libkmod-internal.h | 4 +-
libkmod/libkmod-module.c | 52 +++++++++----------
libkmod/libkmod.h | 12 ++---
libkmod/libkmod.sym | 4 +-
libkmod/python/kmod/_libkmod_h.pxd | 2 +-
libkmod/python/kmod/kmod.pyx | 2 +-
man/modprobe.d.xml | 8 ++-
man/modprobe.xml | 4 +-
testsuite/.gitignore | 6 +--
.../etc/modprobe.d/modprobe.conf | 2 -
.../etc/modprobe.d/modprobe.conf | 2 +
.../{test-blacklist.c => test-blocklist.c} | 12 ++---
tools/insert.c | 6 +--
tools/modprobe.c | 18 +++----
18 files changed, 102 insertions(+), 97 deletions(-)
delete mode 100644 testsuite/rootfs-pristine/test-blacklist/etc/modprobe.d/modprobe.conf
create mode 100644 testsuite/rootfs-pristine/test-blocklist/etc/modprobe.d/modprobe.conf
rename testsuite/{test-blacklist.c => test-blocklist.c} (90%)
--
2.27.0