linux-api.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Inode for netlinks in /proc/net/netlink?
@ 2009-01-27 14:41 Dr. Werner Fink
  0 siblings, 0 replies; only message in thread
From: Dr. Werner Fink @ 2009-01-27 14:41 UTC (permalink / raw)
  To: linux-api-u79uwXL29TY76Z2rM5mHXA

Hi,

currently (2.6.27) there seems to be no Inode informations about
the existing netlinks, only the pid of the process who has opened
such a netlink is seen.  Nevertheless, the file descriptor is
passed over to the child of the creator, e.g. after a fork for
a user space daemon like udevd.

Is there any other way to determine which socket found in dir
/proc/<pid>/fd/ is a netlink and also to determine which type
of netlink it is?  The lsof utility reports

     can't identify protocol

for such netlinks.


       Werner

-- 
  "Having a smoking section in a restaurant is like having
          a peeing section in a swimming pool." -- Edward Burr
--
To unsubscribe from this list: send the line "unsubscribe linux-api" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-01-27 14:41 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-27 14:41 Inode for netlinks in /proc/net/netlink? Dr. Werner Fink

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).