Re: prelink should not mess with running executables

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 07/17/2012 12:38 AM, Sam Varshavchik wrote:
> Jan Kratochvil writes:
> 
>> On Sun, 15 Jul 2012 22:42:00 +0200, Sam Varshavchik wrote:
>>> And I wouldn't be so presumptions as to state authoritatively what
>>> is or is not a bug, in something whose purpose is not known to me.
>>
>> Non-existing /proc/self/exe file is a normal UNIX process state so a UNIX
> 
> It is anything but "normal". The "normal" state of things is documented by  
> proc(5). As documented by that man page, rather plainly,  
> readlink("/proc/self/exe") gives you your own pathname.

Yes, it's the pathname that started this process.  Yes, that pathname
may point to file that no longer exists.  That's UNIX.  That's how it
has always worked, and will always work.  Anyone programming in a UNIX
environment has to cope with it.

Andrew.
-- 
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux