https://github.com/DavidSpickett commented:

> Currently we're creating inheritable (~FD_CLOEXEC) file descriptors in the 
> (few) cases where we need to pass an FD to a subprocess. The problem with 
> these is that, in a multithreaded application such as lldb, there's 
> essentially no way to prevent them from being leaked into processes other 
> than the intended one.

The consequences of this are what exactly?

That the debugee may see differently numbered descriptors when run via lldb vs. 
normally?

https://github.com/llvm/llvm-project/pull/126935
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to