Re: [PATCH] compatibility syscall layer (lets try again)

Linus Torvalds (torvalds@transmeta.com)
Mon, 9 Dec 2002 09:57:52 -0800 (PST)


On Mon, 9 Dec 2002, Jim Houston wrote:
>
> Either I'm missing something or this is broken if there is ever
> more than one restart function involved. You save the arguments
> to the register state that gdb saves but not the restart function
> address. In the nested case this would call one restart function
> with the arguments of another.

That's true. Scratch this patch - it's too painful on ia64 anyway, and it
doesn't nest correctly in the first place. We'd need to save off the
"restarted system call number" in user space too to get proper nesting,
just saving the arguments isn't enough.

So we're just going to have to live with the fact that restarting doesn't
nest. I think the gdb example by Daniel was interesting, but perhaps not
all that important ;)

Linus

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/