Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 5 Nov 2010 19:27:43 +0100
From:      Nick Hibma <nick@van-laarhoven.org>
To:        Mark Johnston <markjdb@gmail.com>
Cc:        freebsd-current@freebsd.org
Subject:   Re: [Patch] libfetch - closing the cached FTP connection
Message-ID:  <08D6E625-5BE9-4121-A0D8-8B5BDA20A813@van-laarhoven.org>
In-Reply-To: <20101105152009.GB1437@mark-laptop-bsd.mark-home>
References:  <20101024231119.GA2123@mark-laptop-bsd.mark-home> <20101024231642.GB2123@mark-laptop-bsd.mark-home> <A72115A0-00E4-4FDB-974C-E06D31116794@van-laarhoven.org> <20101105152009.GB1437@mark-laptop-bsd.mark-home>

next in thread | previous in thread | raw e-mail | index | archive | help
> I think using fcntl is nicer than having a "close the cached =
connection"
> function, but I don't think I can get around this problem without
> changing something in libfetch.

I think libfetch should set the Close-On-Exec flag. It's wrong to have =
these files propagate to children.

Nick=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?08D6E625-5BE9-4121-A0D8-8B5BDA20A813>