Bug#410671: iceweasel: firefox leaks filehandles to external applications

Mike Hommey mh at glandium.org
Sun Oct 2 14:20:25 UTC 2011


tag 410671 + pending
thanks

On Sun, Oct 02, 2011 at 04:12:29PM +0200, Mike Hommey wrote:
> tag 410671 - unreproducible wontfix
> thanks
> 
> On Sun, Oct 02, 2011 at 03:18:07PM +0200, Marc Lehmann wrote:
> > On Sun, Oct 02, 2011 at 01:20:34PM +0200, Jörg Sommer <joerg at alea.gnuu.de> wrote:
> > > how about using O_CLOEXEC when opening files or sockets?
> > 
> > there is no such flag for sockets, nor pipes, but indeed, linux has
> > recently acquired such interfaces, but they are not portable.
> > 
> > fcntl F_SETFD of course works, as well as simply closing all fds not known to
> > be needed.
> 
> See the upstream bug as to why it may or may not possible to use these.

It also turns out that enabling gio should get us to a better state.

Mike





More information about the pkg-mozilla-maintainers mailing list