[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <6f52f5b81001020715i79d2ea1j33443fa50fbb593c@mail.gmail.com>
Date: Sat, 2 Jan 2010 16:15:53 +0100
From: Daniel Borkmann <danborkmann@...glemail.com>
To: Bartłomiej Zimoń <uzi18@...pl>
Cc: linux-kernel@...r.kernel.org
Subject: Re: [suspend/resume] Re: userspace notification from module
Hi Bartłomiej,
2010/1/2 Bartłomiej Zimoń <uzi18@...pl>
>
> 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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists