[Python-checkins] bpo-40280: Block more syscalls that are causing crashes in tests (GH-30601)

tiran webhook-mailer at python.org
Fri Jan 14 12:48:48 EST 2022


https://github.com/python/cpython/commit/ee1a8b336d30476e9635a6826f61a99fc3604159
commit: ee1a8b336d30476e9635a6826f61a99fc3604159
branch: main
author: Christian Heimes <christian at python.org>
committer: tiran <christian at python.org>
date: 2022-01-14T18:48:44+01:00
summary:

bpo-40280: Block more syscalls that are causing crashes in tests (GH-30601)

files:
M Tools/wasm/config.site-wasm32-emscripten

diff --git a/Tools/wasm/config.site-wasm32-emscripten b/Tools/wasm/config.site-wasm32-emscripten
index ce9dec7ecf6d4..c15e4fc6b64b1 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



More information about the Python-checkins mailing list