Messages in this thread | | | Date | Tue, 24 Jun 2008 09:57:19 +0800 | From | Li Zefan <> | Subject | Re: [PATCH] CONNECTOR: add a proc entry to list connectors |
| |
David Miller wrote: > From: Li Zefan <lizf@cn.fujitsu.com> > 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.
| |