Re: patching binaries at install time without breaking rpm -V?

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

 



Quoting Michael Jennings <mej@xxxxxxxxx>:

If you would like to propose a portable method of obtaining the path
of the invoked binary 100% of the time (i.e., argv[0] and searching
$PATH are OUT), I'd like to see it.

Hmmmm....  You might try with looking where your txt segments are mapped.  Not
sure how portable the code would be, and if it would work on *every* Unix, Unix
look-alike and variant out there.  But then, is there such thing as portable
code ;-)

# lsof -d txt


----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.


_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/rpm-list

[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux