In a Linux user space process what is the address of the vsyscall page?
Posted
by TomMD
on Stack Overflow
See other posts from Stack Overflow
or by TomMD
Published on 2010-03-08T18:31:37Z
Indexed on
2010/03/08
22:06 UTC
Read the original article
Hit count: 220
I would like to acquire the address of the vsyscall page for my own uses. I only have two ideas here: alter the compiler to store this information in some known location after it is given to __start, or read /proc/[pid]/maps. I really don't want to read /proc/ as that is slow and shouldn't be necessary. I also don't want to make compiler modifications. Does anyone have an alternative? Is there a symbol I should know about?
Its at the point I'm tempted to stuff this functionality into an ioctl call in a module I've developed as part of this work!
© Stack Overflow or respective owner