]> sourceware.org Git - glibc.git/commit
posix: Ignore non opened files on tst-spawn5
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>
Tue, 13 Jul 2021 13:46:23 +0000 (10:46 -0300)
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>
Tue, 13 Jul 2021 17:09:03 +0000 (14:09 -0300)
commit9ed752af8d6581efec4a4ca9e67b06fa7e7e763a
tree616a46e7a574ef8e2946c714a709c3dd783e255f
parent84ea6ea24bd5bef674ce16a2832dbbe4d514e6d9
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).
posix/tst-spawn5.c
This page took 0.042398 seconds and 5 git commands to generate.