Re: [patch 17/26] Xen-paravirt_ops: Add nosegneg capability to the vsyscall page notes

2007-03-16 Thread Roland McGrath
> I'm not quite sure what you're suggesting here though. Do you mean one of: > > NOTE_KERNELCAP_BEGIN(1, 1) > NOTE_KERNELCAP(0, "nosegneg") > NOTE_KERNELCAP_END > > or > > NOTE_KERNELCAP_BEGIN(1, 2) > NOTE_KERNELCAP(1, "nosegneg") > NOTE_KERNELCAP_END > > is the correct thing to use? Yes. (S

Re: [patch 17/26] Xen-paravirt_ops: Add nosegneg capability to the vsyscall page notes

2007-03-16 Thread Jeremy Fitzhardinge
Roland McGrath wrote: > This should be: > > NOTE_KERNELCAP_BEGIN(1, 1) > NOTE_KERNELCAP(0, "nosegneg") > NOTE_KERNELCAP_END > > i.e. 1->0 in the "bit" member. (Note the ld.so.conf.d file must have the > matching bit number for ldconfig-based lookups to do the right thing.) > Or else: > > NOTE_KERN

Re: [patch 17/26] Xen-paravirt_ops: Add nosegneg capability to the vsyscall page notes

2007-03-16 Thread Roland McGrath
> > +NOTE_KERNELCAP_BEGIN(1, 1) > > +NOTE_KERNELCAP(1, "nosegneg") > > +NOTE_KERNELCAP_END This should be: NOTE_KERNELCAP_BEGIN(1, 1) NOTE_KERNELCAP(0, "nosegneg") NOTE_KERNELCAP_END i.e. 1->0 in the "bit" member. (Note the ld.so.conf.d file must have the matching bit number for ldconfig-based

Re: [patch 17/26] Xen-paravirt_ops: Add nosegneg capability to the vsyscall page notes

2007-03-16 Thread Ingo Molnar
i've Cc:-ed Roland and Ulrich, who should make the call on this one. * Jeremy Fitzhardinge <[EMAIL PROTECTED]> wrote: > Add the "nosegneg" fake capabilty to the vsyscall page notes. This is > used by the runtime linker to select a glibc version which then > disables negative-offset accesses to t

[patch 17/26] Xen-paravirt_ops: Add nosegneg capability to the vsyscall page notes

2007-03-01 Thread Jeremy Fitzhardinge
Add the "nosegneg" fake capabilty to the vsyscall page notes. This is used by the runtime linker to select a glibc version which then disables negative-offset accesses to the thread-local segment via %gs. These accesses require emulation in Xen (because segments are truncated to protect the hypervi

[patch 17/26] Xen-paravirt_ops: Add nosegneg capability to the vsyscall page notes

2007-02-27 Thread Jeremy Fitzhardinge
Add the "nosegneg" fake capabilty to the vsyscall page notes. This is used by the runtime linker to select a glibc version which then disables negative-offset accesses to the thread-local segment via %gs. These accesses require emulation in Xen (because segments are truncated to protect the hypervi