public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
* Full relro and DSOs
@ 2022-06-14  9:11 Erwan Legrand
  0 siblings, 0 replies; only message in thread
From: Erwan Legrand @ 2022-06-14  9:11 UTC (permalink / raw)
  To: Binutils

Hi all,

Quick question: in order to fully prevent addresses being overwritten
in .got.plt in a Linux AMD64 process, all binaries must be linked with
-z relro and -z now, right?

What happens if the executable was linked with these flags but the
libraries were not? Does the loader perform lazy binding when loading
DSOs in this case? I think it is what the man page suggests, but it is
not crystal clear. (To me at least.)

Thanks,

-Erwan

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-06-14  9:11 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-14  9:11 Full relro and DSOs Erwan Legrand

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).