Bug#547301: [patch] Bug#547301: problems with https on GNU/kFreeBSD

Mike Hommey mh at glandium.org
Thu Sep 24 11:26:25 UTC 2009


On Thu, Sep 24, 2009 at 01:26:28PM +0200, Petr Salinger wrote:
> >>it is not possible to use CHECK_FORK_GETPID implementation.
> >>
> >>It is related to https://bugzilla.mozilla.org/show_bug.cgi?id=508259
> >
> >In that bug, the fix was to add a NSS_NO_FORK_CHECK=1 to Linux2.4.mk.
> >Wouldn't adding the same to FreeBSD.mk be the proper thing to do ?
> 
> I am unsure (it would be Linux2.6.mk with kernel != linux anyway).
> 
> The CHECK_FORK_GETPID implementation does not work for GNU/kFreeBSD
> due to fact threads are process clones, i.e. the getpid() in all
> threads does not return the same number.
> 
> With the patch which enabled CHECK_FORK_PTHREAD implementation,
> the iceweasel/galeon is able to browse https sites.
> 
> As far as I understand, the NSS_NO_FORK_CHECK=1 would be possible
> only on 3.12.4+ and it only dissables the checking.
> Is there an easy way to prove that CHECK_FORK_PTHREAD
> does what is expected for us ?

I think it would be best asking upstream. Do you have a bugzilla account?
It would be easier for you to followup this issue, as you are more prone
to test things ;)

Mike





More information about the pkg-mozilla-maintainers mailing list