On Tue, 11 Jun 2002, Lars Olsson wrote: > Dear all, > How can I know in a kernel module if a user space process is killed > using for example ctrl-c? Do I need to insert my own interrupt handler > in the signal handler? > > If it exits using using the exit system call I > can intercept the sys_exit system call but is there a better way of > doing this (without doing a kernel patch)?. Looking at the magic SysRq key combo implemntation in the kernel might help. -- I'm an angel!!! Honest! The horns are just there to hold the halo up straight. ^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^ Amit Kucheria EECS Grad. Research Assistant University of Kansas @ Lawrence (R): +1-785-830-8521 ||| (C): +1-785-760-2871 ____________________________________________________ -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/