Aug. 19, 2014
4:02 p.m.
On Tue, 19 Aug 2014 08:38:24 -0700, Loris Degioanni said:
I'm looking for an efficient way to determine the type of an fd (file, socket...) given its number, from a kernel module.
What problem are you trying to solve here? There may be a better API for your problem. So step back - what are you trying to accomplish?