diff options
Diffstat (limited to 'conform/linknamespace.py')
-rw-r--r-- | conform/linknamespace.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/conform/linknamespace.py b/conform/linknamespace.py index 8bc42be..d099cac 100644 --- a/conform/linknamespace.py +++ b/conform/linknamespace.py @@ -2,7 +2,7 @@ # Check that use of symbols declared in a given header does not result # in any symbols being brought in that are not reserved with external # linkage for the given standard. -# Copyright (C) 2014-2024 Free Software Foundation, Inc. +# Copyright (C) 2014-2025 Free Software Foundation, Inc. # This file is part of the GNU C Library. # # The GNU C Library is free software; you can redistribute it and/or @@ -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. |