What i think Talib wants is to catch specific signal
signal_pending(current) will return true if *any* signal is pending for
this process. What Talib wants is a function like
spec_signal_pending(current, SIGTERM) for example looking to definition of
struct sigpending at:
http://lxr.linux.no/source/include/linux/signal.h#L28
which is part of task_struct, can we check the struct "sigpending" looking
for the signal we are interested
in any one CMIIW please
You are correct.
I was wondering if there is a standard practice of soing this?
Usman
_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today - it's FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive: http://mail.nl.linux.org/kernelnewbies/
FAQ: http://kernelnewbies.org/faq/