diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2022-01-12 11:57:35 +0100 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2022-01-12 11:57:35 +0100 |
commit | 935c33877d5b17c1335d91f20252333b0e54bf5f (patch) | |
tree | 33f3c99e44864f913648b72632794fd036c9be03 /winsup/cygwin/release/3.3.4 | |
parent | f574c30857aa10debf5dbb93a4fa0309226c5795 (diff) | |
download | newlib-935c33877d5b17c1335d91f20252333b0e54bf5f.zip newlib-935c33877d5b17c1335d91f20252333b0e54bf5f.tar.gz newlib-935c33877d5b17c1335d91f20252333b0e54bf5f.tar.bz2 |
posix_spawn: fix get/set uid/gid calls for 32 bit Cygwin
32 bit Cygwin still exports function calls to support old applications.
E. g., when switching from 16 to 32 bit uid/gid values, new function
like getuid32 have been added and the old getuid function still only
provides 16 bit values. Newly built applications using getuid are
actually calling getuid32.
However, this link magic isn't performed inside Cygwin itself, so if
newlib functions call getuid, they actually call the old getuid, not
the new getuid32. This leads to truncated uid/gid values.
https://cygwin.com/pipermail/cygwin/2022-January/250453.html reports
how this leads to problems in posix_spawn.
Fix this temporarily. i686 support will go away soon in Cygwin and the
fix can be dropped.
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
Diffstat (limited to 'winsup/cygwin/release/3.3.4')
-rw-r--r-- | winsup/cygwin/release/3.3.4 | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/winsup/cygwin/release/3.3.4 b/winsup/cygwin/release/3.3.4 index 1982df0..7c37a57 100644 --- a/winsup/cygwin/release/3.3.4 +++ b/winsup/cygwin/release/3.3.4 @@ -20,3 +20,6 @@ Bug Fixes - Ignore INHERIT ACEs when reading the DACL of non-directory files. Addresses: https://cygwin.com/pipermail/cygwin/2022-January/250363.html + +- Fix an "Invalid argument" problem in posix_spawn on i686. + Addresses: https://cygwin.com/pipermail/cygwin/2022-January/250453.html |