acadia-newlib/newlib/libc/posix
Corinna Vinschen 935c33877d 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>
2022-01-12 11:57:35 +01:00
..
COPYRIGHT
Makefile.am newlib: migrate from INCLUDES to AM_CPPFLAGS 2022-01-05 20:29:53 -05:00
Makefile.in newlib: migrate from INCLUDES to AM_CPPFLAGS 2022-01-05 20:29:53 -05:00
_isatty.c ansification: remove _DEFUN 2018-01-17 11:47:26 -06:00
cclass.h Use remove-advertising-clause script to edit BSD licenses 2020-01-29 19:03:31 +01:00
closedir.c Use remove-advertising-clause script to edit BSD licenses 2020-01-29 19:03:31 +01:00
cname.h Use remove-advertising-clause script to edit BSD licenses 2020-01-29 19:03:31 +01:00
collate.c Throughout, run newlib with -Wall -Werror option and fix bugs and 2012-08-08 11:04:18 +00:00
collate.h
collcmp.c
creat.c ansification: remove _DEFUN 2018-01-17 11:47:26 -06:00
dirfd.c Add generic implementation of dirfd() 2018-10-11 08:29:16 +02:00
engine.c * libc/include/sys/features.h (__GNUC_PREREQ): Define. Use 2012-10-16 18:45:24 +00:00
execl.c ansification: remove _HAVE_STDC 2018-01-17 11:47:30 -06:00
execle.c ansification: remove _HAVE_STDC 2018-01-17 11:47:30 -06:00
execlp.c ansification: remove _HAVE_STDC 2018-01-17 11:47:30 -06:00
execv.c ansification: remove _DEFUN 2018-01-17 11:47:26 -06:00
execve.c ansification: remove _DEFUN 2018-01-17 11:47:26 -06:00
execvp.c ansification: remove _DEFUN 2018-01-17 11:47:26 -06:00
fnmatch.3 Use remove-advertising-clause script to edit BSD licenses 2020-01-29 19:03:31 +01:00
fnmatch.c
ftw.c FTW Port for Newlib 2021-02-09 11:07:59 +01:00
glob.3 Use remove-advertising-clause script to edit BSD licenses 2020-01-29 19:03:31 +01:00
glob.c 2013-11-21 Julio Gutierrez <jgutleyva@gmail.com> 2013-11-21 17:04:57 +00:00
isatty.c ansification: remove _DEFUN 2018-01-17 11:47:26 -06:00
namespace.h
nftw.c nftw: fix thread cancellation support 2021-09-03 12:26:17 +02:00
opendir.c Use remove-advertising-clause script to edit BSD licenses 2020-01-29 19:03:31 +01:00
popen.c ansification: remove _DEFUN 2018-01-17 11:47:26 -06:00
posix.tex Use source files which have makedoc markup, but aren't processed or included. 2015-06-24 12:24:01 +01:00
posix_spawn.c posix_spawn: fix get/set uid/gid calls for 32 bit Cygwin 2022-01-12 11:57:35 +01:00
readdir.c Use remove-advertising-clause script to edit BSD licenses 2020-01-29 19:03:31 +01:00
readdir_r.c Use remove-advertising-clause script to edit BSD licenses 2020-01-29 19:03:31 +01:00
regcomp.c 2013-11-20 Chirayu Desai <chirayudesai1@gmail.com> 2013-11-20 16:25:50 +00:00
regerror.c 2013-11-20 Chirayu Desai <chirayudesai1@gmail.com> 2013-11-20 16:25:50 +00:00
regex.3 Use remove-advertising-clause script to edit BSD licenses 2020-01-29 19:03:31 +01:00
regex2.h Use remove-advertising-clause script to edit BSD licenses 2020-01-29 19:03:31 +01:00
regexec.c 2013-11-20 Chirayu Desai <chirayudesai1@gmail.com> 2013-11-20 16:25:50 +00:00
regfree.c
rewinddir.c Use remove-advertising-clause script to edit BSD licenses 2020-01-29 19:03:31 +01:00
rune.h
runetype.h
scandir.c scandir: Add support for struct dirent::d_type 2019-02-01 10:37:00 +01:00
seekdir.c Use remove-advertising-clause script to edit BSD licenses 2020-01-29 19:03:31 +01:00
sleep.c
sysexits.h
telldir.c Use remove-advertising-clause script to edit BSD licenses 2020-01-29 19:03:31 +01:00
un-namespace.h
usleep.c
utils.h Use remove-advertising-clause script to edit BSD licenses 2020-01-29 19:03:31 +01:00
wordexp.c newlib: wordexp: drop dangerous fprintf 2018-08-08 10:50:19 +02:00
wordexp2.h * libc/posix/wordfree.c (wordfree): The wrong words are freed 2012-10-09 12:05:51 +00:00
wordfree.c * libc/posix/wordfree.c (wordfree): The wrong words are freed 2012-10-09 12:05:51 +00:00