lkml.org 
[lkml]   [2002]   [Dec]   [10]   [last100]   RSS-feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
Complete thread (EXPERIMENTAL)
/
SubjectRe: [PATCH] compatibility syscall layer (lets try again)
From"Martin Schwidefsky" <>
DateTue, 10 Dec 2002 09:42:06 +0100
Digg This

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


\
ISP Services
Valid XHTML 1.0!\ /
Valid CSS! Last update: 2005-03-22 12:31    [W:0.118 / U:0.200 seconds]
©2003-2005 Jasper Spaans