On Friday 20 August 2010 05:38:17 Eric Paris wrote:
I've never said the fd can't be used for anything. The idea would be to
allow the file to be stat()ed, to poke around in /proc/fd/ in the hope to
get a somewhat useful pathname out, or to use something like xstat() on the
fd one day (David Howells is going to be looking into that).
It would be a good thing to be able to use the same mechanisms for
identifying the file that are available for a "normal" file descriptor.
Nonsense. An overflow event obviously is not associated with any one file,
so that would be the (only) case where you should get an event that doesn't
refer to a file.
Andreas
--