Re: x86_64: vsyscall vs vdso

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Francis Moreau writes:
 > On 9/17/07, Ulrich Drepper <[email protected]> wrote:
 > > On 9/17/07, Francis Moreau <[email protected]> wrote:
 > > > I think signal trampolines will still need them too. So making
 > > > vsyscalls configurable doesn't seem to work, does it ?
 > >
 > > vsyscalls aren't used for that.  We have a restorer in libc and could
 > > easily use one in the vdso.  That's what is done on x86.
 > >
 > 
 > Sorry for my ignorance but what' is 'a restorer' ?

When the kernel sets up the context for a user-space signal
handler, it needs to supply a return address (in a register
or on the stack). That's the restorer. The restorer points
to a stub that performs sys_{rt_,}sigreturn(). Depending on
architecture and kernel version, the restorer stub can be
defined by libc, or be provided automatically by the kernel.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux