mirror of
https://github.com/sudo-project/sudo.git
synced 2025-08-29 13:28:10 +00:00
Fix logic goof in 05781ba6f1f3, disable replacements when fuzzing.
Not the other way around.
This commit is contained in:
parent
4b0dc2eecb
commit
acee3ea6ef
6
configure
vendored
6
configure
vendored
@ -18118,9 +18118,9 @@ then :
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
# Do not use our replacement functions when fuzzing, it may
|
# Only use our replacement functions when not fuzzing,
|
||||||
# skew the coverage reports.
|
# they may skew the coverage reports.
|
||||||
if test X"$enable_fuzzer" != X"no"; then
|
if test X"$enable_fuzzer" = X"no"; then
|
||||||
# glibc's getentropy() emulation may fail on older kernels.
|
# glibc's getentropy() emulation may fail on older kernels.
|
||||||
# We use our own getentropy() by default on Linux.
|
# We use our own getentropy() by default on Linux.
|
||||||
: ${ac_cv_func_getentropy='no'}
|
: ${ac_cv_func_getentropy='no'}
|
||||||
|
@ -2092,9 +2092,9 @@ case "$host" in
|
|||||||
# We call getrandom via syscall(3) in case it is not in libc
|
# We call getrandom via syscall(3) in case it is not in libc
|
||||||
AC_CHECK_HEADERS([linux/random.h sys/syscall.h])
|
AC_CHECK_HEADERS([linux/random.h sys/syscall.h])
|
||||||
|
|
||||||
# Do not use our replacement functions when fuzzing, it may
|
# Only use our replacement functions when not fuzzing,
|
||||||
# skew the coverage reports.
|
# they may skew the coverage reports.
|
||||||
if test X"$enable_fuzzer" != X"no"; then
|
if test X"$enable_fuzzer" = X"no"; then
|
||||||
# glibc's getentropy() emulation may fail on older kernels.
|
# glibc's getentropy() emulation may fail on older kernels.
|
||||||
# We use our own getentropy() by default on Linux.
|
# We use our own getentropy() by default on Linux.
|
||||||
: ${ac_cv_func_getentropy='no'}
|
: ${ac_cv_func_getentropy='no'}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user