Regarding select() on PPC

Sadashiiv, Halesh halesh.sadashiv at ap.sony.com
Sat Sep 20 00:28:09 EST 2008



>-----Original Message-----
>From: Josh Boyer [mailto:jwboyer at gmail.com]
>Sent: Friday, September 19, 2008 7:49 PM
>To: Sadashiiv, Halesh
>Cc: linuxppc-embedded at ozlabs.org
>Subject: Re: Regarding select() on PPC
>
>On Fri, Sep 19, 2008 at 07:00:07PM +0530, Sadashiiv, Halesh wrote:
>>>For negetive value of n (first argument to select) select fails with
>>EINVAL
>>>error,
>>>
>>>But for the same when I tested for PowerPC it was giving EFAULT,
>>>Its on 2.6.16 kernel.
>
>2.6.16 is really old.  I tested your testcase on a 2.6.25 based kernel
on
>a ppc64 machine and it seemed to work fine.
>
>josh


Thanks for the info,

I am using PPC32, I think it doest not matters on 2.6.16 as I manually
checked the select source with 2.6.23 and no changes seen.
&
Even the same testcase passes on MIPS32 with 2.6.16.

Thanks
Halesh




-------------------------------------------------------------------
This email is confidential and intended only for the use of the individual or entity named above and may contain information that is privileged. If you are not the intended recipient, you are notified that any dissemination, distribution or copying of this email is strictly prohibited. If you have received this email in error, please notify us immediately by return email or telephone and destroy the original message. - This mail is sent via Sony Asia Pacific Mail Gateway.
-------------------------------------------------------------------



More information about the Linuxppc-embedded mailing list