aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarlos O'Donell <carlos@redhat.com>2025-05-20 07:45:17 -0400
committerCarlos O'Donell <carlos@redhat.com>2025-05-21 12:47:49 -0400
commit6a9df2a4032f3c4cffd0ad6557edcfbb7692acb1 (patch)
tree05054d1fea03e164f7d6b27065ba8e25b0f786e2
parent1b71a7350084891b788952000ff0472cf38d7392 (diff)
downloadglibc-6a9df2a4032f3c4cffd0ad6557edcfbb7692acb1.zip
glibc-6a9df2a4032f3c4cffd0ad6557edcfbb7692acb1.tar.gz
glibc-6a9df2a4032f3c4cffd0ad6557edcfbb7692acb1.tar.bz2
linknamespace: Use 'ALLOWLIST' instead of 'WHITELIST' in code.
Use more inclusive language in code. Reviewed-by: Florian Weimer <fweimer@redhat.com>
-rw-r--r--conform/linknamespace.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/conform/linknamespace.py b/conform/linknamespace.py
index 8447f75..d099cac 100644
--- a/conform/linknamespace.py
+++ b/conform/linknamespace.py
@@ -29,7 +29,7 @@ import tempfile
import glibcconform
-# The following whitelisted symbols are also allowed for now.
+# The following ALLOWLIST symbols are also allowed for now.
#
# * Bug 17576: stdin, stdout, stderr only reserved with external
# linkage when stdio.h included (and possibly not then), not
@@ -38,7 +38,7 @@ import glibcconform
# * Bug 18442: re_syntax_options wrongly brought in by regcomp and
# used by re_comp.
#
-WHITELIST = {'stdin', 'stdout', 'stderr', 're_syntax_options'}
+ALLOWLIST = {'stdin', 'stdout', 'stderr', 're_syntax_options'}
def list_syms(filename):
@@ -94,7 +94,7 @@ def main():
with open(args.stdsyms, 'r') as stdsyms_file:
for line in stdsyms_file:
stdsyms.add(line.rstrip())
- stdsyms |= WHITELIST
+ stdsyms |= ALLOWLIST
# Load information about GLOBAL and WEAK symbols defined or used
# in the standard libraries.