aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <philmd@redhat.com>2021-03-03 19:46:40 +0100
committerLaurent Vivier <laurent@vivier.eu>2021-03-09 22:13:32 +0100
commit75ae7c465dfa51ca603584717b144f6fe68cd112 (patch)
tree99c23ccf8bc28597a4902207932c6cb85336ddee
parentc64b1d40d6f266dab1362c6eccfda7f3c164d680 (diff)
downloadqemu-75ae7c465dfa51ca603584717b144f6fe68cd112.zip
qemu-75ae7c465dfa51ca603584717b144f6fe68cd112.tar.gz
qemu-75ae7c465dfa51ca603584717b144f6fe68cd112.tar.bz2
ui: Replace the word 'whitelist'
Follow the inclusive terminology from the "Conscious Language in your Open Source Projects" guidelines [*] and replace the words "whitelist" appropriately. [*] https://github.com/conscious-lang/conscious-lang-docs/blob/main/faq.md Reviewed-by: Gerd Hoffmann <kraxel@redhat.com> Reviewed-by: Alex Bennée <alex.bennee@linaro.org> Reviewed-by: Thomas Huth <thuth@redhat.com> Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com> Message-Id: <20210303184644.1639691-2-philmd@redhat.com> Signed-off-by: Laurent Vivier <laurent@vivier.eu>
-rw-r--r--ui/console.c2
-rw-r--r--ui/vnc-auth-sasl.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/ui/console.c b/ui/console.c
index 171a7bf..c2fdf97 100644
--- a/ui/console.c
+++ b/ui/console.c
@@ -1724,7 +1724,7 @@ bool dpy_gfx_check_format(QemuConsole *con,
return false;
}
} else {
- /* default is to whitelist native 32 bpp only */
+ /* default is to allow native 32 bpp only */
if (format != qemu_default_pixman_format(32, true)) {
return false;
}
diff --git a/ui/vnc-auth-sasl.c b/ui/vnc-auth-sasl.c
index f67111a..df7dc08 100644
--- a/ui/vnc-auth-sasl.c
+++ b/ui/vnc-auth-sasl.c
@@ -288,7 +288,7 @@ static int protocol_client_auth_sasl_step(VncState *vs, uint8_t *data, size_t le
goto authreject;
}
- /* Check username whitelist ACL */
+ /* Check the username access control list */
if (vnc_auth_sasl_check_access(vs) < 0) {
goto authreject;
}
@@ -409,7 +409,7 @@ static int protocol_client_auth_sasl_start(VncState *vs, uint8_t *data, size_t l
goto authreject;
}
- /* Check username whitelist ACL */
+ /* Check the username access control list */
if (vnc_auth_sasl_check_access(vs) < 0) {
goto authreject;
}