Continuing from my thread with clang questions from Vic Abell <abe_at_purdue.edu> for lsof: Larry, Thanks for forwarding the comments. I would be happy to engage anyone interested in improving lsof's interface to FreeBSD. After having participated in three previous efforts -- HP-UX, Linux and MacOS X -- I think I know the pros and cons of kernel dumpster diving versus an API. It's not at all clear to me which approach is the best. As for the mistaken comment about VOP_WRITE (It was VOP_UNLOCK) -- the reason I needed to know is that clang objected to some of the ZFS header files that used that macro/function without any pre-definition of it. My hunch is that will be true of the standard FreeBSD modules that se VOP_UNLOCK if they were to be compiled with clang. So, see if anyone wants to step up and work with me on an lsof API. Regards, Vic Does anyone want to work with Vic? (I can supply a -CURRENT test box that I keep up-to-date).Received on Fri Nov 09 2012 - 00:01:04 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:32 UTC