Thread (2 messages) 2 messages, 2 authors, 2002-06-24

Re: sys_syscall patch.

From: Maciej W. Rozycki <hidden>
Date: 2002-06-24 14:45:21

Possibly related (same subject, not in this thread)

On Mon, 24 Jun 2002, Ralf Baechle wrote:
It's in the kernel for no better reason than Risc/OS and IRIX having this
syscall.  Also the glibc syscall implementation was historically broken
wrt. syscall restarting and a few other subtilities.
 Well, userland implementations for other archs seem quite
straightforward.  So should be ours -- we only have to shuffle arguments
appropriately.  Restarting is easy -- we just have to make sure to reload
v0 just before "syscall" reliably (we can use a static register or an
automatic variable to preserve it).  What are the few other subtleties?

 Also I can't see an implementation of syscall() for MIPS/Linux anywhere
in glibc.  What implementation do you refer to?  The Mach one?

 The win is we don't have to mess with user accesses specially -- the
final syscall will handle them. 

-- 
+  Maciej W. Rozycki, Technical University of Gdansk, Poland   +
+--------------------------------------------------------------+
+        e-mail: macro@ds2.pg.gda.pl, PGP key available        +
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help