Hacker News new | past | comments | ask | show | jobs | submit login

On my system, /proc/self/exe is just a symlink to wherever the program is on disk, not a copy or a reference to the image in memory.



If I remember rightly, some of the things in /proc that look like symlinks don't actually behave like them - opening them opens the actual file that the process has open, even if it's been deleted and a new file created at the same location.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: