Re: [vdr] [patch] avoid inheritance of file descriptors

2007-12-11 Thread Klaus Schmidinger
On 12/11/2007 08:39 AM, Deti Fliegl wrote: Klaus Schmidinger wrote: Plugins can call SystemExec() just as well when the want to execute an external program. Yes, but would you point every single developer on this issue? IMHO it is no feasible solution to expect every file handle to be

Re: [vdr] [patch] avoid inheritance of file descriptors

2007-12-11 Thread Darren Salt
I demand that Klaus Schmidinger may or may not have written... [snip; FD_CLOEXEC] Why is this suddenly such a big problem? If a plugin wants to run an external program it can simply use SystemExec(). Besides, as Darren Salt pointed out, this flag is apparently only available in the very

Re: [vdr] [patch] avoid inheritance of file descriptors

2007-12-11 Thread Klaus Schmidinger
On 12/11/2007 01:09 PM, Darren Salt wrote: I demand that Klaus Schmidinger may or may not have written... [snip; FD_CLOEXEC] Why is this suddenly such a big problem? If a plugin wants to run an external program it can simply use SystemExec(). Besides, as Darren Salt pointed out, this