Changes between Initial Version and Version 1 of Ticket #58160, comment 15


Ignore:
Timestamp:
Mar 10, 2019, 9:33:59 PM (5 years ago)
Author:
kencu (Ken)
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #58160, comment 15

    initial v1  
    55To implement the function in general is turning out to be much harder than you would think. That information (full path for a PID) is just not easily there on Tiger.
    66
    7 There are two good places to look -- both `ps` and `lsof` implement something similar without use `proc_pidpath` to do it. `ps` is approachable enough -- builds easily for me on Tiger with the existing sources on Apple's site. `lsof` does a better job, but is a real bear -- uses a lot of `xnu kernel` headers which have been all messed up (on purpose it looks like) and just won't build.
     7There are two good places to look -- both `ps` and `lsof` implement something similar without use `proc_pidpath` to do it. `ps` is approachable enough -- builds easily for me on Tiger with the existing sources on Apple's site. `lsof` does a better job, but is harder to build.
    88
    99SO -- that's where we are. Can you help?