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

Keith Owens (kaos@ocs.com.au)
Wed, 11 Dec 2002 01:40:25 +1100


On Mon, 9 Dec 2002 18:56:30 +0100,
"Martin Schwidefsky" <schwidefsky@de.ibm.com> wrote:
>
>> Well, that is tricky independently of the actual argument stuff - even
>the
>> _current_ system call restart ends up being tricky for you in that case,
>I
>> suspect. The current one already basically depends on rewriting the
>system
>> call number, it just leaves the arguments untouched.
>
>The current system call restart doesn't change the system call number. We just
>substract two from the psw address (aka eip) and go back to user space.

EX R1,syscall - instruction length is 4, not 2.

-
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/