On Fri, Jun 3, 2011 at 14:10, riku voipio wrote: > On 05/18/2011 03:14 AM, Mike Frysinger wrote: >> Some architectures (like Blackfin) only implement pselect6 (and skip >> select/newselect). So add support for it using existing newselect code. > > There is a blackfin qemu?
i posted it to the list for feedback, but i havent followed up since > Anyways, with this patch pselect01 ltp testcase > starts failing. Looks like (at least on arm), arg6 is set and valid pointer, > but arg7[0] is 0, which quite doesn't work as lock_user read target... > > Checking if arg7==0 and setting sig_ptr to null in that case makes the > testcase to work, but is that correct? looking at the kernel code, it accepts a 6th arg which contains a NULL pointer (and then just ignores it), so i'll do the same -mike