diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2020-06-11 22:10:07 +0200 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2020-06-11 23:19:34 +0200 |
| commit | 588020678f34b89925fcfbcaf8f635c5850e8e7a (patch) | |
| tree | 0d0467180954d05e261681124088a1025f90cc58 /executor | |
| parent | 829fd56fbf6fc9243f8ac969c7c58172e5adcb45 (diff) | |
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
Diffstat (limited to 'executor')
| -rw-r--r-- | executor/common_linux.h | 4 | ||||
| -rw-r--r-- | executor/executor.cc | 4 |
2 files changed, 4 insertions, 4 deletions
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 |
