I was reminded today of how darned well Windows handles relocations and Address Space Layout Randomization. Relocations are 2 bytes each (24 bytes each for Linux) and relocated pages are shared (not shared on Linux). So, ASLR is almost free on Windows, which is good for security
-
-
Yep, fair. Note that on Linux some multi-process systems (including Chrome) use a zygote to get shared code pages, thus trading some security for memory, but without the convenience. Also, it's weird that Linux uses 24 bytes per relocation instead of 2. No security gain there.
-
I'm confused now. "shared code pages"? executable code pages should always be shared on Linux (modulo weird stuff like debugging or uprobes). the sharing you get through the zygote should only be stuff like the GOT (and obviously heap state and such).
- 3 more replies
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.