lkml.org 
[lkml]   [2002]   [Dec]   [4]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateWed, 4 Dec 2002 12:07:11 -0800 (PST)
FromLinus Torvalds <>
SubjectRe: [PATCH] compatibility syscall layer (lets try again)
On Wed, 4 Dec 2002, george anzinger wrote:
> 
> As a suggestion for a solution for this, is it true that
> regs, on a system call, will ALWAYS be at the end of the
> stack?

No. Some architectures do not save enough state on the stack by default, 
and need to do more to use do_signal(). Look at alpha, for example - the 
default kernel stack doesn't contain all tbe registers needed, and 
the alpha do_signal() calling convention is different.

If you want to handle do_signal(), then you need to do _all_ of this in 
architecture-specific files. You simply cannot do what you want to do in a 
generic way.

		Linus

-
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 12:31    [W:1.593 / U:0.400 seconds]
©2003-2008 Jasper Spaans