Hacker News new | ask | show | jobs
by nwmcsween 3392 days ago
You just described the old method Linux used that was vulnerable to info leaks iirc and why it now a vDSO
1 comments

The Solaris method doesn't have the problem the other implementation did.
How does solaris find the page? If it's mapped to a fixed address then it does have that problem.
The default is to map the shared page to a randomized, available address within the process space.

libc gets the address of the page by looking it up in an auxiliary vector table that belongs to the process.