In a Linux user space process what is the address of the vsyscall page?
- by TomMD
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!