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

From: Martin Schwidefsky (
Date: Tue Dec 10 2002 - 03:42:06 EST

> Put the magic restart_block syscall at some fixed place in every
> user process, change the PC to that. Or, alternatively, put the
> restart_block syscall insn on the stack and point the PC at that.
> This isn't rocket science :-)

Something like that was my first though as well. I would have played
games with return addresses inside the kernel instead of user space.
The idea to have another _TIF_xxx flag seems much cleaner though and
I want the cleanest solution for this. Once this is implemented every
system call can be restarted with a different system call number. Who
knows what other uses this might have?

blue skies,

Linux/390 Design & Development, IBM Deutschland Entwicklung GmbH
Schönaicherstr. 220, D-71032 Böblingen, Telefon: 49 - (0)7031 - 16-2247

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:17 EST