This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] elf: Remove pldd (BZ#18035)


On 4/10/19 4:45 PM, Adhemerval Zanella wrote:


On 10/04/2019 17:41, Adhemerval Zanella wrote:


On 10/04/2019 17:17, Carlos O'Donell wrote:
On 4/10/19 3:04 PM, Adhemerval Zanella wrote:
[...]
This requires python in base runtime, and might not be on a production
container instance.

Ok, the question I have is whether we want to make pldd still poke the loader
internal data structures directly using /proc/<pid>/mem plus ptrace or if we
can use a simplified version by parsing /proc/<pid>/maps (as lsof does).

Another possible caveat that came to my mind of coding pldd by poking on
loader internal data is it ties the pldd to installed glibc (meaning that
a new pldd version might fail on older glibc or vice-versa).

That is 100% OK.

You must not do this. You must use matching tooling.

--
Cheers,
Carlos.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]