Re: File Descriptor

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 2004-11-30 at 15:53 -0800, Greg KH wrote:
> On Tue, Nov 30, 2004 at 03:40:06PM -0800, Usman S. Ansari wrote:
[...]
> > Therefore I do not want to go through (nor I have time) to make a
> > list, maintain a list, etc, but if such a list is already maintained
> > by the kernel, than I can quickly go and do cleanup
> 
> It's already maintained by the kernel, and cleaned up by the kernel if
> userspace closes the device node, or the process goes away.  Nothing
> special needs to be done in the driver.

Oh, the list of open file descriptors of a given process. That's another
intepretation of "my file descriptors".

	Bernd
-- 
Firmix Software GmbH                   http://www.firmix.at/
mobil: +43 664 4416156                 fax: +43 1 7890849-55
          Embedded Linux Development and Services




--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/




[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux