Re: [suspend/resume] Re: userspace notification from module

From: Daniel Borkmann
Date: Sat Jan 02 2010 - 10:16:00 EST


Hi BartÅomiej,

2010/1/2 BartÅomiej ZimoÅ <uzi18@xxxxx>
>
> This looks like more simple and could be good, after all i think about sending this
> module here to add to kernel. So if this solution could be ok i will start to code this part.
>
> Question is now what signal to choose to not terminate process and to be compatible
> with rest of Linux kernel?

Have a look at linux/signal.h. There's a section for non-POSIX
signals. May be you
could add a SIGSUS or sth similar into that list with a free signal
number to stay
compatible with the rest of the numbers.

Cool thing is that you now will have a kind of "observer" principle:
Don't call us, we call you ;)

Cheers,
Daniel Borkmann
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/