On Tue, Jun 22, 2010 at 4:20 PM, John David Anglin <dave@xxxxxxxxxxxxxxxxxx> wrote: >> At this point if the parent restores rp from the parents frame it will >> get the rp the child's call to close saved. > > You are right. > >> >> The only way to get around this is to *ensure* the kernel >> saves/restores r2 across the syscall. >> >> I see no other way around it. > > It looks as if r2 is saved for both parent and child. Perfect, in that case we have all the bases covered. I have seen no regressions in my testing, so I will push this patch into glibc-ports, and notify debian. I still saw a hang in tst-vfork2, but I haven't investigated this yet. 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