From ee1a8b336d30476e9635a6826f61a99fc3604159 Mon Sep 17 00:00:00 2001 From: Christian Heimes Date: Fri, 14 Jan 2022 19:48:44 +0200 Subject: [PATCH] bpo-40280: Block more syscalls that are causing crashes in tests (GH-30601) --- Tools/wasm/config.site-wasm32-emscripten | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/Tools/wasm/config.site-wasm32-emscripten b/Tools/wasm/config.site-wasm32-emscripten index ce9dec7ecf6..c15e4fc6b64 100644 --- a/Tools/wasm/config.site-wasm32-emscripten +++ b/Tools/wasm/config.site-wasm32-emscripten @@ -45,9 +45,10 @@ ac_cv_func_socketpair=no ac_cv_func_utimensat=no ac_cv_func_sigaction=no -# Untested syscalls in emscripten +# Untested or failing syscalls in emscripten ac_cv_func_openat=no ac_cv_func_mkdirat=no +ac_cv_func_faccessat=no ac_cv_func_fchownat=no ac_cv_func_renameat=no ac_cv_func_linkat=no @@ -71,5 +72,10 @@ ac_cv_header_sys_ioctl_h=no # sockets are supported, but only in non-blocking mode # ac_cv_header_sys_socket_h=no -# Unsupported functionality -#undef HAVE_PTHREAD_H +# aborts with bad ioctl +ac_cv_func_openpty=no +ac_cv_func_forkpty=no + +# To use dlopen, you need to use Emscripten's linking support, +# see https://github.com/emscripten-core/emscripten/wiki/Linking) +ac_cv_func_dlopen=no