![]() | ||||||||||
Messages in this thread |
> 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 - 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/ | |||||||||
| Last update: 2005-03-22 11:31 [W:0.134 / U:7.460 seconds] ©2003-2008 Jasper Spaans | ||||||||||