Enabling Signals in kernel

julie Sullivan kernelmail.jms at gmail.com
Wed Apr 13 15:30:10 EDT 2011

Hi Vijay

>> Putting this piece of code into a script doesn't catch the signal
>> SIGINT (ctrl+c). To understand if it was a problem with the shell, i
>> wrote a C code to register my own signal handler for SIGINT signal.

Incidentally there is a bug with Bash where ctrl+c isn't caught, see
this discussion on linux-kernel from February:


I doubt if this is your problem though, for as you can see from the
discussion ctrl+c is only sporadically dropped in the shell, usually
it's caught OK.

More information about the Kernelnewbies mailing list