RE: [Netnice-kernels] procs/<pid>/sockets submission
Status: Alpha
Brought to you by:
taost6
From: kartikey b. <kar...@ho...> - 2004-10-14 00:35:14
|
hi, when nnfs is mounted only specific subdirectories for pid are created in procs procs dir rather than for all the processes in the system. moreover when the new process is created no directory is created for that process too. the kernel works and boots with fork.c and ip_output.c changes as made by me. the lo interface is also registered successfully. however when an nic driver is built in or linked as a module it crashes. regards, --kartikey >From: Scott Brumbaugh <sco...@ve...> >To: Takashi Okumura <ta...@cs...> >CC: net...@li... >Subject: [Netnice-kernels] procs/<pid>/sockets submission >Date: Wed, 13 Oct 2004 15:51:27 -0700 (PDT) > >Hi, > >I have submitted some more changes to the netnice267 branch. These >changes cleanup the nnfs_netnice.c file and add the beginnings of the >symlinks under the sockets directory. > >It took me a while to figure out how to determine if a file descriptor >that a process has open is a socket vs a regular file. I eventually >came up with an implementation in the function nnfs_socket_readdir. >There will be more work on this function tomorrow but the skeleton is >working. It traverses all the p_vifnet structures and socket file >descriptors for a process and will update /nnfs/procs/<pid>/sockets. > > >Scott B > > > >------------------------------------------------------- >This SF.net email is sponsored by: IT Product Guide on ITManagersJournal >Use IT products in your business? Tell us what you think of them. Give us >Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more >http://productguide.itmanagersjournal.com/guidepromo.tmpl >_______________________________________________ >Netnice-kernels mailing list >Net...@li... >https://lists.sourceforge.net/lists/listinfo/netnice-kernels _________________________________________________________________ Seized by wanderlust? Have the best vacation ever. http://www.msn.co.in/Travel/ Team up with MSN Travel! |