![]() | |||||||||||
Messages in this thread Complete thread (EXPERIMENTAL) |
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, Martin Linux/390 Design & Development, IBM Deutschland Entwicklung GmbH Schönaicherstr. 220, D-71032 Böblingen, Telefon: 49 - (0)7031 - 16-2247 E-Mail: schwidefsky@de.ibm.com | ||||||||||
![]() | |||||||||||
| Last update: 2005-03-22 12:31 [W:0.118 / U:0.200 seconds] ©2003-2005 Jasper Spaans | |||||||||||