aboutsummaryrefslogtreecommitdiff
path: root/posix/fork.c
diff options
context:
space:
mode:
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>2021-07-13 10:46:23 -0300
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>2021-07-13 14:09:03 -0300
commit9ed752af8d6581efec4a4ca9e67b06fa7e7e763a (patch)
tree616a46e7a574ef8e2946c714a709c3dd783e255f /posix/fork.c
parent84ea6ea24bd5bef674ce16a2832dbbe4d514e6d9 (diff)
downloadglibc-9ed752af8d6581efec4a4ca9e67b06fa7e7e763a.zip
glibc-9ed752af8d6581efec4a4ca9e67b06fa7e7e763a.tar.gz
glibc-9ed752af8d6581efec4a4ca9e67b06fa7e7e763a.tar.bz2
posix: Ignore non opened files on tst-spawn5
The make program might open a pipe for its job server, which triggers an invalid check on the spawned process. This patch now passes the lowest file descriptor as ithe first argument, so only the range that was actually opened is checked. Checked on x86_64-linux-gnu and i686-linux-gnu and centos7 (which triggers the issue).
Diffstat (limited to 'posix/fork.c')
0 files changed, 0 insertions, 0 deletions