Commit 17f0669c authored by Sohil Mehta's avatar Sohil Mehta Committed by Jonathan Corbet
Browse files

x86/vsyscall: Fix documentation to reflect the default mode



The default vsyscall mode has been updated from emulate to xonly for a
while. Update the kernel-parameters doc to reflect that.

Fixes: 625b7b7f ("x86/vsyscall: Change the default vsyscall mode to xonly")
Cc: Andy Lutomirski <luto@kernel.org>
Signed-off-by: default avatarSohil Mehta <sohil.mehta@intel.com>
Reviewed-by: default avatarTony Luck <tony.luck@intel.com>
Reviewed-by: default avatarKees Cook <keescook@chromium.org>
Link: https://lore.kernel.org/r/20230111193211.1987047-1-sohil.mehta@intel.com


Signed-off-by: default avatarJonathan Corbet <corbet@lwn.net>
parent cac02cbb
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -6766,11 +6766,11 @@
			functions are at fixed addresses, they make nice
			targets for exploits that can control RIP.

			emulate     [default] Vsyscalls turn into traps and are
			            emulated reasonably safely.  The vsyscall
				    page is readable.
			emulate     Vsyscalls turn into traps and are emulated
			            reasonably safely.  The vsyscall page is
				    readable.

			xonly       Vsyscalls turn into traps and are
			xonly       [default] Vsyscalls turn into traps and are
			            emulated reasonably safely.  The vsyscall
				    page is not readable.