Re: vfork test case.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Dec 17, 2009 at 4:40 PM, Berthold Gunreben <b.gunreben@xxxxxx> wrote:
> Hi Carlos,
>
> On Sunday 06 December 2009 22:19:13 Carlos O'Donell wrote:
>> Kyle, James,
>>
>> I have constructed a vfork test case which shows some of the problems
>> I have using vfork reliably. This fails every time on my PA8700 system
>> running 2.6.32-rc6. It appears as though r28 (ret0) in the parent is
>> being corrupted.
>
> this reminds me of a problem with vfork that I encountered some years ago. The
> problem as described in
> http://sourceware.org/ml/libc-alpha/2003-02/msg00042.html
> was fixed for many architectures, but not for hppa as far as I remember. See
> also
> http://sourceware.org/ml/libc-hacker/2003-02/msg00015.html
>
> I have no idea if this is related, but thought it won't hurt to mention this.

That has to do with the assembly not checking the pthread function
lookup table to determine if it should call vfork or pthread's vfork.

In my test case there are no pthread functions calls.

Thanks for the pointer, the fix you point out is no longer needed in nptl.

Cheers,
Carlos.
--
To unsubscribe from this list: send the line "unsubscribe linux-parisc" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux SoC]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux