[all-commits] [llvm/llvm-project] d9c561: Update logic to close inherited file descriptors.

rdhindsa14 via All-commits all-commits at lists.llvm.org
Thu Aug 19 14:42:59 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d9c5613e856cf2addfbf892fc4c1ce9ef9feceaa
      https://github.com/llvm/llvm-project/commit/d9c5613e856cf2addfbf892fc4c1ce9ef9feceaa
  Author: Rumeet Dhindsa <rdhindsa at google.com>
  Date:   2021-08-19 (Thu, 19 Aug 2021)

  Changed paths:
    M lldb/source/Host/posix/ProcessLauncherPosixFork.cpp

  Log Message:
  -----------
  Update logic to close inherited file descriptors.

This patch adds the support to close all inherited fds into the child
process by iterating over /proc/self/fd entries.

Differential Revision: https://reviews.llvm.org/D105732




More information about the All-commits mailing list