signal:signalfd catches incoming signals
signal:signalfd:adding signal information awareness

signalfd_siginfo: contains all the signal information.

Verification:

7 8 9 10 [hunter@FedoraCore16 signal]$ ./signalfd
I am 12906
Got SIGTERM
Signal originates from process: 12980
Signal number from process: 15
Got SIGTINT, exiting ...
Signal originates from process: 12980
Signal number from process: 2

[hunter@FedoraCore16 ~]$ python
Python 2.7.3 (default, Jul 24 2012, 11:41:34)
[GCC 4.6.3 20120306 (Red Hat 4.6.3-2)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import os
>>> import signal
>>> print os.getpid()
12980
>>> os.kill(12906, signal.SIGTERM)
>>> os.kill(12906, signal.SIGINT)