detecting ctrl-c

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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)?.

thanks alot!
lars

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux