News for hackers. Stuff that matters.
Re:The abysmal state of GNU/Linux and a case against shared ... by tdtd on Monday October 14, 2024 @06:42PM (#41842945)
This is certainly true on Windows, where loaded DLLs share the base addresses across processes even with ASLR enabled, but is it the case on Linux, where ASLR forces randomization of .so base addresses per process, so relocations will make the data in their pages distinct? Or is it the case that on modern architectures with IP-relative addressing (like x64) that relocations are so uncommon that most library pages contain none?
Re:The abysmal state of GNU/Linux and a case against shared ... by saagarjha on Monday October 14, 2024 @07:09PM (#41843167)
Code pages are intentionally designed to stay clean; relocations are applied elsewhere in pages that are different for each process.