]> git.ipfire.org Git - thirdparty/glibc.git/commit
tst-freopen4-main.c: Call support_capture_subprocess with chroot
authorH.J. Lu <hjl.tools@gmail.com>
Sat, 19 Jul 2025 14:43:28 +0000 (07:43 -0700)
committerAndreas K. Hüttel <dilfridge@gentoo.org>
Tue, 5 Aug 2025 11:52:19 +0000 (13:52 +0200)
commit41a77b78cff821007e3dd874619ebec7ce708c3d
treec77d273608eca7762b92f6b3702862401ba5316b
parent9ec7a532ffdb9a6e0a4b220d7a694d6120701035
tst-freopen4-main.c: Call support_capture_subprocess with chroot

Update tst-freopen4-main.c to call support_capture_subprocess with chroot,
which makes temporary files inaccessible, so that temporary files can be
deleted.

This partially fixes BZ #33182.

Signed-off-by: H.J. Lu <hjl.tools@gmail.com>
Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
(cherry picked from commit 6463d4a7b28e5ee3891c34a8a1f0a59c24dfa9de)
stdio-common/tst-freopen4-main.c