Thread (9 messages) 9 messages, 3 authors, 2012-07-15

[RFC]confusion about syscall

From: Mulyadi Santosa <hidden>
Date: 2012-07-15 17:42:21

Hi...

On Sun, Jul 15, 2012 at 4:18 PM, ?? [off-list ref] wrote:
   thanks for reply.
   and i wander why the address of vsyscall page is not 0xffffe000 in my
system?
address space randomization sometimes put the vsyscall page in much
lower address AFAIK. And it varies per invocation...

But wait, i just recall that your getpid() might contain a jump into
unpatched PLT first. It happens for the first time an external
function is called. On subsequent call, getpid() will jump directly to
the needed address in glibc.

Once I wrote about it....try google...

-- 
regards,

Mulyadi Santosa
Freelance Linux trainer and consultant

blog: the-hydra.blogspot.com
training: mulyaditraining.blogspot.com
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help