How to catch a signal in kernel module

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

 



 
Hi all,

i have written a kernel module to implement a new routing protocol. it is working fine. i am facing a small problem in catching signal in my module.

Actually i have to catch SIGPWR signal in my module, so that if this signal triggers then i'll get to know that POWER is gone and i hv to broadcast a CONTROL PACKET in the network..

my problem is, how to catch the signal and process it. i want to call a routine node_status_change(.....) when SIGPWR triggers...

can anybody will help me to come out from this problem....

ne suggestion is welcome

Thanx in advance

Nivedan Nigam
MTech CSE
IIT Guwahati
India




[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