adding process data to file descriptor structure in Linux

From: ych43 (ych43_at_student.canterbury.ac.nz)
Date: 01/31/05

  • Next message: Herbert Xu: "Re: Memory leak in 2.6.11-rc1?"
    Date:	Mon, 31 Jan 2005 17:12:47 +1300
    To: linux-kernel@vger.kernel.org
    
    

    Hi,
      If it is possible to add some process data to a file descriptor structure in
    Linux? So the file descriptor could either save a list of proc pointers or a
    list of PID values. It this list could be made, then sockets could be easily
    identified using process control block hash table. Does anybody know if it is
    possible?
     thanks

    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/


  • Next message: Herbert Xu: "Re: Memory leak in 2.6.11-rc1?"

    Relevant Pages

    • adding process data to file descriptor structure
      ... In current linux kernel, file descriptors do not include a process data. ... if it is possible to add process data to file descriptor structures in Linux ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: Who changed /proc/<pid>/ in 2.6.0-test5-bk9?
      ... |>file descriptor will return the process group leaders file descriptor, ... /proc/N/task/M/fd would be a symlink to ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: cannot eject drive using pktcdvd
      ... The hal daemon is leaking a file descriptor when ... from non-root users fail. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • RE: Who changed /proc/<pid>/ in 2.6.0-test5-bk9?
      ... If all the co-joined threads of a process share the same file descriptor ... descriptor list but otherwise conjoined data space makes sense. ... send the line "unsubscribe linux-kernel" in ... More majordomo info at http://vger.kernel.org/majordomo-info.html ...
      (Linux-Kernel)
    • Re: [linux-usb-devel] Re: [BUG] oops while completing async USB via usbdevio
      ... > useful contribution to Linux will take the hint. ... > Other than tying up the file descriptor with a blocking read, ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)