Re: [PATCH] CONNECTOR: add a proc entry to list connectors

From: Li Zefan
Date: Mon Jun 23 2008 - 21:59:34 EST


David Miller wrote:
> From: Li Zefan <lizf@xxxxxxxxxxxxxx>
> Date: Tue, 24 Jun 2008 09:30:44 +0800
>
>> I got a problem when I wanted to check if the kernel supports process
>> event connector, and It seems there's no way to do this check.
>
> Try to create a connector socket.
>

Do you mean socket(PF_NETLINK, SOCK_DGRAM, NETLINK_CONNECTOR); ?

But this has nothing to do with process event connector. If it's not
supported, both socket() and bind() return successfully, just I can
recv() nothing.
--
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/