From 588020678f34b89925fcfbcaf8f635c5850e8e7a Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Thu, 11 Jun 2020 22:10:07 +0200 Subject: all: use more respective language Some terms are normalised on the technical level but may be oppressive on a societal level. Replace them with more technically neutral terms. See the following doc for a longer version: https://tools.ietf.org/id/draft-knodel-terminology-00.html --- executor/common_linux.h | 4 ++-- executor/executor.cc | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'executor') diff --git a/executor/common_linux.h b/executor/common_linux.h index b70729987..e4793f421 100644 --- a/executor/common_linux.h +++ b/executor/common_linux.h @@ -3496,13 +3496,13 @@ static void setup_kcsan() } #if SYZ_EXECUTOR // currently only used by executor -static void setup_kcsan_filterlist(char** frames, int nframes, bool blacklist) +static void setup_kcsan_filterlist(char** frames, int nframes, bool ignore) { int fd = open(KCSAN_DEBUGFS_FILE, O_WRONLY); if (fd == -1) fail("failed to open(\"%s\")", KCSAN_DEBUGFS_FILE); - const char* const filtertype = blacklist ? "blacklist" : "whitelist"; + const char* const filtertype = ignore ? "blacklist" : "whitelist"; printf("adding functions to KCSAN %s: ", filtertype); dprintf(fd, "%s\n", filtertype); for (int i = 0; i < nframes; ++i) { diff --git a/executor/executor.cc b/executor/executor.cc index 4e6a37055..bffd0cec2 100644 --- a/executor/executor.cc +++ b/executor/executor.cc @@ -344,9 +344,9 @@ int main(int argc, char** argv) #endif return 0; } - if (argc >= 2 && strcmp(argv[1], "setup_kcsan_blacklist") == 0) { + if (argc >= 2 && strcmp(argv[1], "setup_kcsan_filterlist") == 0) { #if SYZ_HAVE_KCSAN - setup_kcsan_filterlist(argv + 2, argc - 2, /*blacklist=*/true); + setup_kcsan_filterlist(argv + 2, argc - 2, /*ignore=*/true); #else fail("KCSAN is not implemented"); #endif -- cgit mrf-deployment