summaryrefslogtreecommitdiffstats
path: root/Tools/wasm/config.site-wasm32-emscripten
diff options
context:
space:
mode:
Diffstat (limited to 'Tools/wasm/config.site-wasm32-emscripten')
-rw-r--r--Tools/wasm/config.site-wasm32-emscripten7
1 files changed, 7 insertions, 0 deletions
diff --git a/Tools/wasm/config.site-wasm32-emscripten b/Tools/wasm/config.site-wasm32-emscripten
index 6420edc..a31d60d 100644
--- a/Tools/wasm/config.site-wasm32-emscripten
+++ b/Tools/wasm/config.site-wasm32-emscripten
@@ -43,6 +43,13 @@ ac_cv_func_symlinkat=no
ac_cv_func_lchmod=no
ac_cv_func_lchown=no
+# geteuid / getegid are stubs and always return 0 (root). The stub breaks
+# code that assume effective user root has special permissions.
+ac_cv_func_geteuid=no
+ac_cv_func_getegid=no
+ac_cv_func_seteuid=no
+ac_cv_func_setegid=no
+
# Syscalls not implemented in emscripten
# [Errno 52] Function not implemented
ac_cv_func_preadv2=no