in reply to Re: Leaking a file descriptor into a child to use with /proc/self/fd/3
in thread Leaking a file descriptor into a child to use with /proc/self/fd/3
Neat idea, we noticed that PPID still referenced it as well--however if the parent exits before the child uses the FD then it may not be consistent. $^F or fcntl for CLOEXEC is the solution here.
|
|---|