scripts: COIL files in scripts/ ('whitelist')

BUG=b:187793358
TEST=CQ

Change-Id: I1b09f7038802783ba73c34d9410706ee3666c47d
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/chromite/+/3327568
Reviewed-by: Mike Frysinger <vapier@chromium.org>
Tested-by: Cindy Lin <xcl@google.com>
Commit-Queue: Cindy Lin <xcl@google.com>
diff --git a/scripts/cros_sdk.py b/scripts/cros_sdk.py
index 479cc14..a904337 100644
--- a/scripts/cros_sdk.py
+++ b/scripts/cros_sdk.py
@@ -419,10 +419,10 @@
 def _SudoCommand():
   """Get the 'sudo' command, along with all needed environment variables."""
 
-  # Pass in the ENVIRONMENT_WHITELIST and ENV_PASSTHRU variables so that
+  # Pass in the ENVIRONMENT_ALLOWLIST and ENV_PASSTHRU variables so that
   # scripts in the chroot know what variables to pass through.
   cmd = ['sudo']
-  for key in constants.CHROOT_ENVIRONMENT_WHITELIST + constants.ENV_PASSTHRU:
+  for key in constants.CHROOT_ENVIRONMENT_ALLOWLIST + constants.ENV_PASSTHRU:
     value = os.environ.get(key)
     if value is not None:
       cmd += ['%s=%s' % (key, value)]