On Sun, 2004-03-28 at 15:54, Ed L Cashin wrote: > You can't safely make the assumption inside module code, right? If > you want the userland stack pointer, you can get that. > > You don't even know whether the userland binary was compiled from C, > though, so you can't really make any assumptions about the address of > the current userland stack frame. I am just talking about the kernel. Outside of what the architectures ABI mandates, there are no restrictions on or assumptions about what user-space does. Robert Love -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/