Changes between Initial Version and Version 1 of Ticket #58160, comment 15
- Timestamp:
- Mar 10, 2019, 9:33:59 PM (5 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #58160, comment 15
initial v1 5 5 To 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. 6 6 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'tbuild.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 harder to build. 8 8 9 9 SO -- that's where we are. Can you help?