Does the on-disk image of an executable ever change?

Ken D'Ambrosio ken at jots.org
Thu Nov 5 10:16:41 EST 2009


A good introduction to prelinking can be found at my favorite source for
all things technical and Linux, Linux Weekly News:

http://lwn.net/Articles/190139/

For those who haven't investigated it, I strongly recommend subscribing.
Jon Corbett -- the editor/publisher/what-have-you -- also happens to be a
kernel hacker, and was even just voted onto the Linux Technical Advisory
Board (where he joins a few other slackers like Alan Cox, Ted Ts'o and
Greg Kroah-Hartman).  The stories are, without exception, in-depth and
well-written.  And it gives the best snapshot out there of what goes on in
kernel development land.

-Ken

On Thu, November 5, 2009 8:34 am, Ben Scott wrote:
> On Thu, Nov 5, 2009 at 8:04 AM, Matt Brodeur <mbrodeur at nexttime.com>
> wrote:
>
>>> I don't think [prelink] writes to the binaries themselves.
>>>
>>
>> It does, but...
>>
>
> Ah.  Good to know.  Thanks.
>
>
> (MS Windows has a similar feature, but keeps the prelink results in
> a different file.  I think this is a rare case of me preferring the
> Microsoft mechanism.  The idea of directly modifying binaries gives me
> the heebie-jeebies.)
>
>> ..."rpm -V" should do a prelink-aware verify.
>>
>
> Well, then, since we're here, what does it mean when "rpm -V"
> indicates "prelink" in the output?  :)   I remember RPM complaining about
> that on at least one of my systems.  *A lot*.
>
> FYI, for anyone playing along at home: I decided I'd rather not have
> the uncertainty, so I disabled all that prelink stuff and removed it. I
> believe the commands were:
>
> prelink -ua rpm --erase prelink
>
> -- Ben
> _______________________________________________
> gnhlug-discuss mailing list gnhlug-discuss at mail.gnhlug.org
> http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/
>
>
> --
> This message has been scanned for viruses and
> dangerous content by MailScanner, and is believed to be clean.
>
>




-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



More information about the gnhlug-discuss mailing list