Hi, I want to alter the program stack before executing some kernel functions. Lets say I have a call chain fa()->fb()->fc()... and I want to change the stack at the point fa()->fb(). I also have an array int static_stack[4096]; For simplicity assume, fb() takes no arguments and 4096*4 bytes is enough for stack space of fb()->fc()... Then should I just not be able to make this work by simply modifying esp? It doesn't seem to work though. Thanx ____________________________________________________________________________________ Cheap talk? Check out Yahoo! Messenger's low PC-to-Phone call rates. http://voice.yahoo.com -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/