projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a5d25e0
)
selftests/x86/fsgsbase: Fix a comment in the ptrace_write_gsbase test
author
Andy Lutomirski
<luto@kernel.org>
Fri, 26 Jun 2020 17:24:27 +0000
(10:24 -0700)
committer
Thomas Gleixner
<tglx@linutronix.de>
Wed, 1 Jul 2020 13:27:20 +0000
(15:27 +0200)
A comment was unclear. Fix it.
Fixes:
5e7ec8578fa3
("selftests/x86/fsgsbase: Test ptracer-induced GS base write with FSGSBASE")
Signed-off-by: Andy Lutomirski <luto@kernel.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link:
https://lkml.kernel.org/r/901034a91a40169ec84f1f699ea86704dff762e4.1593192140.git.luto@kernel.org
tools/testing/selftests/x86/fsgsbase.c
patch
|
blob
|
history
diff --git
a/tools/testing/selftests/x86/fsgsbase.c
b/tools/testing/selftests/x86/fsgsbase.c
index
9a43498
..
f47495d
100644
(file)
--- a/
tools/testing/selftests/x86/fsgsbase.c
+++ b/
tools/testing/selftests/x86/fsgsbase.c
@@
-498,7
+498,8
@@
static void test_ptrace_write_gsbase(void)
* base would zero the selector. On newer kernels,
* this behavior has changed -- poking the base
* changes only the base and, if FSGSBASE is not
- * available, this may not effect.
+ * available, this may have no effect once the tracee
+ * is resumed.
*/
if (gs == 0)
printf("\tNote: this is expected behavior on older kernels.\n");