summaryrefslogtreecommitdiffstats
path: root/Tools
diff options
context:
space:
mode:
authorChristian Heimes <christian@python.org>2022-06-19 18:18:34 (GMT)
committerGitHub <noreply@github.com>2022-06-19 18:18:34 (GMT)
commit10731849184a3101ed18683b0128d689f1671c3f (patch)
tree81b16b717d80c67689abb115d0fe7412952a93bc /Tools
parent15c8838273e1be94dc3f32db21a35f5302ed1a1d (diff)
downloadcpython-10731849184a3101ed18683b0128d689f1671c3f.zip
cpython-10731849184a3101ed18683b0128d689f1671c3f.tar.gz
cpython-10731849184a3101ed18683b0128d689f1671c3f.tar.bz2
[3.11] gh-84461: Fix Emscripten umask and permission issues (GH-94002) (GH-94006)
Co-authored-by: Christian Heimes <christian@python.org>
Diffstat (limited to 'Tools')
-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