> I have a question about the communication between Linux kernel, and
> one daemon on that host. What is the better way to let kernel inform
> a daemon something happened. I know signal should work, But somehow
> I do not want to use it. I did not use unix socket before, But since
> unix socket will use a file, It seems it can not be used in kernel.
>
> The problem I ran into looks like this:
>
> Kernel receive a message, this message is not aimed to one application,
> but the kernel needs to handle it, and will pass
> this message to a daemon after the kernel handling. And daemon
> will also handle this message.
See the netlink stuff and associated options, linux/net/netlink/,
grep linux/net/*/* for NETLINK, etc.
-cw
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.altern.org/andrebalsa/doc/lkml-faq.html