Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge branch 'x86-urgent-for-linus' of git://tesla.tglx.de/git/linux-2.6-tip

* 'x86-urgent-for-linus' of git://tesla.tglx.de/git/linux-2.6-tip:
x86: Default to vsyscall=native for now

+5 -4
+4 -3
Documentation/kernel-parameters.txt
··· 2706 2706 functions are at fixed addresses, they make nice 2707 2707 targets for exploits that can control RIP. 2708 2708 2709 - emulate [default] Vsyscalls turn into traps and are 2710 - emulated reasonably safely. 2709 + emulate Vsyscalls turn into traps and are emulated 2710 + reasonably safely. 2711 2711 2712 - native Vsyscalls are native syscall instructions. 2712 + native [default] Vsyscalls are native syscall 2713 + instructions. 2713 2714 This is a little bit faster than trapping 2714 2715 and makes a few dynamic recompilers work 2715 2716 better than they would in emulation mode.
+1 -1
arch/x86/kernel/vsyscall_64.c
··· 56 56 .lock = __SEQLOCK_UNLOCKED(__vsyscall_gtod_data.lock), 57 57 }; 58 58 59 - static enum { EMULATE, NATIVE, NONE } vsyscall_mode = EMULATE; 59 + static enum { EMULATE, NATIVE, NONE } vsyscall_mode = NATIVE; 60 60 61 61 static int __init vsyscall_setup(char *str) 62 62 {