linux-doc.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] x86/vsyscall: Fix documentation to reflect the default mode
@ 2023-01-11 19:32 Sohil Mehta
  2023-01-12 21:32 ` Kees Cook
  2023-01-19 21:24 ` Jonathan Corbet
  0 siblings, 2 replies; 4+ messages in thread
From: Sohil Mehta @ 2023-01-11 19:32 UTC (permalink / raw)
  To: Jonathan Corbet, linux-doc
  Cc: Sohil Mehta, Andy Lutomirski, Thomas Gleixner, Kees Cook,
	Tony Luck, Ravi V Shankar, linux-kernel, x86

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

Fixes: 625b7b7f79c6 ("x86/vsyscall: Change the default vsyscall mode to xonly")
Cc: Andy Lutomirski <luto@kernel.org>
Signed-off-by: Sohil Mehta <sohil.mehta@intel.com>
Reviewed-by: Tony Luck <tony.luck@intel.com>
---
Do documentation fixes typically get backported to stable? I haven't included
a stable cc assuming they do not.

 Documentation/admin-guide/kernel-parameters.txt | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/Documentation/admin-guide/kernel-parameters.txt b/Documentation/admin-guide/kernel-parameters.txt
index 6cfa6e3996cf..87f0b645922c 100644
--- a/Documentation/admin-guide/kernel-parameters.txt
+++ b/Documentation/admin-guide/kernel-parameters.txt
@@ -6756,11 +6756,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.
 
-- 
2.34.1


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH] x86/vsyscall: Fix documentation to reflect the default mode
  2023-01-11 19:32 [PATCH] x86/vsyscall: Fix documentation to reflect the default mode Sohil Mehta
@ 2023-01-12 21:32 ` Kees Cook
  2023-01-19 21:24 ` Jonathan Corbet
  1 sibling, 0 replies; 4+ messages in thread
From: Kees Cook @ 2023-01-12 21:32 UTC (permalink / raw)
  To: Sohil Mehta
  Cc: Jonathan Corbet, linux-doc, Andy Lutomirski, Thomas Gleixner,
	Tony Luck, Ravi V Shankar, linux-kernel, x86

On Wed, Jan 11, 2023 at 07:32:11PM +0000, Sohil Mehta wrote:
> The default vsyscall mode has been updated from emulate to xonly for a
> while. Update the kernel-parameters doc to reflect that.
> 
> Fixes: 625b7b7f79c6 ("x86/vsyscall: Change the default vsyscall mode to xonly")
> Cc: Andy Lutomirski <luto@kernel.org>
> Signed-off-by: Sohil Mehta <sohil.mehta@intel.com>

Reviewed-by: Kees Cook <keescook@chromium.org>

-- 
Kees Cook

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] x86/vsyscall: Fix documentation to reflect the default mode
  2023-01-11 19:32 [PATCH] x86/vsyscall: Fix documentation to reflect the default mode Sohil Mehta
  2023-01-12 21:32 ` Kees Cook
@ 2023-01-19 21:24 ` Jonathan Corbet
  2023-01-21 16:58   ` Andy Lutomirski
  1 sibling, 1 reply; 4+ messages in thread
From: Jonathan Corbet @ 2023-01-19 21:24 UTC (permalink / raw)
  To: Sohil Mehta, linux-doc
  Cc: Sohil Mehta, Andy Lutomirski, Thomas Gleixner, Kees Cook,
	Tony Luck, Ravi V Shankar, linux-kernel, x86

Sohil Mehta <sohil.mehta@intel.com> writes:

> The default vsyscall mode has been updated from emulate to xonly for a
> while. Update the kernel-parameters doc to reflect that.
>
> Fixes: 625b7b7f79c6 ("x86/vsyscall: Change the default vsyscall mode to xonly")
> Cc: Andy Lutomirski <luto@kernel.org>
> Signed-off-by: Sohil Mehta <sohil.mehta@intel.com>
> Reviewed-by: Tony Luck <tony.luck@intel.com>
> ---
> Do documentation fixes typically get backported to stable? I haven't included
> a stable cc assuming they do not.
>
>  Documentation/admin-guide/kernel-parameters.txt | 8 ++++----
>  1 file changed, 4 insertions(+), 4 deletions(-)

Applied, thanks.

jon

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] x86/vsyscall: Fix documentation to reflect the default mode
  2023-01-19 21:24 ` Jonathan Corbet
@ 2023-01-21 16:58   ` Andy Lutomirski
  0 siblings, 0 replies; 4+ messages in thread
From: Andy Lutomirski @ 2023-01-21 16:58 UTC (permalink / raw)
  To: Jonathan Corbet, Sohil Mehta, linux-doc
  Cc: Thomas Gleixner, Kees Cook, Tony Luck, Shankar, Ravi V,
	Linux Kernel Mailing List, the arch/x86 maintainers



On Thu, Jan 19, 2023, at 1:24 PM, Jonathan Corbet wrote:
> Sohil Mehta <sohil.mehta@intel.com> writes:
>
>> The default vsyscall mode has been updated from emulate to xonly for a
>> while. Update the kernel-parameters doc to reflect that.
>>
>> Fixes: 625b7b7f79c6 ("x86/vsyscall: Change the default vsyscall mode to xonly")
>> Cc: Andy Lutomirski <luto@kernel.org>
>> Signed-off-by: Sohil Mehta <sohil.mehta@intel.com>
>> Reviewed-by: Tony Luck <tony.luck@intel.com>
>> ---
>> Do documentation fixes typically get backported to stable? I haven't included
>> a stable cc assuming they do not.
>>
>>  Documentation/admin-guide/kernel-parameters.txt | 8 ++++----
>>  1 file changed, 4 insertions(+), 4 deletions(-)
>
> Applied, thanks.

Belated ack!  Sohil, thanks for the fix.

>
> jon

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2023-01-21 16:58 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-01-11 19:32 [PATCH] x86/vsyscall: Fix documentation to reflect the default mode Sohil Mehta
2023-01-12 21:32 ` Kees Cook
2023-01-19 21:24 ` Jonathan Corbet
2023-01-21 16:58   ` Andy Lutomirski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).