Skip to content

Commit ee1a8b3

Browse files
authored
bpo-40280: Block more syscalls that are causing crashes in tests (GH-30601)
1 parent 73140de commit ee1a8b3

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

Tools/wasm/config.site-wasm32-emscripten

+9-3
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,10 @@ ac_cv_func_socketpair=no
4545
ac_cv_func_utimensat=no
4646
ac_cv_func_sigaction=no
4747

48-
# Untested syscalls in emscripten
48+
# Untested or failing syscalls in emscripten
4949
ac_cv_func_openat=no
5050
ac_cv_func_mkdirat=no
51+
ac_cv_func_faccessat=no
5152
ac_cv_func_fchownat=no
5253
ac_cv_func_renameat=no
5354
ac_cv_func_linkat=no
@@ -71,5 +72,10 @@ ac_cv_header_sys_ioctl_h=no
7172
# sockets are supported, but only in non-blocking mode
7273
# ac_cv_header_sys_socket_h=no
7374

74-
# Unsupported functionality
75-
#undef HAVE_PTHREAD_H
75+
# aborts with bad ioctl
76+
ac_cv_func_openpty=no
77+
ac_cv_func_forkpty=no
78+
79+
# To use dlopen, you need to use Emscripten's linking support,
80+
# see https://github.com/emscripten-core/emscripten/wiki/Linking)
81+
ac_cv_func_dlopen=no

0 commit comments

Comments
 (0)