Darwin lsof

Add lsof to Darwin for #28. Linux support Coming Soon(tm).
Sure!

On Fri, Oct 31, 2014 at 8:01 AM, Vincent Maugé <notifications@github.com>
wrote:

> In osquery/tables/system/darwin/processes.cpp:
>
> > @@ -210,24 +145,225 @@ void genProcessEnv(int pid,
> >      std::string value = itr->substr(idx + 1);
> >      env[key] = value;
> >    }
> > +
> > +  return env;
> > +}
> > +
> > +struct OpenFile {
>
> Can you add a field to store the type of file ? This should match your
> different switch case (file, tcp, udp, ...)
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/facebook/osquery/pull/308/files#r19671301>.
>