summaryrefslogtreecommitdiff
path: root/t/t4013/diff.diff_initial..side
diff options
context:
space:
mode:
authorPaul Tarjan <github@paulisageek.com>2026-04-15 13:27:33 +0000
committerJunio C Hamano <gitster@pobox.com>2026-04-15 08:44:33 -0700
commit50dc89cdfb6d8495853ceac4801c1cca9cd4ce38 (patch)
treee957aa91df504ac65cf9ddd236fb0d4e7c9e7020 /t/t4013/diff.diff_initial..side
parentce48de8b2c85a4e5cbeb5dd1f2cfe042dd5392e4 (diff)
run-command: add close_fd_above_stderr option
Add a close_fd_above_stderr flag to struct child_process. When set, the child closes file descriptors 3 and above between fork and exec (skipping the child-notifier pipe), capped at sysconf(_SC_OPEN_MAX) or 4096, whichever is smaller. This prevents the child from inheriting pipe endpoints or other descriptors from the parent environment (e.g., the test harness). Signed-off-by: Paul Tarjan <github@paulisageek.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4013/diff.diff_initial..side')
0 files changed, 0 insertions, 0 deletions