mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-19 09:04:57 +00:00
[PATCH] paravirt: Disable vdso by default when CONFIG_PARAVIRT is enabled
They don't work together and this way even glibc still works. Signed-off-by: Andi Kleen <ak@suse.de>
This commit is contained in:
parent
4f205fd45a
commit
3bbf547254
1 changed files with 4 additions and 0 deletions
|
@ -27,7 +27,11 @@
|
|||
* Should the kernel map a VDSO page into processes and pass its
|
||||
* address down to glibc upon exec()?
|
||||
*/
|
||||
#ifdef CONFIG_PARAVIRT
|
||||
unsigned int __read_mostly vdso_enabled = 0;
|
||||
#else
|
||||
unsigned int __read_mostly vdso_enabled = 1;
|
||||
#endif
|
||||
|
||||
EXPORT_SYMBOL_GPL(vdso_enabled);
|
||||
|
||||
|
|
Loading…
Reference in a new issue