summaryrefslogtreecommitdiffstats
path: root/Tools
diff options
context:
space:
mode:
authorChristian Heimes <christian@python.org>2022-01-14 17:48:44 (GMT)
committerGitHub <noreply@github.com>2022-01-14 17:48:44 (GMT)
commitee1a8b336d30476e9635a6826f61a99fc3604159 (patch)
treef5b7ec164d4a46ca2077ded1d250969a6c35a7ff /Tools
parent73140de97cbeb01bb6c9af1da89ecb9355921e91 (diff)
downloadcpython-ee1a8b336d30476e9635a6826f61a99fc3604159.zip
cpython-ee1a8b336d30476e9635a6826f61a99fc3604159.tar.gz
cpython-ee1a8b336d30476e9635a6826f61a99fc3604159.tar.bz2
bpo-40280: Block more syscalls that are causing crashes in tests (GH-30601)
Diffstat (limited to 'Tools')
-rw-r--r--Tools/wasm/config.site-wasm32-emscripten12
1 files changed, 9 insertions, 3 deletions
diff --git a/Tools/wasm/config.site-wasm32-emscripten b/Tools/wasm/config.site-wasm32-emscripten
index ce9dec7..c15e4fc 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