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

From: Linus Torvalds (
Date: Mon Dec 09 2002 - 12:57:52 EST

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 ;)


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

This archive was generated by hypermail 2b29 : Sun Dec 15 2002 - 22:00:15 EST