lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Sat, 01 Feb 2014 16:26:11 -0800 From: "H. Peter Anvin" <hpa@...or.com> To: Andy Lutomirski <luto@...capital.net>, Stefani Seibold <stefani@...bold.net> CC: Greg KH <gregkh@...uxfoundation.org>, "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>, X86 ML <x86@...nel.org>, Thomas Gleixner <tglx@...utronix.de>, Ingo Molnar <mingo@...hat.com>, Andi Kleen <ak@...ux.intel.com>, Andrea Arcangeli <aarcange@...hat.com>, John Stultz <john.stultz@...aro.org>, Pavel Emelyanov <xemul@...allels.com>, Cyrill Gorcunov <gorcunov@...nvz.org>, andriy.shevchenko@...ux.intel.com, Martin.Runge@...de-schwarz.com, Andreas.Brief@...de-schwarz.com Subject: Re: [PATCH 3/4] Add 32 bit VDSO time support for 32 bit kernel On 02/01/2014 03:59 PM, Andy Lutomirski wrote: > > If it is, indeed, okay to use non-fixed maps on 32-bit, it might > also be okay on 64-bit. If so, it could be useful to implement that, > which would remove a bit of a wart and allow PR_SET_TSC to work > usefully for 64-bit userspace. (This would remove the need for the > VVAR macro and would allow shorter rip-relative address modes.) > We can't really move the 64-bit legacy vsyscall area, though, as it is an ABI. It can be disabled with vsyscall=none, but Linus has vehemently vetoed removing them. > (Note that those fixmaps are a security problem on native 32-bit if > NX is not available. We may not care.) Not only on native 32 bit... although the amount of 64-bit hardware without NX is quite small, the same is true for anywhere near modern 32-bit hardware. >> >> -#define VDSO_HIGH_BASE 0xffffe000U /* CONFIG_COMPAT_VDSO address */ >> +#define VDSO_HIGH_BASE 0xffffc000U /* CONFIG_COMPAT_VDSO address */ > > This is odd. Can you explain it? > He needs 3 pages instead of 1 after his changes. -hpa -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@...r.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists