3 ms·
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.
by kelnos 6y ago
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.
- makomk 6y agoIf 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.