Re: [GIT]: Sparc

From: David Miller
Date: Wed May 07 2008 - 21:16:26 EST


From: Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx>
Date: Wed, 7 May 2008 17:06:29 -0700 (PDT)

> On Wed, 7 May 2008, David Miller wrote:
> >
> > 1) If fork/clone/etc. errors, argument register %o2 is clobbered
> > breaking syscall restart.
>
> Wow. Do we actually restart fork/clone/etc? That sounds suspicious. Maybe
> there is some other bug here?

do_fork() checks for signals, and returns -ERESTARTNOINTR right
before fully committing itself to the operation.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/